-#ifndef __DALI_TOOLKIT_TOGGLE_BUTTON_H__
-#define __DALI_TOOLKIT_TOGGLE_BUTTON_H__
+#ifndef DALI_TOOLKIT_TOGGLE_BUTTON_H
+#define DALI_TOOLKIT_TOGGLE_BUTTON_H
/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
namespace Dali
{
-
namespace Toolkit
{
-
// Forward declarations
namespace Internal DALI_INTERNAL
// Forward declarations
class ToggleButton;
-}
+} // namespace DALI_INTERNAL
/**
* @addtogroup dali_toolkit_controls_buttons
* @{
*
* See Button for more detail on signals and modifying states via properties.
*/
-class DALI_IMPORT_API ToggleButton : public Button
+class DALI_TOOLKIT_API ToggleButton : public Button
{
public:
/**
*/
enum PropertyRange
{
- PROPERTY_START_INDEX = Button::PROPERTY_END_INDEX + 1, ///< Toggle button start index
- PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000 ///< Reserving 1000 property indices
+ PROPERTY_START_INDEX = Button::PROPERTY_END_INDEX + 1, ///< Toggle button start index
+ PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000 ///< Reserving 1000 property indices
};
/**
};
public:
-
/**
* @brief Create an uninitialized ToggleButton; this can be initialized with ToggleButton::New().
*
* @brief Copy constructor.
* @param[in] toggleButton Handle to an object
*/
- ToggleButton( const ToggleButton& toggleButton );
+ ToggleButton(const ToggleButton& toggleButton);
/**
* @brief Assignment operator.
* @param[in] toggleButton Handle to an object
* @return A reference to this
*/
- ToggleButton& operator=( const ToggleButton& toggleButton );
+ ToggleButton& operator=(const ToggleButton& toggleButton);
/**
* @brief Destructor
* @param[in] handle Handle to an object
* @return handle to a ToggleButton or an uninitialized handle
*/
- static ToggleButton DownCast( BaseHandle handle );
+ static ToggleButton DownCast(BaseHandle handle);
public: // Not intended for application developers
-
/// @cond internal
/**
* @brief Creates a handle using the Toolkit::Internal implementation.
*
* @param[in] implementation The Control implementation.
*/
- DALI_INTERNAL ToggleButton( Internal::ToggleButton& implementation );
+ DALI_INTERNAL ToggleButton(Internal::ToggleButton& implementation);
/**
* @brief Allows the creation of this Control from an Internal::CustomActor pointer.
*
* @param[in] internal A pointer to the internal CustomActor.
*/
- DALI_INTERNAL ToggleButton( Dali::Internal::CustomActor* internal );
+ DALI_INTERNAL ToggleButton(Dali::Internal::CustomActor* internal);
/// @endcond
};
} // namespace Dali
-#endif // __DALI_TOOLKIT_TOGGLE_BUTTON_H__
+#endif // DALI_TOOLKIT_TOGGLE_BUTTON_H