X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fanimation%2Fanimation-devel.h;h=b7b60191fc3d8d45edc2285c9ef1a966a912938b;hb=697c8c3bd6a503c926f75f2cfa669a49b4b8583b;hp=f003075fd13a57321639d2771d8f2159f317ccc0;hpb=78d1f36cbeea7166826d2104d0a0bcd26889793c;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/devel-api/animation/animation-devel.h b/dali/devel-api/animation/animation-devel.h index f003075..b7b6019 100644 --- a/dali/devel-api/animation/animation-devel.h +++ b/dali/devel-api/animation/animation-devel.h @@ -2,7 +2,7 @@ #define DALI_ANIMATION_DEVEL_H /* - * Copyright (c) 2018 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. @@ -47,10 +47,24 @@ DALI_CORE_API float GetProgressNotification( Animation animation ); * @brief Connects to this signal to be notified when an Animation's animations have reached set progress. * * @return A signal object to connect with - * */ DALI_CORE_API Animation::AnimationSignalType& ProgressReachedSignal( Animation animation ); +/** + * @brief Retrive the number of Animations. + * + * @return The number of Animations. + */ +DALI_CORE_API uint32_t GetAnimationCount(); + +/** + * @brief Retrieve an Animation by index. + * + * @param[in] index The index of the Animation to retrieve + * @return The animation for the given index or empty handle + */ +DALI_CORE_API Animation GetAnimationAt( uint32_t index ); + } // namespace DevelAnimation } // namespace Dali