2 * Open Service Platform
3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.1 (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.
18 #ifndef __libug_setting_location_efl_H__
19 #define __libug_setting_location_efl_H__
21 #include <Elementary.h>
22 #include <ui-gadget.h>
24 #include <locations.h>
28 #define _EDJ(x) (Evas_Object *)elm_layout_edje_get(x)
30 #define PKGNAME "ug-setting-location-efl"
32 #define _(s) dgettext(PKGNAME, s)
33 #define S_(s) dgettext("sys_string", s)
34 #define dgettext_noop(s) (s)
35 #define N_(s) dgettext_noop(s)
38 #define KEY_DISABLED 0
45 Evas_Object *naviframe;
47 Elm_Object_Item *gi_gps, *gi_net, *gi_agps;
48 Elm_Object_Item *gi_mypos, *gi_help, *gi_msg;
49 Elm_Object_Item *gi_top_sep, *gi_mid_sep, *gi_bot_sep;
50 Elm_Object_Item *gi_lat, *gi_long, *gi_alt, *gi_speed;
51 Evas_Object *tg_gps, *tg_net, *tg_agps;
52 Elm_Genlist_Item_Class *itc_gps, *itc_agps, *itc_net, *itc_mypos, *itc_help;
53 Elm_Genlist_Item_Class *itc_msg, *itc_help_msg;
54 Elm_Genlist_Item_Class *itc_top_sep, *itc_mid_sep, *itc_bot_sep;
55 Elm_Genlist_Item_Class *itc_lat, *itc_long, *itc_alt, *itc_speed;
56 int is_gps, is_net, is_agps;
58 location_manager_h loc;
59 double latitude, longitude, altitude, speed;
65 #endif /* __libug_setting_location_efl_H__ */