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_MORECONNECTIONS_H__
22 #define __SETTING_MORECONNECTIONS_H__
26 #include <Elementary.h>
27 #include <glib-object.h>
28 #include <setting-common-draw-widget.h>
29 #include <setting-common-view.h>
30 #include <setting-common-data-type.h>
31 #include <setting-cfg.h>
32 #include <locations.h>
34 #define KeyStr_On "IDS_ST_BODY_ON"
35 #define KeyStr_Off "IDS_ST_BODY_ALERTTYPE_OFF"
36 #define KeyStr_LocationService "IDS_LBS_BODY_LOCATION_SERVICE"
37 #define KeyStr_VPN "IDS_ST_BODY_VPN"
39 typedef struct _SettingMoreConnectionsUG SettingMoreConnectionsUG;
42 * Setting MoreConnections UG context
43 * all UG function has void* as an agument. this is casted back to SettingMoreConnectionsUG
44 * and the functions access app context.
46 struct _SettingMoreConnectionsUG {
49 /* add more variables here (move your appdata to here) */
51 Evas_Object *win_main_layout;
56 /* for navigation effect */
57 Evas_Object *navi_bar;
58 Elm_Object_Item *navi_item;
62 Setting_GenGroupItem_Data *location_service;
63 Setting_GenGroupItem_Data *VPN;
66 Elm_Genlist_Item_Class itc_2text_2;
67 Elm_Genlist_Item_Class itc_1text;
73 extern setting_view setting_view_moreconnections_main;
74 char *setting_location_is_enable(void *data);
75 void setting_moreconnections_layout_ug_cb(ui_gadget_h ug, enum ug_mode mode, void *priv);
77 #endif /* __SETTING_MORECONNECTIONS_H__ */