tizen 2.3 release
[apps/home/b2-clocksetting.git] / include / setting-info.h
1 /*
2  * Copyright (c) 2010 Samsung Electronics, Inc.
3  * All rights reserved.
4  *
5  * This software is a confidential and proprietary information
6  * of Samsung Electronics, Inc. ("Confidential Information").  You
7  * shall not disclose such Confidential Information and shall use
8  * it only in accordance with the terms of the license agreement
9  * you entered into with Samsung Electronics.
10  */
11
12
13 /*
14  * setting-info.h
15  *
16  *  Created on: Oct 8, 2013
17  *      Author: min-hoyun
18  */
19
20 #ifndef SETTING_INFO_H_
21 #define SETTING_INFO_H_
22
23 #include <Elementary.h>
24 #include <libintl.h>
25 #include <string.h>
26 #include <system_info_internal.h>
27
28 #define ITEM_COUNT                      2
29 #define ABOUT_ITEM_COUNT        5
30
31 struct _info_menu_item {
32         char *name;
33         int type;
34         void (*func)(void *data, Evas_Object *obj, void *event_info);
35 };
36
37 typedef struct Info_Item_Data
38 {
39         int index;
40         Elm_Object_Item *item;
41         Evas_Object *check;
42 } Info_Item_Data;
43
44 int get_enable_USB_debugging();
45 char * _gl_info_title_get(void *data, Evas_Object *obj, const char *part);
46 Evas_Object * _gl_info_check_get(void *data, Evas_Object *obj, const char *part);
47 Evas_Object* _create_info_list(void* data);
48 void _gl_usb_debug_cb(void *data, Evas_Object *obj, void *event_info);
49 void _usb_debug_chk_changed_cb(void *data, Evas_Object *obj, void *event_info);
50
51
52 void _gl_info_cb(void *data, Evas_Object *obj, void *event_info);
53 void _info_open_src_gl_cb(void *data, Evas_Object *obj, void *event_info);
54 void _info_safety_inform_gl_cb(void *data, Evas_Object *obj, void *event_info);
55 void _info_gl_sel_cb(void *data, Evas_Object *obj, void *event_info);
56
57 Eina_Bool _clear_info_cb(void *data, Elm_Object_Item *it);
58
59
60 #endif /* SETTING_INFO_H_ */