3 * Copyright 2012 Samsung Electronics Co., Ltd
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
9 * http://floralicense.org/license/
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.
19 #ifndef __CALENDAR_UG_H__
20 #define __CALENDAR_UG_H__
22 #include <Elementary.h>
23 #include <ui-gadget-module.h>
25 #define CAL_TEXT_MAX_LEN 1024
26 #define CAL_TEXT_SHORT_LEN 256
36 FIRST_DAY_LOCALE_DEFAULT = -1,
39 FIRST_DAY_SATURDAY = 6,
45 int cnt_checked_total;
51 Evas_Object *progressbar;
61 Evas_Object *naviframe;
65 enum cld_ug_mode mode;
69 Elm_Object_Item *item_time_zone_on_off;
70 Elm_Object_Item *item_time_zone_guide;
71 Elm_Object_Item *item_time_zone;
72 Elm_Object_Item *item_first_day_of_week;
73 Evas_Object *rgd_first_day;
78 cld_first_day_type first_day_of_week;
80 int is_display_weeknumber;
86 Eina_List *my_phone_calendar_list;
87 Eina_List *checked_calendar_list;
91 cal_progress_info *p_info;
97 void cal_list_ug_create(const char *title, struct ug_data *ugd);
99 // TODO: get full path from caller
100 #define VFILE_PATH "/opt/usr/media/Others"
102 #endif /* __CALENDAR_UG_H__ */