(AutomatedTests) Fix build break
[platform/core/uifw/dali-core.git] / dali / public-api / common / light.h
index 8f1e30b..b69c493 100644 (file)
@@ -28,7 +28,7 @@
 /**
  * The top level DALi namespace
  */
-namespace Dali DALI_IMPORT_API
+namespace Dali
 {
 
 namespace Internal DALI_INTERNAL
@@ -52,7 +52,7 @@ enum LightType
 /**
  * @brief Encapsulates the data describing a light source.
  */
-class Light : public BaseHandle
+class DALI_IMPORT_API Light : public BaseHandle
 {
 public:
   /**
@@ -83,14 +83,26 @@ public:
   }
 
   /**
-   * @brief Virtual destructor.
+   * @brief Destructor
+   *
+   * This is non-virtual since derived Handle types must not contain data or virtual methods.
+   */
+  ~Light();
+
+  /**
+   * @brief This copy constructor is required for (smart) pointer semantics.
+   *
+   * @param [in] handle A reference to the copied handle
    */
-  virtual ~Light();
+  Light(const Light& handle);
 
   /**
-   * @copydoc Dali::BaseHandle::operator=
+   * @brief This assignment operator is required for (smart) pointer semantics.
+   *
+   * @param [in] rhs  A reference to the copied handle
+   * @return A reference to this
    */
-  using BaseHandle::operator=;
+  Light& operator=(const Light& rhs);
 
   /**
    * @brief Set the light's name.