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 619a571..daee597 100644 (file)
@@ -2,7 +2,7 @@
 #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.
  *
  */
 
-// INTERNAL INCLUDES
+// EXTERNAL INCLUDES
 #include <dali/public-api/common/dali-vector.h>
 
+// INTERNAL INCLUDES
 #include <dali-toolkit/public-api/controls/buttons/check-box-button.h>
 
 #include "button-impl.h"
@@ -49,7 +50,7 @@ public:
    */
   static Dali::Toolkit::CheckBoxButton New();
 
-protected:
+private:
 
   /**
    * Construct a new CheckBoxButton.
@@ -61,6 +62,14 @@ protected:
    */
   virtual ~CheckBoxButton();
 
+private: // From Button
+
+
+  /**
+   * @copydoc Toolkit::Internal::Button::OnInitialize
+   */
+  virtual void OnInitialize();
+
 private:
 
   // Undefined
@@ -68,6 +77,7 @@ private:
 
   // Undefined
   CheckBoxButton& operator=( const CheckBoxButton& );
+
 };
 
 } // namespace Internal