projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add move semantics to common and base Toolkit classes
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
public-api
/
controls
/
text-controls
/
text-field.h
diff --git
a/dali-toolkit/public-api/controls/text-controls/text-field.h
b/dali-toolkit/public-api/controls/text-controls/text-field.h
index
c5d257d
..
b705039
100644
(file)
--- a/
dali-toolkit/public-api/controls/text-controls/text-field.h
+++ b/
dali-toolkit/public-api/controls/text-controls/text-field.h
@@
-539,6
+539,14
@@
public:
TextField( const TextField& handle );
/**
TextField( const TextField& handle );
/**
+ * @brief Move constructor
+ * @SINCE_1_9.23
+ *
+ * @param[in] rhs A reference to the moved handle
+ */
+ TextField( TextField&& rhs );
+
+ /**
* @brief Assignment operator.
*
* @SINCE_1_0.0
* @brief Assignment operator.
*
* @SINCE_1_0.0
@@
-548,6
+556,15
@@
public:
TextField& operator=( const TextField& handle );
/**
TextField& operator=( const TextField& handle );
/**
+ * @brief Move assignment
+ * @SINCE_1_9.23
+ *
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this
+ */
+ TextField& operator=( TextField&& rhs );
+
+ /**
* @brief Destructor.
*
* This is non-virtual since derived Handle types must not contain data or virtual methods.
* @brief Destructor.
*
* This is non-virtual since derived Handle types must not contain data or virtual methods.