tizen 2.3.1 release
[apps/home/b2-clocksetting.git] / include / setting-info.h
1 /*
2  *  Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  *  Licensed under the Flora License, Version 1.0 (the License);
5  *  you may not use this file except in compliance with the License.
6  *  You may obtain a copy of the License at
7  *
8  *      http://floralicense.org/license/
9  *
10  *  Unless required by applicable law or agreed to in writing, software
11  *  distributed under the License is distributed on an AS IS BASIS,
12  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *  See the License for the specific language governing permissions and
14  *  limitations under the License.
15  *
16  */
17 /*
18  * setting-info.h
19  *
20  *  Created on: Oct 8, 2013
21  *      Author: min-hoyun
22  */
23
24 #ifndef SETTING_INFO_H_
25 #define SETTING_INFO_H_
26
27 #include <Elementary.h>
28 #include <libintl.h>
29 #include <string.h>
30 #include <system_info_internal.h>
31
32 #define ITEM_COUNT                      2
33 #define ABOUT_ITEM_COUNT        5
34
35 struct _info_menu_item {
36         char *name;
37         int type;
38         void (*func)(void *data, Evas_Object *obj, void *event_info);
39 };
40
41 typedef struct Info_Item_Data {
42         int index;
43         Elm_Object_Item *item;
44         Evas_Object *check;
45 } Info_Item_Data;
46
47 int get_enable_USB_debugging();
48 char *_gl_info_title_get(void *data, Evas_Object *obj, const char *part);
49 Evas_Object *_gl_info_check_get(void *data, Evas_Object *obj, const char *part);
50 Evas_Object *_create_info_list(void *data);
51 void _gl_usb_debug_cb(void *data, Evas_Object *obj, void *event_info);
52 void _usb_debug_chk_changed_cb(void *data, Evas_Object *obj, void *event_info);
53
54
55 void _gl_info_cb(void *data, Evas_Object *obj, void *event_info);
56 void _info_open_src_gl_cb(void *data, Evas_Object *obj, void *event_info);
57 void _info_safety_inform_gl_cb(void *data, Evas_Object *obj, void *event_info);
58 void _info_gl_sel_cb(void *data, Evas_Object *obj, void *event_info);
59
60 Eina_Bool _clear_info_cb(void *data, Elm_Object_Item *it);
61
62
63 #endif /* SETTING_INFO_H_ */