2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://www.tizenopensource.org/license
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.
18 #ifndef __SETTING_CONNECTIVITY_H__
19 #define __SETTING_CONNECTIVITY_H__
22 #include <appcore-efl.h>
23 #include <Elementary.h>
25 #include <glib-object.h>
27 #include <ui-gadget.h>
28 #include <ui-gadget-module.h>
34 #include <setting-common-draw-widget.h>
35 #include <setting-common-view.h>
42 enum usb_connection_status {
48 typedef struct _SettingConnectivityUG SettingConnectivityUG;
51 * Setting Connectivity UG context
52 * all UG function has void* as an agument. this is casted back to SettingConnectivityUG
53 * and the functions access app context.
55 struct _SettingConnectivityUG {
58 /* add more variables here (move your appdata to here) */
60 Evas_Object *win_main_layout;
62 Evas_Object *navi_bar;
64 Evas_Object *ly_tvout;
70 setting_view *view_to_load;
72 Elm_Genlist_Item_Class itc_1text_1icon_2;
73 Elm_Genlist_Item_Class itc_2text_2;
74 Elm_Genlist_Item_Class itc_group_item;
75 Elm_Genlist_Item_Class itc_seperator;
76 Elm_Genlist_Item_Class itc_help_style;
81 extern setting_view setting_view_connectivity_usb;
82 extern setting_view setting_view_connectivity_usb_help;
84 int check_usb_jack_status();
85 void set_usb_mode_default();
87 #endif /* __SETTING_CONNECTIVITY_H__ */