Add post processor
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / visuals / animated-vector-image / vector-animation-task.h
index 702a718..03b8a89 100644 (file)
@@ -108,9 +108,8 @@ public:
    * @brief Constructor.
    *
    * @param[in] factoryCache A pointer pointing to the VisualFactoryCache object
-   * @param[in] url The url of the vector animation file
    */
-  VectorAnimationTask(VisualFactoryCache& factoryCache, const std::string& url);
+  VectorAnimationTask(VisualFactoryCache& factoryCache);
 
   /**
    * @brief Destructor.
@@ -123,6 +122,14 @@ public:
   void Finalize();
 
   /**
+   * @brief Loads the animation file.
+   *
+   * @param[in] url The url of the vector animation file
+   * @return True if loading success, false otherwise.
+   */
+  bool Load(const std::string& url);
+
+  /**
    * @brief Sets the renderer used to display the result image.
    *
    * @param[in] renderer The renderer used to display the result image
@@ -198,11 +205,6 @@ public:
 
 private:
   /**
-   * @brief Initializes the vector renderer.
-   */
-  void Initialize();
-
-  /**
    * @brief Play the vector animation.
    */
   void PlayAnimation();