Revert "(Vector) Add GetLayerInfo method"
[platform/core/uifw/dali-adaptor.git] / dali / internal / vector-animation / common / vector-animation-renderer-impl.h
index 0c54961..1bc7bac 100755 (executable)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_VECTOR_ANIMATION_RENDERER_IMPL_H
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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.
@@ -40,7 +40,7 @@ using VectorAnimationRendererPtr = IntrusivePtr< VectorAnimationRenderer >;
 /**
  * Dali internal VectorAnimationRenderer.
  */
-class VectorAnimationRenderer : public BaseObject
+class VectorAnimationRenderer : public BaseObject, public ConnectionTracker
 {
 public:
 
@@ -54,27 +54,42 @@ public:
   /**
    * @brief Initializes member data.
    */
-  void Initialize( const std::string& url, Dali::Renderer renderer, uint32_t width, uint32_t height );
+  void Initialize( const std::string& url );
 
   /**
-   * @copydoc Dali::VectorAnimationRenderer::StartRender()
+   * @copydoc Dali::VectorAnimationRenderer::SetRenderer()
    */
-  bool StartRender();
+  void SetRenderer( Dali::Renderer renderer );
 
   /**
-   * @copydoc Dali::VectorAnimationRenderer::StopRender()
+   * @copydoc Dali::VectorAnimationRenderer::SetSize()
    */
-  void StopRender();
+  void SetSize( uint32_t width, uint32_t height );
 
   /**
    * @copydoc Dali::VectorAnimationRenderer::Render()
    */
-  void Render( uint32_t frameNumber );
+  bool Render( uint32_t frameNumber );
 
   /**
    * @copydoc Dali::VectorAnimationRenderer::GetTotalFrameNumber()
    */
-  uint32_t GetTotalFrameNumber();
+  uint32_t GetTotalFrameNumber() const;
+
+  /**
+   * @copydoc Dali::VectorAnimationRenderer::GetFrameRate()
+   */
+  float GetFrameRate() const;
+
+  /**
+   * @copydoc Dali::VectorAnimationRenderer::GetDefaultSize()
+   */
+  void GetDefaultSize( uint32_t& width, uint32_t& height ) const;
+
+  /**
+   * @copydoc Dali::VectorAnimationRenderer::UploadCompletedSignal()
+   */
+  Dali::VectorAnimationRenderer::UploadCompletedSignalType& UploadCompletedSignal();
 
 private: