Initialize Tizen 2.3
[apps/home/b2-clocksetting.git] / include / setting-info.h
1 /*
2  * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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
19 /*
20  * setting-info.h
21  *
22  *  Created on: Oct 8, 2013
23  *      Author: min-hoyun
24  */
25
26 #ifndef SETTING_INFO_H_
27 #define SETTING_INFO_H_
28
29 #include <Elementary.h>
30 #include <libintl.h>
31 #include <string.h>
32 #include <system_info.h>
33
34 #define ITEM_COUNT                      2
35 #define ABOUT_ITEM_COUNT        5
36
37 struct _info_menu_item {
38         char *name;
39         int type;
40         void (*func)(void *data, Evas_Object *obj, void *event_info);
41 };
42
43 typedef struct Info_Item_Data
44 {
45         int index;
46         Elm_Object_Item *item;
47         Evas_Object *check;
48 } Info_Item_Data;
49
50 int get_enable_USB_debugging();
51 char * _gl_info_title_get(void *data, Evas_Object *obj, const char *part);
52 Evas_Object * _gl_info_check_get(void *data, Evas_Object *obj, const char *part);
53 Evas_Object* _create_info_list(void* data);
54 void _gl_usb_debug_cb(void *data, Evas_Object *obj, void *event_info);
55 void _usb_debug_chk_changed_cb(void *data, Evas_Object *obj, void *event_info);
56
57
58 void _gl_info_cb(void *data, Evas_Object *obj, void *event_info);
59 void _info_open_src_gl_cb(void *data, Evas_Object *obj, void *event_info);
60 void _info_safety_inform_gl_cb(void *data, Evas_Object *obj, void *event_info);
61 void _info_gl_sel_cb(void *data, Evas_Object *obj, void *event_info);
62
63 Eina_Bool _clear_info_cb(void *data, Elm_Object_Item *it);
64
65
66 #endif /* SETTING_INFO_H_ */