Merge "Make mTargetSizeDirtyFlag true when Animation changes Actor's Size" into devel...
[platform/core/uifw/dali-core.git] / dali / public-api / animation / key-frames.h
index c38778a..0d140b0 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_KEY_FRAMES_H
 
 /*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
@@ -21,8 +21,8 @@
 // INTERNAL INCLUDES
 #include <dali/public-api/animation/alpha-function.h>
 #include <dali/public-api/object/base-handle.h>
-#include <dali/public-api/object/property-value.h>
 #include <dali/public-api/object/property-types.h>
+#include <dali/public-api/object/property-value.h>
 
 namespace Dali
 {
@@ -65,7 +65,7 @@ public:
    * @param[in] handle Handle to an object
    * @return Handle to a KeyFrames object or an uninitialized handle
    */
-  static KeyFrames DownCast( BaseHandle handle );
+  static KeyFrames DownCast(BaseHandle handle);
 
   /**
    * @brief Creates an uninitialized KeyFrame handle.
@@ -102,6 +102,23 @@ public:
   KeyFrames& operator=(const KeyFrames& rhs);
 
   /**
+   * @brief Move constructor.
+   *
+   * @SINCE_1_9.22
+   * @param[in] rhs A reference to the moved handle
+   */
+  KeyFrames(KeyFrames&& rhs);
+
+  /**
+   * @brief Move assignment operator.
+   *
+   * @SINCE_1_9.22
+   * @param[in] rhs A reference to the moved handle
+   * @return A reference to this
+   */
+  KeyFrames& operator=(KeyFrames&& rhs);
+
+  /**
    * @brief Gets the type of the key frame.
    *
    * If no key frames have been added, this returns Property::NONE.
@@ -131,7 +148,6 @@ public:
    */
   void Add(float progress, Property::Value value, AlphaFunction alpha);
 
-
 public: // Not intended for application developers
   /// @cond internal
   /**