Users can implement focus movement by SetCustomAlgorithm.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / visual-factory / transition-data.h
index 23dfb2c..1e0643c 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_TOOLKIT_TRANSITION_DATA_H__
-#define __DALI_TOOLKIT_TRANSITION_DATA_H__
+#ifndef DALI_TOOLKIT_TRANSITION_DATA_H
+#define DALI_TOOLKIT_TRANSITION_DATA_H
 
 /*
- * Copyright (c) 2016 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.
  */
 
 // EXTERNAL INCLUDES
-#include <dali/public-api/object/base-handle.h>
 #include <dali/public-api/animation/alpha-function.h>
+#include <dali/public-api/object/base-handle.h>
 #include <dali/public-api/object/property-array.h>
 #include <dali/public-api/object/property-map.h>
 
+// INTERNAL INCLUDES
+#include <dali-toolkit/public-api/dali-toolkit-common.h>
+
 namespace Dali
 {
-
 namespace Toolkit
 {
-
 namespace Internal
 {
 class TransitionData;
@@ -67,7 +68,7 @@ class TransitionData;
  * ]
  *
  */
-class DALI_IMPORT_API TransitionData : public BaseHandle
+class DALI_TOOLKIT_API TransitionData : public BaseHandle
 {
 public:
   /**
@@ -91,7 +92,7 @@ public:
    * @param[in] transition The transition data to store (a single animator)
    * @return A handle to an initialized data.
    */
-  static TransitionData New( const Property::Map& transition );
+  static TransitionData New(const Property::Map& transition);
 
   /**
    * @brief Creates a TransitionData object
@@ -100,7 +101,7 @@ public:
    * @param[in] transition The transition data to store (an array of maps of animators)
    * @return A handle to an initialized data.
    */
-  static TransitionData New( const Property::Array& transition );
+  static TransitionData New(const Property::Array& transition);
 
   /**
    * @brief Downcast to a TransitionData handle
@@ -110,7 +111,7 @@ public:
    * @param[in] handle Handle to an object
    * @return TransitionData handle or an uninitialized handle.
    */
-  static TransitionData DownCast( BaseHandle handle );
+  static TransitionData DownCast(BaseHandle handle);
 
   /**
    * @brief Copy constructor
@@ -118,7 +119,7 @@ public:
    * @SINCE_1_2.12
    * @param[in] handle Handle to an object
    */
-  TransitionData( const TransitionData& handle );
+  TransitionData(const TransitionData& handle);
 
   /**
    * @brief Assignment Operator
@@ -127,7 +128,7 @@ public:
    * @param[in] handle Handle to an object
    * @return A reference to this object.
    */
-  TransitionData& operator=( const TransitionData& handle );
+  TransitionData& operator=(const TransitionData& handle);
 
   /**
    * @brief returns the count of the individual property transitions
@@ -143,14 +144,13 @@ public:
    * @param[in] index The index of the animator ( Must be less than Count() )
    * @return A property map representing the animator
    */
-  Property::Map GetAnimatorAt( size_t index );
+  Property::Map GetAnimatorAt(size_t index);
 
 public: // Not intended for application developers
-
-  explicit DALI_INTERNAL TransitionData( Internal::TransitionData *impl );
+  explicit DALI_INTERNAL TransitionData(Internal::TransitionData* impl);
 };
 
 } // namespace Toolkit
 } // namespace Dali
 
-#endif // __DALI_TOOLKIT_TRANSITION_DATA_H__
+#endif // DALI_TOOLKIT_TRANSITION_DATA_H