X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fpopup%2Fconfirmation-popup.h;h=43bdae14d90c6e642d69ebab0f5a8355e772d447;hp=4cd620b50e72a584b9aa262ce7a2a4dfbe8be50c;hb=1d82abb8a1a514ce0af63004706135fb7883f89b;hpb=f3da11c2818c6d17706fbb2417f21b602b3190f5 diff --git a/dali-toolkit/devel-api/controls/popup/confirmation-popup.h b/dali-toolkit/devel-api/controls/popup/confirmation-popup.h index 4cd620b..43bdae1 100644 --- a/dali-toolkit/devel-api/controls/popup/confirmation-popup.h +++ b/dali-toolkit/devel-api/controls/popup/confirmation-popup.h @@ -1,8 +1,8 @@ -#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. @@ -23,10 +23,8 @@ namespace Dali { - namespace Toolkit { - // Forward declarations namespace Internal DALI_INTERNAL { @@ -48,17 +46,16 @@ class ConfirmationPopup; * | 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 }; /** @@ -78,8 +75,8 @@ public: */ 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 }; /** @@ -92,12 +89,12 @@ public: /** * @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. @@ -122,27 +119,26 @@ public: * @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