projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added move semantics to TouchEvent & fixed some other internal event classes
[platform/core/uifw/dali-core.git]
/
dali
/
public-api
/
events
/
touch-event.h
diff --git
a/dali/public-api/events/touch-event.h
b/dali/public-api/events/touch-event.h
index
64ae48f
..
59ee042
100644
(file)
--- a/
dali/public-api/events/touch-event.h
+++ b/
dali/public-api/events/touch-event.h
@@
-82,6
+82,14
@@
public:
TouchEvent( const TouchEvent& other );
/**
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
* @brief Destructor.
*
* @SINCE_1_9.26
@@
-99,6
+107,15
@@
public:
*/
TouchEvent& operator=( const TouchEvent& other );
*/
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
/**
// Getters
/**