Get world scale more faster
[platform/core/uifw/dali-core.git] / dali / public-api / events / gesture-detector.h
index c9ca84f..5ddcc4d 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_GESTURE_DETECTOR_H__
-#define __DALI_GESTURE_DETECTOR_H__
+#ifndef DALI_GESTURE_DETECTOR_H
+#define DALI_GESTURE_DETECTOR_H
 
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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/public-api/common/vector-wrapper.h>
 #include <dali/public-api/object/handle.h>
 
 namespace Dali
@@ -48,10 +47,9 @@ class Actor;
  * @SINCE_1_0.0
  * @see Gesture
  */
-class DALI_IMPORT_API GestureDetector : public Handle
+class DALI_CORE_API GestureDetector : public Handle
 {
 public: // Creation & Destruction
-
   /**
    * @brief Creates an uninitialized GestureDetector.
    *
@@ -71,7 +69,7 @@ public: // Creation & Destruction
    * @param[in] handle Handle to an object
    * @return Handle to a GestureDetector object or an uninitialized handle
    */
-  static GestureDetector DownCast( BaseHandle handle );
+  static GestureDetector DownCast(BaseHandle handle);
 
   /**
    * @brief Dali::GestureDetector is intended as a base class.
@@ -98,8 +96,24 @@ public: // Creation & Destruction
    */
   GestureDetector& operator=(const GestureDetector& rhs);
 
-public: // Actor related
+  /**
+   * @brief This move constructor is required for (smart) pointer semantics.
+   *
+   * @SINCE_2_2.4
+   * @param[in] handle A reference to the moved handle
+   */
+  GestureDetector(GestureDetector&& handle);
+
+  /**
+   * @brief This move assignment operator is required for (smart) pointer semantics.
+   *
+   * @SINCE_2_2.4
+   * @param[in] rhs A reference to the moved handle
+   * @return A reference to this
+   */
+  GestureDetector& operator=(GestureDetector&& rhs);
 
+public: // Actor related
   /**
    * @brief Attaches an actor to the gesture.
    *
@@ -151,7 +165,6 @@ public: // Actor related
   Actor GetAttachedActor(size_t index) const;
 
 protected:
-
   /// @cond internal
   /**
    * @brief This constructor is used by New() methods of derived classes (For example, PanGestureDetector::New()).
@@ -168,4 +181,4 @@ protected:
  */
 } // namespace Dali
 
-#endif // __DALI_GESTURE_DETECTOR_H__
+#endif // DALI_GESTURE_DETECTOR_H