8ff89917f676c1ee654b1b501ac74b84487ea5e4
[apps/core/preloaded/calendar.git] / ug / list / ug.h
1 /*
2
3 Copyright (c) 2000-2012 Samsung Electronics Co., Ltd All Rights Reserved
4
5 This file is part of org.tizen.efl-calendar
6 Written by Taeho Kang <taeho84.kang@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
26 #ifndef __CALENDAR_UG_H__
27 #define __CALENDAR_UG_H__
28
29 #include <ui-gadget-module.h>
30 #include "cld.h"
31
32 enum cld_ug_mode {
33         _MODE_UNKNOWN = 0,
34         _MODE_GET_EVT,
35         _MODE_GET_VCS,
36         _MODE_VIEW_VCS,
37 };
38
39 struct ug_data {
40         Evas_Object *base;
41         struct ui_gadget *ug;
42
43         Evas_Object *nv;
44         Evas_Object *cont;
45         Evas_Object *bg;
46
47         enum cld_ug_mode mode;
48         char *caller;
49         char *vcs_file;
50
51         int is_hour24;
52
53         Elm_Theme *theme;
54 };
55
56 void cal_list_ug_create(const char *title, struct ug_data *ugd);
57
58 #endif /* __CALENDAR_UG_H__ */