37 |
#endif |
#endif |
38 |
#endif |
#endif |
39 |
|
|
40 |
|
#ifdef BCT |
41 |
|
#include "bct.h" |
42 |
|
#endif |
43 |
|
|
44 |
#include "config.h" |
#include "config.h" |
45 |
|
|
46 |
#include <string.h> |
#include <string.h> |
114 |
char *search_str; |
char *search_str; |
115 |
int search_days; |
int search_days; |
116 |
|
|
117 |
|
struct proxy_s *proxy; /* proxy settings */ |
118 |
|
|
119 |
int gpxlist_items; |
int gpxlist_items; |
120 |
int cachelist_items; |
int cachelist_items; |
121 |
guint cachelist_handler_id; /* update timer */ |
guint cachelist_handler_id; /* update timer */ |
134 |
gboolean compass_locked; |
gboolean compass_locked; |
135 |
int compass_damping; |
int compass_damping; |
136 |
|
|
137 |
|
gboolean disable_gcvote; |
138 |
|
|
139 |
struct gps_state *gps_state; |
struct gps_state *gps_state; |
140 |
|
|
141 |
/* keep track of all html views so zoom events can be delivered */ |
/* keep track of all html views so zoom events can be delivered */ |
149 |
#ifndef NO_COPY_N_PASTE |
#ifndef NO_COPY_N_PASTE |
150 |
/* do enable/disable the edit entries */ |
/* do enable/disable the edit entries */ |
151 |
GtkWidget *menu_cut, *menu_copy, *menu_paste; |
GtkWidget *menu_cut, *menu_copy, *menu_paste; |
|
GtkClipboard *clipboard; /* clipboard for copy/paste */ |
|
152 |
GtkTextBuffer *active_buffer; |
GtkTextBuffer *active_buffer; |
153 |
#endif |
#endif |
154 |
|
|
155 |
|
GtkClipboard *clipboard; /* clipboard for copy/paste */ |
156 |
|
|
157 |
#ifdef USE_STACKABLE_WINDOW |
#ifdef USE_STACKABLE_WINDOW |
158 |
GtkWidget *export_menu, *tools_menu; |
GtkWidget *export_menu, *tools_menu; |
159 |
#endif |
#endif |
184 |
|
|
185 |
gboolean cachelist_disable_screensaver; |
gboolean cachelist_disable_screensaver; |
186 |
gboolean goto_disable_screensaver; |
gboolean goto_disable_screensaver; |
|
gboolean cachelist_update; |
|
187 |
|
|
188 |
HildonProgram *program; |
HildonProgram *program; |
189 |
HildonWindow *window; |
HildonWindow *window; |
190 |
osso_context_t *osso_context; |
osso_context_t *osso_context; |
191 |
GtkWidget *bct; |
#else |
192 |
gpx_t *search_results; |
GtkWidget *window; |
193 |
|
#endif |
194 |
|
|
195 |
|
gboolean cachelist_update; |
196 |
|
|
197 |
#ifdef USE_BREAD_CRUMB_TRAIL |
#if defined(USE_BREAD_CRUMB_TRAIL) || defined(BCT) |
198 |
/* reference to enable/disable these while walking the crumb trail */ |
/* reference to enable/disable these while walking the crumb trail */ |
199 |
GtkWidget *menu_import, *menu_export; |
GtkWidget *menu_import, *menu_export; |
200 |
GtkWidget *menu_search; |
GtkWidget *menu_search; |
201 |
|
|
202 |
|
GtkWidget *bct; |
203 |
#endif |
#endif |
204 |
|
|
205 |
/* keep track of current "path" in the bread crumb trail */ |
/* keep track of current "path" in the bread crumb trail */ |
206 |
gpx_t *cur_gpx; |
gpx_t *cur_gpx; |
207 |
cache_t *cur_cache; |
cache_t *cur_cache; |
208 |
|
|
209 |
#else |
gpx_t *search_results; |
210 |
GtkWidget *window; |
|
211 |
|
#ifdef ENABLE_OSM_GPS_MAP |
212 |
|
struct { |
213 |
|
struct map_context_s *context; |
214 |
|
int source; |
215 |
|
int zoom; |
216 |
|
pos_t pos; |
217 |
|
} map; |
218 |
#endif |
#endif |
219 |
|
|
220 |
|
/* stuff to call geotoad */ |
221 |
|
struct { |
222 |
|
char *username, *password, *filename; |
223 |
|
float distance, lat, lon; |
224 |
|
int flags; |
225 |
|
} gt; |
226 |
|
|
227 |
GtkWidget *vbox; |
GtkWidget *vbox; |
228 |
} appdata_t; |
} appdata_t; |
229 |
|
|
233 |
#include "gconf.h" |
#include "gconf.h" |
234 |
#include "html.h" |
#include "html.h" |
235 |
#include "icons.h" |
#include "icons.h" |
236 |
|
#include "gcvote.h" |
237 |
#include "cache.h" |
#include "cache.h" |
238 |
#include "geomath.h" |
#include "geomath.h" |
239 |
#include "geotext.h" |
#include "geotext.h" |
242 |
#include "mm_poi.h" |
#include "mm_poi.h" |
243 |
#include "precpos.h" |
#include "precpos.h" |
244 |
#include "garmin_export.h" |
#include "garmin_export.h" |
245 |
|
#include "geotoad.h" |
246 |
|
|
247 |
#ifdef ENABLE_OSM_GPS_MAP |
#ifdef ENABLE_OSM_GPS_MAP |
248 |
#include "map-tool.h" |
#include "map-tool.h" |
282 |
#ifdef USE_STACKABLE_WINDOW |
#ifdef USE_STACKABLE_WINDOW |
283 |
HildonAppMenu *menu_create(appdata_t *appdata, int mode); |
HildonAppMenu *menu_create(appdata_t *appdata, int mode); |
284 |
#endif |
#endif |
285 |
|
void cachelist_goto_cache(appdata_t *appdata, cache_t *cache); |
286 |
|
void gpxlist_goto_cachelist(appdata_t *appdata, gpx_t *gpx); |
287 |
|
|
288 |
#endif // GPXVIEW_H |
#endif // GPXVIEW_H |