Removed OnButton virtual functions and simplified RadioButton logic
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / buttons / check-box-button-impl.h
index aa60871..daee597 100644 (file)
@@ -2,7 +2,7 @@
 #define __DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H__
 
 /*
 #define __DALI_TOOLKIT_INTERNAL_CHECK_BOX_BUTTON_H__
 
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2016 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.
  *
  * 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();
 
    */
   static Dali::Toolkit::CheckBoxButton New();
 
-protected:
+private:
 
   /**
    * Construct a new CheckBoxButton.
 
   /**
    * Construct a new CheckBoxButton.
@@ -62,6 +62,14 @@ protected:
    */
   virtual ~CheckBoxButton();
 
    */
   virtual ~CheckBoxButton();
 
+private: // From Button
+
+
+  /**
+   * @copydoc Toolkit::Internal::Button::OnInitialize
+   */
+  virtual void OnInitialize();
+
 private:
 
   // Undefined
 private:
 
   // Undefined
@@ -69,6 +77,7 @@ private:
 
   // Undefined
   CheckBoxButton& operator=( const CheckBoxButton& );
 
   // Undefined
   CheckBoxButton& operator=( const CheckBoxButton& );
+
 };
 
 } // namespace Internal
 };
 
 } // namespace Internal