-#ifndef __DALI_KEY_FRAMES_H__
-#define __DALI_KEY_FRAMES_H__
+#ifndef DALI_KEY_FRAMES_H
+#define DALI_KEY_FRAMES_H
/*
- * Copyright (c) 2015 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
{
* different Property::Value type will result in a run time assert.
* @SINCE_1_0.0
*/
-class DALI_IMPORT_API KeyFrames : public BaseHandle
+class DALI_CORE_API KeyFrames : public BaseHandle
{
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.
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
/**
*/
} // namespace Dali
-#endif // __DALI_KEY_FRAMES_H__
+#endif // DALI_KEY_FRAMES_H