Fix compile error. Non initialized variable.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / buttons / check-box-button-impl.h
index aa60871..aa99068 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H__
-#define __DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H__
+#ifndef DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H
+#define DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H
 
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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.
@@ -50,7 +50,7 @@ public:
    */
   static Dali::Toolkit::CheckBoxButton New();
 
-protected:
+private:
 
   /**
    * Construct a new CheckBoxButton.
@@ -62,6 +62,14 @@ protected:
    */
   virtual ~CheckBoxButton();
 
+private: // From Button
+
+
+  /**
+   * @copydoc Toolkit::Internal::Button::OnInitialize
+   */
+  virtual void OnInitialize();
+
 private:
 
   // Undefined
@@ -69,6 +77,7 @@ private:
 
   // Undefined
   CheckBoxButton& operator=( const CheckBoxButton& );
+
 };
 
 } // namespace Internal
@@ -97,4 +106,4 @@ inline const Toolkit::Internal::CheckBoxButton& GetImplementation( const Toolkit
 
 } // namespace Dali
 
-#endif // __DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H__
+#endif // DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H