2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 * @file FUiCtrl_ProgressImpl.h
19 * @brief This is the header file for the _ProgressImpl class.
21 * This header file contains the declarations of the %_ProgressImp class.
23 #ifndef _FUI_CTRL_INTERNAL_PROGRESS_IMPL_H_
24 #define _FUI_CTRL_INTERNAL_PROGRESS_IMPL_H_
26 #include "FUi_ControlImpl.h"
27 #include "FUiCtrl_Progress.h"
29 namespace Tizen { namespace Graphics
34 namespace Tizen { namespace Ui { namespace Controls
40 : public Tizen::Ui::_ControlImpl
43 virtual ~_ProgressImpl(void);
46 result SetValue(int value);
47 result SetRange(int minValue, int maxValue);
48 int GetValue(void) const;
49 result GetRange(int& minValue, int& maxValue) const;
50 int GetPercentComplete(void) const;
51 result SetBarColor(const Tizen::Graphics::Color& color);
52 Tizen::Graphics::Color GetBarColor(void) const;
54 virtual const char* GetPublicClassName(void) const;
55 virtual const Progress& GetPublic(void) const;
56 virtual Progress& GetPublic(void);
57 virtual const _Progress& GetCore(void) const;
58 virtual _Progress& GetCore(void);
60 static _ProgressImpl* CreateProgressImplN(Progress* pControl, const Tizen::Graphics::Rectangle& bounds);
61 static _ProgressImpl* GetInstance(Progress& progress);
62 static const _ProgressImpl* GetInstance(const Progress& progress);
65 _ProgressImpl(Progress* pPublic, _Progress* pCore);
66 _ProgressImpl(const _ProgressImpl&);
67 _ProgressImpl& operator =(const _ProgressImpl&);
71 }}} // Tizen::Ui::Controls
73 #endif //_FUI_CTRL_INTERNAL_PROGRESS_IMPL_H_