Stop exporting Internal symbols
[platform/core/uifw/dali-toolkit.git] / optional / dali-toolkit / public-api / shader-effects / motion-stretch-effect.h
index 3747786..dddec68 100644 (file)
  */
 
 // EXTERNAL INCLUDES
+#include <dali/public-api/actors/renderable-actor.h>
+#include <dali/public-api/shader-effects/shader-effect.h>
 
-// INTERNAL INCLUDES
-#include <dali/dali.h>
-
-namespace Dali DALI_IMPORT_API
+namespace Dali
 {
 
 namespace Toolkit
@@ -44,7 +43,7 @@ namespace Toolkit
  * Actor.SetShaderEffect( MotionStretchEffect );
  *
  */
-class MotionStretchEffect : public ShaderEffect
+class DALI_IMPORT_API MotionStretchEffect : public ShaderEffect
 {
 
 public:
@@ -56,9 +55,11 @@ public:
   MotionStretchEffect();
 
   /**
-   * Virtual destructor.
+   * @brief Destructor
+   *
+   * This is non-virtual since derived Handle types must not contain data or virtual methods.
    */
-  virtual ~MotionStretchEffect();
+  ~MotionStretchEffect();
 
   /**
    * Create an initialized MotionStretchEffect
@@ -68,9 +69,10 @@ public:
 
   /**
    * Create a  MotionStretchEffect and attach it to the specified actor
+   * @param renderable actor to apply the effect to
    * @return A handle to a newly allocated Dali resource.
    */
-  static MotionStretchEffect Apply( Actor handle );
+  static MotionStretchEffect Apply( RenderableActor renderable );
 
   /**
    * Set geometry stretch factor property. This scales the amount the geometry
@@ -155,7 +157,7 @@ public:
 
 private:
   // Not intended for application developers
-  MotionStretchEffect( ShaderEffect handle );
+  DALI_INTERNAL MotionStretchEffect( ShaderEffect handle );
 };
 
 }