Return Animation information
[platform/core/uifw/dali-core.git] / dali / internal / event / animation / animation-playlist.h
index c27bdb0..c31c11d 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_ANIMATION_PLAYLIST_H__
-#define __DALI_INTERNAL_ANIMATION_PLAYLIST_H__
+#ifndef DALI_INTERNAL_ANIMATION_PLAYLIST_H
+#define DALI_INTERNAL_ANIMATION_PLAYLIST_H
 
 /*
- * Copyright (c) 2014 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.
@@ -81,6 +81,21 @@ public:
    */
   void NotifyProgressReached( const SceneGraph::Animation* sceneGraphAnimation );
 
+  /**
+   * @brief Retrive the number of Animations.
+   *
+   * @return The number of Animations.
+   */
+  uint32_t GetAnimationCount();
+
+  /**
+   * @brief Retrieve an Animation by index.
+   *
+   * @param[in] index The index of the Animation to retrieve
+   * @return The Dali::Animation for the given index or empty handle
+   */
+  Dali::Animation GetAnimationAt( uint32_t index );
+
 private:
 
   /**
@@ -122,5 +137,5 @@ inline MessageBase* NotifyProgressReachedMessage( CompleteNotificationInterface&
 
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_NOTIFICATION_MANAGER_H__
+#endif // DALI_INTERNAL_ANIMATION_PLAYLIST_H