4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
6 * Contact: MyoungJune Park <mj2004.park@samsung.com>
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 #ifndef __SETTING_CONNECTIVITY_H__
22 #define __SETTING_CONNECTIVITY_H__
27 #include <Elementary.h>
29 #include <glib-object.h>
33 #include <setting-common-draw-widget.h>
34 #include <setting-common-view.h>
36 #include <runtime_info.h>
39 #define DEVOPTION_STR_USB_DEBUGGING "IDS_ST_BODY_USB_DEBUGGING"
40 #define DEVOPTION_STR_SHOW_CPU_USAGE "IDS_ST_MBODY_SHOW_CPU_USAGE"
41 #define DEVOPTION_STR_RENDERTING_ENGINE "IDS_ST_BODY_DEFAULT_RENDERING_ENGINE"
42 #define DEVOPTION_STR_LIMIT_BACKGROUND_PRECESS "IDS_ST_BODY_LIMIT_BACKGROUND_PROCESSES"
43 #define DEVOPTION_STR_CRASH_VIEWER "IDS_ST_BODY_CRASH_VIEWER"
51 enum usb_connection_status {
57 typedef struct _SettingConnectivityUG SettingConnectivityUG;
60 * Setting Connectivity UG context
61 * all UG function has void* as an agument. this is casted back to SettingConnectivityUG
62 * and the functions access app context.
64 struct _SettingConnectivityUG {
67 /* add more variables here (move your appdata to here) */
69 Evas_Object *win_main_layout;
71 Evas_Object *navi_bar;
78 Evas_Object *view_layout;
79 Evas_Object *selectioninfo_popup;
81 Setting_GenGroupItem_Data *debug_mode; /* debug mode */
82 Setting_GenGroupItem_Data *cpu_usage; /* Show CPU Usage */
83 Setting_GenGroupItem_Data *gpu_render; /* Force GPU Rendering */
84 Setting_GenGroupItem_Data *bg_processes; /* Limit background processes */
87 setting_view *view_to_load;
89 Elm_Genlist_Item_Class itc_title;
90 Elm_Genlist_Item_Class itc_1text;
91 Elm_Genlist_Item_Class itc_1text_1progress;
92 Elm_Genlist_Item_Class itc_1text_1icon;
93 Elm_Genlist_Item_Class itc_1text_1icon_gen;
94 Elm_Genlist_Item_Class itc_2text_3;
95 Elm_Genlist_Item_Class itc_group_item;
96 Elm_Genlist_Item_Class itc_help_style;
97 Elm_Genlist_Item_Class itc_2text_3_parent;
98 Elm_Genlist_Item_Class itc_1icon_1text_sub;
105 extern setting_view setting_view_connectivity_usb;
106 extern setting_view setting_view_connectivity_usb_help;
108 int check_usb_jack_status();
109 void set_usb_mode_default();
111 #endif /* __SETTING_CONNECTIVITY_H__ */