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
/
scrollable
/
scrollable.h
diff --git
a/dali-toolkit/public-api/controls/scrollable/scrollable.h
b/dali-toolkit/public-api/controls/scrollable/scrollable.h
index
38050ae
..
c3f235c
100644
(file)
--- a/
dali-toolkit/public-api/controls/scrollable/scrollable.h
+++ b/
dali-toolkit/public-api/controls/scrollable/scrollable.h
@@
-2,7
+2,7
@@
#define DALI_TOOLKIT_SCROLLABLE_H
/*
#define DALI_TOOLKIT_SCROLLABLE_H
/*
- * Copyright (c) 20
19
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
20
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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-124,6
+124,14
@@
public:
Scrollable( const Scrollable& handle );
/**
Scrollable( const Scrollable& handle );
/**
+ * @brief Move constructor
+ * @SINCE_1_9.23
+ *
+ * @param[in] rhs A reference to the moved handle
+ */
+ Scrollable( Scrollable&& rhs );
+
+ /**
* @brief Assignment operator.
*
* Changes this handle to point to another real object.
* @brief Assignment operator.
*
* Changes this handle to point to another real object.
@@
-134,6
+142,15
@@
public:
Scrollable& operator=( const Scrollable& handle );
/**
Scrollable& operator=( const Scrollable& handle );
/**
+ * @brief Move assignment
+ * @SINCE_1_9.23
+ *
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this
+ */
+ Scrollable& operator=( Scrollable&& 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.