Resolved issue N_SE-39048
[apps/osp/Calendar.git] / inc / ClGoToDatePopup.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.1 (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
7 //
8 //     http://floralicense.org/license/
9 //
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.
15 //
16
17 /**
18  * @file        ClGoToDatePopup.h
19  * @brief       This is the header file for the GoToDatePopup class.
20  */
21
22 #ifndef _CL_GO_TO_DATE_POPUP_H_
23 #define _CL_GO_TO_DATE_POPUP_H_
24
25 #include <FBase.h>
26 #include <FUi.h>
27
28 class GoToDatePopup
29         : public Tizen::Ui::Controls::Popup
30         , public virtual Tizen::Ui::IActionEventListener
31 {
32 public:
33         GoToDatePopup(void);
34         virtual ~GoToDatePopup(void);
35
36         result Initialize(void);
37         void RequestPopup(const Tizen::Base::DateTime& initialDate, Tizen::Ui::Control* pTarget);
38
39         virtual result OnInitializing(void);
40         virtual result OnTerminating(void);
41
42         virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
43
44 private:
45         Tizen::Base::DateTime __date;
46         Tizen::Ui::Controls::EditDate* __pEditDate;
47         Tizen::Ui::Control* __pTarget;
48 }; // GoToDatePopup
49
50 #endif // _CL_GO_TO_DATE_POPUP_H_