Get world scale more faster
[platform/core/uifw/dali-core.git] / dali / public-api / events / gesture-detector.h
index b866818..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) 2018 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.
@@ -50,7 +50,6 @@ class Actor;
 class DALI_CORE_API GestureDetector : public Handle
 {
 public: // Creation & Destruction
-
   /**
    * @brief Creates an uninitialized GestureDetector.
    *
@@ -70,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.
@@ -97,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.
    *
@@ -150,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()).
@@ -167,4 +181,4 @@ protected:
  */
 } // namespace Dali
 
-#endif // __DALI_GESTURE_DETECTOR_H__
+#endif // DALI_GESTURE_DETECTOR_H