2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://floralicense.org/license/
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file HmProgressPanel.h
19 * @brief Keeps declaration of ProgressPanel Implementation
22 #ifndef _HM_HOME_PROGRESS_PANEL_H_
23 #define _HM_HOME_PROGRESS_PANEL_H_
28 * @class ProgressPanel
29 * @brief Keeps the required functions and objects in showing a wait cursor
32 : public Tizen::Ui::Controls::Panel
38 * The object is not fully constructed after this constructor is called.
39 * For full construction, the Construct() method must be called right after calling this constructor
45 * Handles all the deallocations and cleanup tasks reuired for this object
47 virtual ~ProgressPanel(void);
50 * Second phase of Construction
52 result Construct(const Tizen::Graphics::Rectangle& controlRectangle);
55 * Start animating the wait cursor
57 result StartAnimation(void);
60 * Stops the running animations
62 result StopAnimation(void);
66 * The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
68 ProgressPanel(const ProgressPanel&);
71 * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
73 ProgressPanel& operator =(const ProgressPanel&);
76 Tizen::Base::Collection::ArrayList* __pAnimationFrameList; // The list of AnimationFrames
77 Tizen::Ui::Controls::Animation* __pAnimation; // The animation control
80 #endif //_HM_HOME_PROGRESS_PANEL_H_