Merge "Remove obsolete and non functional SizeChanged signal from actor" into tizen
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / shader-effects / blind-effect.h
index 10fa857..ede89ca 100644 (file)
@@ -1,26 +1,27 @@
 #ifndef __DALI_TOOLKIT_SHADER_EFFECT_BLIND_H__
 #define __DALI_TOOLKIT_SHADER_EFFECT_BLIND_H__
 
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Flora License, Version 1.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://floralicense.org/license/
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an AS IS BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
+/*
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
 
-// INTERNAL INCLUDES
-#include <dali/dali.h>
+// EXTERNAL INCLUDES
+#include <dali/public-api/shader-effects/shader-effect.h>
 
-namespace Dali DALI_IMPORT_API
+namespace Dali
 {
 
 namespace Toolkit
@@ -29,7 +30,7 @@ namespace Toolkit
 /**
  * BlindEffect is a custom shader effect to achieve blind effects in Image actors
  */
-class BlindEffect : public ShaderEffect
+class DALI_IMPORT_API BlindEffect : public ShaderEffect
 {
 public:
 
@@ -40,9 +41,11 @@ public:
   BlindEffect();
 
   /**
-   * Virtual destructor.
+   * @brief Destructor
+   *
+   * This is non-virtual since derived Handle types must not contain data or virtual methods.
    */
-  virtual ~BlindEffect();
+  ~BlindEffect();
 
   /**
    * Create an initialized ~BlindEffect.
@@ -65,7 +68,7 @@ public:
   const std::string& GetStepPropertyName() const;
 
 private: // Not intended for application developers
-  BlindEffect(ShaderEffect handle);
+  DALI_INTERNAL BlindEffect(ShaderEffect handle);
 };
 
 } // namespace Toolkit