-#ifndef __DALI_TOOLKIT_CONFIRMATION_POPUP_H__
-#define __DALI_TOOLKIT_CONFIRMATION_POPUP_H__
+#ifndef DALI_TOOLKIT_CONFIRMATION_POPUP_H
+#define DALI_TOOLKIT_CONFIRMATION_POPUP_H
/*
- * Copyright (c) 2015 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
{
* Please see the programming guide for a detailed description of the ConfirmationPopup including examples.
*
* Signals (these are dynamically created upon connect).
- * | %Signal Name | Actor name to connect to | Property to set signal type (eg clicked) |
- * |-----------------------|--------------------------|------------------------------------------|
- * | control-signal-ok | control-ok | connect-signal-ok-selected |
- * | control-signal-cancel | control-cancel | connect-signal-cancel-selected |
+ * | %Signal Name | Actor name to connect to | Property to set signal type (eg clicked) |
+ * |---------------------|--------------------------|------------------------------------------|
+ * | controlSignalOk | controlOk | connectSignalOkSelected |
+ * | controlSignalCancel | controlCancel | connectSignalCancelSelected |
*/
-class DALI_IMPORT_API ConfirmationPopup : public Popup
+class DALI_TOOLKIT_API ConfirmationPopup : public Popup
{
public:
-
/**
* @brief The start and end property ranges for this control.
*/
enum PropertyRange
{
PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1 + DEFAULT_PROPERTY_MAX_COUNT_PER_DERIVATION + 1,
- PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000 ///< Reserve property indices
+ PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000 ///< Reserve property indices
};
/**
{
enum
{
- CONNECT_SIGNAL_OK_SELECTED = PROPERTY_START_INDEX, ///< name "connect-signal-ok-selected", type std::string
- CONNECT_SIGNAL_CANCEL_SELECTED ///< name "connect-signal-cancel-selected", type std::string
+ CONNECT_SIGNAL_OK_SELECTED = PROPERTY_START_INDEX, ///< name "connectSignalOkSelected", type std::string
+ CONNECT_SIGNAL_CANCEL_SELECTED ///< name "connectSignalCancelSelected", type std::string
};
};
*/
enum ControlIndex
{
- CONTROL_OK = 0, ///< Index of control 1
- CONTROL_CANCEL, ///< Index of control 2
+ CONTROL_OK = 0, ///< Index of control 1
+ CONTROL_CANCEL, ///< Index of control 2
};
/**
/**
* @brief Copy constructor.
*/
- ConfirmationPopup( const ConfirmationPopup& confirmationPopup );
+ ConfirmationPopup(const ConfirmationPopup& confirmationPopup);
/**
* @brief Assignment operator.
*/
- ConfirmationPopup& operator=( const ConfirmationPopup& confirmationPopup );
+ ConfirmationPopup& operator=(const ConfirmationPopup& confirmationPopup);
/**
* @brief Destructor.
* @param[in] handle Handle to an object
* @return handle to a ConfirmationPopup or an uninitialized handle
*/
- static ConfirmationPopup DownCast( BaseHandle handle );
+ static ConfirmationPopup DownCast(BaseHandle handle);
public: // Not intended for application developers
-
/**
* @brief Creates a handle using the Toolkit::Internal implementation.
*
* @param[in] implementation The Control implementation.
*/
- DALI_INTERNAL ConfirmationPopup( Internal::ConfirmationPopup& implementation );
+ DALI_INTERNAL ConfirmationPopup(Internal::ConfirmationPopup& implementation);
/**
* @brief Allows the creation of this Control from an Internal::CustomActor pointer.
*
* @param[in] internal A pointer to the internal CustomActor.
*/
- DALI_INTERNAL ConfirmationPopup( Dali::Internal::CustomActor* internal );
+ DALI_INTERNAL ConfirmationPopup(Dali::Internal::CustomActor* internal);
};
} // namespace Toolkit
} // namespace Dali
-#endif // __DALI_TOOLKIT_CONFIRMATION_POPUP_H__
+#endif // DALI_TOOLKIT_CONFIRMATION_POPUP_H