X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fanimated-image%2Fimage-cache.h;h=adb6e580524736c4bf44ed0497de8642b45e6102;hp=7354992ce7d7b9db088d01a6c2f59141599ee05a;hb=8c45458b64211285df3df591dfcb628126a1bc0e;hpb=f1577bfbe8f0f6e1df4267f0808b9e6c93810dff diff --git a/dali-toolkit/internal/visuals/animated-image/image-cache.h b/dali-toolkit/internal/visuals/animated-image/image-cache.h index 7354992..adb6e58 100644 --- a/dali-toolkit/internal/visuals/animated-image/image-cache.h +++ b/dali-toolkit/internal/visuals/animated-image/image-cache.h @@ -81,7 +81,6 @@ public: /** * Get the next frame. If it's not ready, this will trigger the * sending of FrameReady() when the image becomes ready. - * This will trigger the loading of the next batch. */ virtual TextureSet NextFrame() = 0; @@ -91,6 +90,22 @@ public: */ virtual TextureSet Frame( uint32_t frameIndex ) = 0; + /** + * Get the interval of Nth frame. + */ + virtual uint32_t GetFrameInterval( uint32_t frameIndex ) const = 0; + + /** + * Get the current rendered frame index. + * If there isn't any loaded frame, returns -1. + */ + virtual int32_t GetCurrentFrameIndex() const = 0; + + /** + * Get total frame count of the animated image file. + */ + virtual int32_t GetTotalFrameCount() const = 0; + private: /**