#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.
// 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
{
* @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.
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.
*/
void Add(float progress, Property::Value value, AlphaFunction alpha);
-
public: // Not intended for application developers
/// @cond internal
/**