3 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
9 * http://floralicense.org/license/
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.
17 #ifndef __SETTING_CONNECTIVITY_H__
18 #define __SETTING_CONNECTIVITY_H__
21 #include <Elementary.h>
23 #include <glib-object.h>
27 #include <setting-common-draw-widget.h>
28 #include <setting-common-view.h>
30 #include <runtime_info.h>
38 enum usb_connection_status {
44 typedef struct _SettingConnectivityUG SettingConnectivityUG;
47 * Setting Connectivity UG context
48 * all UG function has void* as an agument. this is casted back to SettingConnectivityUG
49 * and the functions access app context.
51 struct _SettingConnectivityUG {
54 /* add more variables here (move your appdata to here) */
56 Evas_Object *win_main_layout;
58 Evas_Object *navi_bar;
65 Setting_GenGroupItem_Data *debug_mode; /* debug mode */
66 Setting_GenGroupItem_Data *cpu_usage; /* Show CPU Usage */
67 Setting_GenGroupItem_Data *gpu_render; /* Force GPU Rendering */
68 Setting_GenGroupItem_Data *bg_processes; /* Limit background processes */
71 setting_view *view_to_load;
73 Elm_Genlist_Item_Class itc_title;
74 Elm_Genlist_Item_Class itc_1text;
75 Elm_Genlist_Item_Class itc_1text_1progress;
76 Elm_Genlist_Item_Class itc_1text_1icon;
77 Elm_Genlist_Item_Class itc_1text_1icon_gen;
78 Elm_Genlist_Item_Class itc_2text_3;
79 Elm_Genlist_Item_Class itc_group_item;
80 Elm_Genlist_Item_Class itc_seperator;
81 Elm_Genlist_Item_Class itc_help_style;
82 Elm_Genlist_Item_Class itc_2text_3_parent;
83 Elm_Genlist_Item_Class itc_1icon_1text_sub;
89 extern setting_view setting_view_connectivity_usb;
90 extern setting_view setting_view_connectivity_usb_help;
92 int check_usb_jack_status();
93 void set_usb_mode_default();
95 #endif /* __SETTING_CONNECTIVITY_H__ */