[Tizen] Add FeedTouch api to GestureDetector.
[platform/core/uifw/dali-core.git] / dali / public-api / events / gesture-detector.h
index 432d9bc..e94959d 100644 (file)
@@ -20,6 +20,7 @@
 
 // INTERNAL INCLUDES
 #include <dali/public-api/object/handle.h>
+#include <dali/public-api/events/touch-event.h>
 
 namespace Dali
 {
@@ -164,6 +165,15 @@ public: // Actor related
    */
   Actor GetAttachedActor(size_t index) const;
 
+  /**
+   * @brief The gesture is recognized by sending a Touch event to the actor.
+   *
+   * @param actor The actor receiving touch events
+   * @param touch The thouch event
+   * @return If true , the gesture is being recognized.
+   */
+  bool FeedTouch(Dali::Actor& actor, Dali::TouchEvent& touch);
+
 protected:
   /// @cond internal
   /**