1c00bfa0af5a4df327006a2a5bcf99a61c045c58
[apps/core/preloaded/calendar.git] / ug / list / ug.h
1 /*
2   *
3   *  Copyright 2012  Samsung Electronics Co., Ltd
4   *
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
8   *
9   *       http://floralicense.org/license/
10   *
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.
16   */
17
18
19 #ifndef __CALENDAR_UG_H__
20 #define __CALENDAR_UG_H__
21
22 #include <ui-gadget-module.h>
23 #include "cld.h"
24
25 struct ug_data {
26         Evas_Object *base;
27         ui_gadget_h ug;
28
29         Evas_Object *naviframe;
30         Evas_Object *cont;
31         Evas_Object *bg;
32
33         char *caller;
34         char *vcs_file;
35
36         Elm_Theme *theme;
37
38         cal_appcontrol_selection_mode selection_mode;
39         cal_appcontrol_item_type item_type;
40         cal_appcontrol_result_type result_type;
41 };
42
43 void cal_list_ug_create(const char *title, struct ug_data *ugd);
44
45 #endif /* __CALENDAR_UG_H__ */