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.
17 #ifndef __libug_setting_location_efl_H__
18 #define __libug_setting_location_efl_H__
20 #include <Elementary.h>
21 #include <ui-gadget.h>
23 #include <locations.h>
26 #include <location-appman.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
43 Elm_Object_Item *gi_app;
44 Elm_Genlist_Item_Class *itc_app;
45 } location_appman_info;
52 Evas_Object *naviframe;
54 Elm_Object_Item *gi_gps, *gi_net, *gi_agps;
55 Elm_Object_Item *gi_mypos, *gi_help, *gi_msg, *gi_line, *gi_bot_sep;
56 Elm_Object_Item *gi_lat, *gi_long, *gi_alt, *gi_speed;
57 Evas_Object *tg_gps, *tg_net, *tg_agps;
58 Elm_Genlist_Item_Class *itc_gps, *itc_agps, *itc_net, *itc_mypos, *itc_help;
59 Elm_Genlist_Item_Class *itc_sep, *itc_line, *itc_msg, *itc_help_msg, *itc_bot_sep;
60 Elm_Genlist_Item_Class *itc_lat, *itc_long, *itc_alt, *itc_speed;
61 int is_gps, is_net, is_agps;
63 location_manager_h loc;
64 double latitude, longitude, altitude, speed;
66 location_appman_info *app_info;
70 #endif /* __libug_setting_location_efl_H__ */