Added move semantics to TouchEvent & fixed some other internal event classes
[platform/core/uifw/dali-core.git] / dali / public-api / events / touch-event.h
index 64ae48f..59ee042 100644 (file)
@@ -82,6 +82,14 @@ public:
   TouchEvent( const TouchEvent& other );
 
   /**
+   * @brief Move constructor.
+   *
+   * @SINCE_1_9.28
+   * @param[in] other The TouchEvent to move
+   */
+  TouchEvent( TouchEvent&& other );
+
+  /**
    * @brief Destructor.
    *
    * @SINCE_1_9.26
@@ -99,6 +107,15 @@ public:
    */
   TouchEvent& operator=( const TouchEvent& other );
 
+  /**
+   * @brief Move assignment Operator.
+   *
+   * @SINCE_1_9.28
+   * @param[in] other The TouchEvent to move
+   * @return A reference to this
+   */
+  TouchEvent& operator=( TouchEvent&& other );
+
   // Getters
 
   /**