61 |
#if MAEMO_VERSION_MAJOR >= 5 |
#if MAEMO_VERSION_MAJOR >= 5 |
62 |
#define USE_PANNABLE_AREA |
#define USE_PANNABLE_AREA |
63 |
#include <hildon/hildon-pannable-area.h> |
#include <hildon/hildon-pannable-area.h> |
64 |
|
/* panning a gtkhtml view currently doesn't work well */ |
65 |
|
#define PANNABLE_HTML |
66 |
#endif |
#endif |
67 |
#endif |
#endif |
68 |
|
|
145 |
GtkTextBuffer *active_buffer; |
GtkTextBuffer *active_buffer; |
146 |
#endif |
#endif |
147 |
|
|
148 |
|
#ifdef USE_STACKABLE_WINDOW |
149 |
|
GtkWidget *export_menu, *tools_menu; |
150 |
|
#endif |
151 |
|
|
152 |
/* save result here to be able to "goto" it */ |
/* save result here to be able to "goto" it */ |
153 |
pos_t geomath; |
pos_t geomath; |
154 |
|
|
196 |
#else |
#else |
197 |
GtkWidget *window; |
GtkWidget *window; |
198 |
#endif |
#endif |
199 |
|
|
200 |
|
#ifdef ENABLE_OSM_GPS_MAP |
201 |
|
struct { |
202 |
|
int zoom; |
203 |
|
pos_t pos; |
204 |
|
} map; |
205 |
|
#endif |
206 |
|
|
207 |
GtkWidget *vbox; |
GtkWidget *vbox; |
208 |
} appdata_t; |
} appdata_t; |
209 |
|
|
222 |
#include "precpos.h" |
#include "precpos.h" |
223 |
#include "garmin_export.h" |
#include "garmin_export.h" |
224 |
|
|
225 |
|
#ifdef ENABLE_OSM_GPS_MAP |
226 |
|
#include "map-tool.h" |
227 |
|
#endif |
228 |
|
|
229 |
#ifdef USE_MAEMO |
#ifdef USE_MAEMO |
230 |
#include "dbus.h" |
#include "dbus.h" |
231 |
#endif |
#endif |