tizen 2.3 release
[apps/home/settings.git] / setting-viewtype / include / setting-viewtype.h
1 /*
2  * setting
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
5  *
6  * Contact: MyoungJune Park <mj2004.park@samsung.com>
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21 #ifndef __SETTING_VIEWTYPE_H__
22 #define __SETTING_VIEWTYPE_H__
23
24 #include <string.h>
25 #include <Elementary.h>
26
27 #include <setting-common-draw-widget.h>
28 #include <setting-common-view.h>
29
30 typedef struct _SettingViewTypeUG SettingViewTypeUG;
31
32 /**
33  * Setting ViewType UG context
34  * all UG function has void* as an agument. this is casted back to SettingViewTypeUG
35  * and the functions access app context.
36  */
37 struct _SettingViewTypeUG {
38         ui_gadget_h ug;
39         Evas *evas;
40         Evas_Object *win_main_layout;
41         Evas_Object *win_get;
42
43         Evas_Object *ly_task;
44
45         Evas_Object *chk_task;
46
47         setting_view *view_to_load;
48         Elm_Genlist_Item_Class itc_1text_1icon_2;
49 };
50
51 extern setting_view setting_view_task_switcher_viewtype;
52
53 #endif                          /* __SETTING_VIEWTYPE_H__ */