25 |
#define USE_BREAD_CRUMB_TRAIL |
#define USE_BREAD_CRUMB_TRAIL |
26 |
#else |
#else |
27 |
// these are on maemo fremantle |
// these are on maemo fremantle |
28 |
|
#include <hildon/hildon-button.h> |
29 |
|
#include <hildon/hildon-text-view.h> |
30 |
|
#include <hildon/hildon-window-stack.h> |
31 |
|
#define USE_HILDON_TEXT_VIEW |
32 |
#define USE_STACKABLE_WINDOW |
#define USE_STACKABLE_WINDOW |
33 |
#define NO_COPY_N_PASTE |
#define NO_COPY_N_PASTE |
34 |
|
#define MENU_GPXLIST 0 |
35 |
|
#define MENU_CACHELIST 1 |
36 |
|
#define MENU_CACHE 2 |
37 |
#endif |
#endif |
38 |
#endif |
#endif |
39 |
|
|
50 |
|
|
51 |
#ifdef USE_MAEMO |
#ifdef USE_MAEMO |
52 |
#include <hildon/hildon-program.h> |
#include <hildon/hildon-program.h> |
|
#include <hildon/hildon-text-view.h> |
|
53 |
#include <hildon/hildon-file-chooser-dialog.h> |
#include <hildon/hildon-file-chooser-dialog.h> |
54 |
#include <hildon/hildon-file-system-model.h> |
#include <hildon/hildon-file-system-model.h> |
55 |
#include <hildon/hildon-bread-crumb-trail.h> |
#include <hildon/hildon-bread-crumb-trail.h> |
178 |
GtkWidget *bct; |
GtkWidget *bct; |
179 |
gpx_t *search_results; |
gpx_t *search_results; |
180 |
|
|
181 |
|
#ifdef USE_BREAD_CRUMB_TRAIL |
182 |
/* reference to enable/disable these while walking the crumb trail */ |
/* reference to enable/disable these while walking the crumb trail */ |
183 |
GtkWidget *menu_import, *menu_export; |
GtkWidget *menu_import, *menu_export; |
184 |
GtkWidget *menu_search; |
GtkWidget *menu_search; |
185 |
|
#endif |
186 |
|
|
187 |
/* keep track of current "path" in the bread crumb trail */ |
/* keep track of current "path" in the bread crumb trail */ |
188 |
gpx_t *cur_gpx; |
gpx_t *cur_gpx; |
239 |
#include <stdarg.h> |
#include <stdarg.h> |
240 |
extern void errorf(const char *fmt, ...); |
extern void errorf(const char *fmt, ...); |
241 |
extern gboolean on_window_key_press(GtkWidget *widget, |
extern gboolean on_window_key_press(GtkWidget *widget, |
242 |
GdkEventKey *event, gpointer data); |
GdkEventKey *event, appdata_t *appdata); |
243 |
|
#ifdef USE_STACKABLE_WINDOW |
244 |
|
HildonAppMenu *menu_create(appdata_t *appdata, int mode); |
245 |
|
#endif |
246 |
|
|
247 |
#endif // GPXVIEW_H |
#endif // GPXVIEW_H |