Revert "[Tizen] (Vector) Remove 'const' from GetLayerInfo method"
[platform/core/uifw/dali-adaptor.git] / dali / internal / vector-animation / common / vector-animation-renderer-impl.h
index a21cf7f..5ede97e 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:
 
@@ -67,24 +67,34 @@ public:
   void SetSize( uint32_t width, uint32_t height );
 
   /**
-   * @copydoc Dali::VectorAnimationRenderer::StartRender()
+   * @copydoc Dali::VectorAnimationRenderer::Render()
    */
-  bool StartRender();
+  bool Render( uint32_t frameNumber );
 
   /**
-   * @copydoc Dali::VectorAnimationRenderer::StopRender()
+   * @copydoc Dali::VectorAnimationRenderer::GetTotalFrameNumber()
    */
-  void StopRender();
+  uint32_t GetTotalFrameNumber() const;
 
   /**
-   * @copydoc Dali::VectorAnimationRenderer::Render()
+   * @copydoc Dali::VectorAnimationRenderer::GetFrameRate()
    */
-  void Render( uint32_t frameNumber );
+  float GetFrameRate() const;
 
   /**
-   * @copydoc Dali::VectorAnimationRenderer::GetTotalFrameNumber()
+   * @copydoc Dali::VectorAnimationRenderer::GetDefaultSize()
+   */
+  void GetDefaultSize( uint32_t& width, uint32_t& height ) const;
+
+  /**
+   * @copydoc Dali::VectorAnimationRenderer::GetLayerInfo()
+   */
+  void GetLayerInfo( Property::Map& map ) const;
+
+  /**
+   * @copydoc Dali::VectorAnimationRenderer::UploadCompletedSignal()
    */
-  uint32_t GetTotalFrameNumber();
+  Dali::VectorAnimationRenderer::UploadCompletedSignalType& UploadCompletedSignal();
 
 private: