Added API flags into the control-wrapper files. 70/99970/7
authorUmar <m.umar@partner.samsung.com>
Thu, 24 Nov 2016 13:54:39 +0000 (13:54 +0000)
committerRichard Huang <r.huang@samsung.com>
Fri, 25 Nov 2016 18:26:15 +0000 (10:26 -0800)
This also fixed the issue of C# demo not working when the native code is compiled in the Release mode.

Change-Id: I1383547b1ede031870533707ec0093dc867cab49

dali-toolkit/devel-api/controls/control-wrapper-impl.h
dali-toolkit/devel-api/controls/control-wrapper.h

index 787fa89..fa9173f 100755 (executable)
@@ -38,7 +38,7 @@ typedef IntrusivePtr< ControlWrapper > ControlWrapperPtr;
 /**
  * @copydoc Toolkit::ControlWrapper
  */
-class ControlWrapper : public Control
+class DALI_IMPORT_API ControlWrapper : public Control
 {
 public:
 
@@ -157,12 +157,13 @@ protected:
 
 private:
 
-  // Undefined.
-  ControlWrapper( const ControlWrapper& );
-
-  // Undefined.
-  ControlWrapper& operator=( const ControlWrapper& rhs );
+  /// @cond internal
+  /// Undefined.
+  DALI_INTERNAL ControlWrapper( const ControlWrapper& );
 
+  /// Undefined.
+  DALI_INTERNAL ControlWrapper& operator=( const ControlWrapper& rhs );
+  /// @endcond
 };
 
 } // namespace Internal
index a9aacc5..a45c4b5 100644 (file)
@@ -95,14 +95,14 @@ public: // Not intended for application developers
    *
    * @param[in]  implementation  The Control implementation.
    */
-  DALI_INTERNAL ControlWrapper( Internal::ControlWrapper& implementation );
+  ControlWrapper( Internal::ControlWrapper& implementation );
 
   /**
    * @brief Allows the creation of this Control from an Internal::CustomActor pointer.
    *
    * @param[in]  internal  A pointer to the internal CustomActor.
    */
-  explicit DALI_INTERNAL ControlWrapper( Dali::Internal::CustomActor* internal );
+  explicit ControlWrapper( Dali::Internal::CustomActor* internal );
 };
 
 } // namespace Toolkit