Moved Gesture::State and -::Type to gesture-enumerations.h.
[platform/core/uifw/dali-core.git] / dali / internal / event / events / gesture-processor.h
index ed430df..7131b2f 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_GESTURE_PROCESSOR_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,7 +19,6 @@
  */
 
 // INTERNAL INCLUDES
-#include <dali/devel-api/events/gesture-devel.h>
 #include <dali/internal/event/events/gesture-detector-impl.h>
 #include <dali/internal/event/events/hit-test-algorithm-impl.h>
 #include <dali/internal/event/events/gesture-recognizer.h>
@@ -65,12 +64,7 @@ protected:
   /**
    * Protected constructor.  Cannot create an instance of GestureProcessor
    */
-  GestureProcessor( DevelGesture::Type type );
-
-  /**
-   * Protected constructor.  Cannot create an instance of GestureProcessor
-   */
-  GestureProcessor( Gesture::Type type );
+  GestureProcessor( GestureType::Value type );
 
   /**
    * Virtual protected destructor.
@@ -196,7 +190,7 @@ protected:  //Data
 
 private: // Data
 
-  DevelGesture::Type mType;            ///< Type of GestureProcessor
+  GestureType::Value mType;            ///< Type of GestureProcessor
   Actor* mCurrentGesturedActor;        ///< The current actor that has been gestured.
   bool   mGesturedActorDisconnected:1; ///< Indicates whether the gestured actor has been disconnected from the scene
 };