Updating license in spec file
[pkgs/u/ug-calendar-picker.git] / src / CalendarPickerView.h
1 /*
2   * Copyright 2012  Samsung Electronics Co., Ltd
3   *
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
7   *
8   *    http://www.tizenopensource.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 #ifndef CALENDAR_PICKER_VIEW_PICKER_VIEW_H_
18 #define CALENDAR_PICKER_VIEW_PICKER_VIEW_H_
19
20 #include <Elementary.h>
21
22 class CalendarPickerView
23 {
24         public:
25                 CalendarPickerView();
26                 ~CalendarPickerView();
27         private:
28                 Evas_Object *parent;
29                 struct ug_data *ugd;
30
31                 Evas_Object* mCalendar;
32                 Evas_Object* mCalendarPickerLayout;
33         public:
34                 Evas_Object* createLayout(Evas_Object *obj, struct ug_data *data, const char* date);
35                 static void dateChangedCallback(void *data, Evas_Object *obj, void *event_info);
36                 static void prevButtonPressedCallback(void *data, Evas_Object *obj, const char *emission, const char *source);
37                 static void nextButtonPressedCallback(void *data, Evas_Object *obj, const char *emission, const char *source);
38                 static void doneButtonPressedCallback(void *data, Evas_Object *obj, const char *emission, const char *source);
39 };
40
41 #endif /* COMBO_BOX_PICKER_VIEW_H_ */