Tizen release 1.0
[pkgs/u/ug-calendar-picker.git] / src / CalendarPickerView.h
1 /*
2
3 Copyright (c) 2000-2012 Samsung Electronics Co., Ltd All Rights Reserved
4
5 This file is part of ug-calendar-picker
6 Written by Eunjoong Jeon <ez.jeon@samsung.com>
7
8 PROPRIETARY/CONFIDENTIAL
9
10 This software is the confidential and proprietary information of
11 SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
12 disclose such Confidential Information and shall use it only in
13 accordance with the terms of the license agreement you entered
14 into with SAMSUNG ELECTRONICS.
15
16 SAMSUNG make no representations or warranties about the suitability
17 of the software, either express or implied, including but not limited
18 to the implied warranties of merchantability, fitness for a particular
19 purpose, or non-infringement. SAMSUNG shall not be liable for any
20 damages suffered by licensee as a result of using, modifying or
21 distributing this software or its derivatives.
22
23 */
24
25 #ifndef CALENDAR_PICKER_VIEW_PICKER_VIEW_H_
26 #define CALENDAR_PICKER_VIEW_PICKER_VIEW_H_
27
28 #include <Elementary.h>
29
30 class CalendarPickerView
31 {
32         public:
33                 CalendarPickerView();
34                 ~CalendarPickerView();
35         private:
36                 Evas_Object *parent;
37                 struct ug_data *ugd;
38
39                 Evas_Object* mCalendar;
40                 Evas_Object* mCalendarPickerLayout;
41         public:
42                 Evas_Object* createLayout(Evas_Object *obj, struct ug_data *data, const char* date);
43                 static void dateChangedCallback(void *data, Evas_Object *obj, void *event_info);
44                 static void prevButtonPressedCallback(void *data, Evas_Object *obj, const char *emission, const char *source);
45                 static void nextButtonPressedCallback(void *data, Evas_Object *obj, const char *emission, const char *source);
46                 static void doneButtonPressedCallback(void *data, Evas_Object *obj, const char *emission, const char *source);
47 };
48
49 #endif /* COMBO_BOX_PICKER_VIEW_H_ */