#include <string>
// INTERNAL INCLUDES
-#include <dali/dali.h>
#include <dali-toolkit/public-api/controls/alignment/alignment.h>
-namespace Dali DALI_IMPORT_API
+namespace Dali
{
namespace Toolkit
* is not forbidden, it adds controls on the left group with a size of 10% of the total tool bar size.
* Dali::Actor::Remove() method does nothing.
*/
-class ToolBar : public Control
+class DALI_IMPORT_API ToolBar : public Control
{
public:
static const Toolkit::Alignment::Padding DEFAULT_PADDING; ///< Default padding space between controls. By default all values are set to 0.
ToolBar& operator=( const ToolBar& handle );
/**
- * virtual Destructor.
+ * @brief Destructor
+ *
+ * This is non-virtual since derived Handle types must not contain data or virtual methods.
*/
- virtual ~ToolBar();
+ ~ToolBar();
/**
* Create an initialized ToolBar.
* Creates a handle using the Toolkit::Internal implementation.
* @param[in] implementation The Control implementation.
*/
- ToolBar( Internal::ToolBar& implementation );
+ DALI_INTERNAL ToolBar( Internal::ToolBar& implementation );
/**
* Allows the creation of this Control from an Internal::CustomActor pointer.
* @param[in] internal A pointer to the internal CustomActor.
*/
- ToolBar( Dali::Internal::CustomActor* internal );
+ explicit DALI_INTERNAL ToolBar( Dali::Internal::CustomActor* internal );
};
} // namespace Toolkit