Moved Gesture::State and -::Type to gesture-enumerations.h.
[platform/core/uifw/dali-core.git] / dali / internal / event / events / gesture-event.h
index cb4dd77..ef7982f 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_EVENT_GESTURE_EVENT_H
 
 /*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -19,9 +19,8 @@
  */
 
 // INTERNAL INCLUDES
-#include <dali/public-api/events/gesture.h>
-#include <dali/devel-api/events/gesture-devel.h>
 #include <dali/integration-api/events/event.h>
+#include <dali/internal/event/events/gesture-impl.h>
 
 namespace Dali
 {
@@ -47,12 +46,12 @@ struct GestureEvent
   /**
    * Gesture Type.
    */
-  DevelGesture::Type gestureType;
+  GestureType::Value gestureType;
 
   /**
    * The state of the gesture.
    */
-  Gesture::State state;
+  GestureState state;
 
   /**
    * The time the gesture took place.
@@ -66,12 +65,7 @@ protected:  // Constructors only to be used by derived structures.
    * @param[in] gesture       The type of gesture event.
    * @param[in] gestureState  The state of the gesture event.
    */
-  GestureEvent( DevelGesture::Type gesture, Gesture::State gestureState);
-
-  /**
-   * @copydoc GestureEvent( DevelGesture::Type, Gesture::State )
-   */
-  GestureEvent( Gesture::Type gesture, Gesture::State gestureState );
+  GestureEvent( GestureType::Value gesture, GestureState gestureState);
 };
 
 } // namespace Internal