Tizen 2.0 Release
[apps/home/settings.git] / setting-viewtype / include / setting-viewtype.h
1 /*
2  * setting
3  * Copyright (c) 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 #ifndef __SETTING_VIEWTYPE_H__
18 #define __SETTING_VIEWTYPE_H__
19
20 #include <string.h>
21 #include <Elementary.h>
22
23 #include <setting-common-draw-widget.h>
24 #include <setting-common-view.h>
25
26 typedef struct _SettingViewTypeUG SettingViewTypeUG;
27
28 /**
29  * Setting ViewType UG context
30  * all UG function has void* as an agument. this is casted back to SettingViewTypeUG 
31  * and the functions access app context.
32  */
33 struct _SettingViewTypeUG {
34         ui_gadget_h ug;
35         Evas *evas;
36         Evas_Object *win_main_layout;
37         Evas_Object *win_get;
38
39         Evas_Object *ly_task;
40
41         Evas_Object *chk_task;
42
43         setting_view *view_to_load;
44         Elm_Genlist_Item_Class itc_1text_1icon_2;
45         Elm_Genlist_Item_Class itc_seperator;
46 };
47
48 extern setting_view setting_view_task_switcher_viewtype;
49
50 #endif                          /* __SETTING_VIEWTYPE_H__ */