X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fprogress-bar%2Fprogress-bar.h;h=b466d2de77a4b7d96edc1eeaacdc94101d6e9064;hb=71c03dad71835226d820f790dbc53f5c538ec65c;hp=4d45740c877b3acae59e93eb6619ec53ba9d9f51;hpb=ce9ca5f372bb0b1880bcec297c4b0482c54145d9;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/controls/progress-bar/progress-bar.h b/dali-toolkit/public-api/controls/progress-bar/progress-bar.h index 4d45740..b466d2d 100644 --- a/dali-toolkit/public-api/controls/progress-bar/progress-bar.h +++ b/dali-toolkit/public-api/controls/progress-bar/progress-bar.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_PROGRESS_BAR_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. @@ -23,10 +23,8 @@ namespace Dali { - namespace Toolkit { - namespace Internal DALI_INTERNAL { class ProgressBar; @@ -47,10 +45,9 @@ class ProgressBar; * @SINCE_1_2.60 */ -class DALI_IMPORT_API ProgressBar : public Control +class DALI_TOOLKIT_API ProgressBar : public Control { public: - // Properties /** @@ -60,15 +57,19 @@ public: enum PropertyRange { PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1, ///< Start Index. @SINCE_1_2.60 - PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000 ///< Reserve property indices. @SINCE_1_2.60 + PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000 ///< Reserve property indices. @SINCE_1_2.60 }; /** - * @brief An enumeration of properties belonging to the ProgressBar class. + * @brief Enumeration of properties belonging to the ProgressBar class. * @SINCE_1_2.60 */ struct Property { + /** + * @brief Enumeration for the instance of properties belonging to the ProgressBar class. + * @SINCE_1_2.60 + */ enum { /** @@ -152,9 +153,8 @@ public: }; public: - /** - * @brief Creates the ProgressBar control. + * @brief Creates the ProgressBar control. It creates a horizontal linear shape of progress bar. * @SINCE_1_2.60 * @return A handle to the ProgressBar control */ @@ -171,16 +171,36 @@ public: * * Creates another handle that points to the same real object. * @SINCE_1_2.60 + * @param[in] handle Handle to an object + */ + ProgressBar(const ProgressBar& handle); + + /** + * @brief Move constructor + * @SINCE_1_9.23 + * + * @param[in] rhs A reference to the moved handle */ - ProgressBar( const ProgressBar& handle ); + ProgressBar(ProgressBar&& rhs); /** * @brief Assignment operator. * * Changes this handle to point to another real object. * @SINCE_1_2.60 + * @param[in] handle Handle to an object + * @return A reference to this + */ + ProgressBar& operator=(const ProgressBar& handle); + + /** + * @brief Move assignment + * @SINCE_1_9.23 + * + * @param[in] rhs A reference to the moved handle + * @return A reference to this */ - ProgressBar& operator=( const ProgressBar& handle ); + ProgressBar& operator=(ProgressBar&& rhs); /** * @brief Destructor. @@ -199,15 +219,14 @@ public: * @param[in] handle Handle to an object * @return handle to a ProgressBar or an uninitialized handle */ - static ProgressBar DownCast( BaseHandle handle ); - -public: // Signals + static ProgressBar DownCast(BaseHandle handle); +public: // Signals /** * @brief Value changed signal type. * @SINCE_1_2.60 */ - typedef Signal< void ( ProgressBar, float, float ) > ValueChangedSignalType; + typedef Signal ValueChangedSignalType; /** * @brief Signal emitted when the ProgressBar value changes. @@ -222,7 +241,6 @@ public: // Signals ValueChangedSignalType& ValueChangedSignal(); public: // Not intended for application developers - /// @cond internal /** * @brief Creates a handle using the Toolkit::Internal implementation. @@ -234,7 +252,7 @@ public: // Not intended for application developers * @brief Allows the creation of this Control from an Internal::CustomActor pointer. * @param[in] internal A pointer to the internal CustomActor */ - explicit DALI_INTERNAL ProgressBar( Dali::Internal::CustomActor* internal ); + explicit DALI_INTERNAL ProgressBar(Dali::Internal::CustomActor* internal); /// @endcond };