Stop exporting Internal symbols
[platform/core/uifw/dali-toolkit.git] / optional / dali-toolkit / public-api / controls / shadow-view / shadow-view.h
index 7bd2cf9..1c15ff4 100644 (file)
  */
 
 // EXTERNAL INCLUDES
+#include <dali/public-api/actors/image-actor.h>
 
 // INTERNAL INCLUDES
 #include <dali-toolkit/public-api/controls/control.h>
 
-namespace Dali DALI_IMPORT_API
+namespace Dali
 {
 
 namespace Toolkit
@@ -101,7 +102,7 @@ class ShadowView;
  *  shadowView.Deactivate();
  *  @endcode
  */
-class ShadowView : public Control
+class DALI_IMPORT_API ShadowView : public Control
 {
 public:
 
@@ -122,9 +123,11 @@ public:
   ShadowView& operator=(const ShadowView& view);
 
   /**
-   * Virtual destructor.
+   * @brief Destructor
+   *
+   * This is non-virtual since derived Handle types must not contain data or virtual methods.
    */
-  virtual ~ShadowView();
+  ~ShadowView();
 
   /**
    * Downcast an Object handle to ShadowView. If handle points to a ShadowView the
@@ -243,13 +246,13 @@ public:
    * Creates a handle using the Toolkit::Internal implementation.
    * @param[in]  implementation  The UI Control implementation.
    */
-  ShadowView( Internal::ShadowView& implementation );
+  DALI_INTERNAL ShadowView( Internal::ShadowView& implementation );
 
   /**
    * Allows the creation of this UI Control from an Internal::CustomActor pointer.
    * @param[in]  internal  A pointer to the internal CustomActor.
    */
-  ShadowView( Dali::Internal::CustomActor* internal );
+  explicit DALI_INTERNAL ShadowView( Dali::Internal::CustomActor* internal );
 };
 
 } // namespace Toolkit