Moved Gesture::State and -::Type to gesture-enumerations.h.
[platform/core/uifw/dali-core.git] / dali / internal / event / events / long-press-gesture / long-press-gesture-recognizer.h
index 66369e3..5480ca6 100644 (file)
@@ -42,8 +42,8 @@ class CoreEventInterface;
 
 /**
  * When given a set of touch events, this detector attempts to determine if a long press gesture has taken place.
- * Emits a LongPressGestureEvent (state = Started) when a long press has been detected (Touch held down for more than duration).
- * Emits a further LongPressGestureEvent (state = Finished) when a long press has been completed (Touch Release).
+ * Emits a LongPressGestureEvent (state = GestureState::STARTED) when a long press has been detected (Touch held down for more than duration).
+ * Emits a further LongPressGestureEvent (state = GestureState::FINISHED) when a long press has been completed (Touch Release).
  */
 class LongPressGestureRecognizer : public GestureRecognizer
 {
@@ -96,7 +96,7 @@ private:
    * Emits the long press gesture if all conditions are applicable.
    * @param[in] state The state of this gesture event.
    */
-  void EmitGesture( Gesture::State state );
+  void EmitGesture( GestureState state );
 
 private:
 
@@ -108,10 +108,10 @@ private:
    */
   enum State
   {
-    Clear,      ///< No gesture detected.
-    Touched,    ///< User is touching the screen.
-    Failed,     ///< Gesture has failed.
-    Finished    ///< Gesture has been detected and sent.
+    CLEAR,      ///< No gesture detected.
+    TOUCHED,    ///< User is touching the screen.
+    FAILED,     ///< Gesture has failed.
+    FINISHED    ///< Gesture has been detected and sent.
   };
 
   State mState; ///< The current state of the detector.