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
/
scroll-view
/
scroll-view.h
diff --git
a/dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h
b/dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h
index
4acf64c
..
14b9909
100755
(executable)
--- a/
dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h
+++ b/
dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h
@@
-2,7
+2,7
@@
#define DALI_TOOLKIT_SCROLL_VIEW_H
/*
#define DALI_TOOLKIT_SCROLL_VIEW_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.
@@
-737,6
+737,14
@@
public:
ScrollView( const ScrollView& handle );
/**
ScrollView( const ScrollView& handle );
/**
+ * @brief Move constructor
+ * @SINCE_1_9.23
+ *
+ * @param[in] rhs A reference to the moved handle
+ */
+ ScrollView( ScrollView&& 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.
@@
-747,6
+755,15
@@
public:
ScrollView& operator=( const ScrollView& handle );
/**
ScrollView& operator=( const ScrollView& handle );
/**
+ * @brief Move assignment
+ * @SINCE_1_9.23
+ *
+ * @param[in] rhs A reference to the moved handle
+ * @return A reference to this
+ */
+ ScrollView& operator=( ScrollView&& 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.