26 |
#else |
#else |
27 |
// these are on maemo fremantle |
// these are on maemo fremantle |
28 |
#include <hildon/hildon-button.h> |
#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 |
#define MENU_GPXLIST 0 |
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> |
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 |
|
|
105 |
pos_t gps; /* saved last gps position */ |
pos_t gps; /* saved last gps position */ |
106 |
|
|
107 |
char *image_path; /* path to cache images in */ |
char *image_path; /* path to cache images in */ |
|
gboolean load_images; /* load images and cache them */ |
|
108 |
|
|
109 |
int search; /* "search in" items */ |
int search; /* "search in" items */ |
110 |
char *search_str; |
char *search_str; |
240 |
#include <stdarg.h> |
#include <stdarg.h> |
241 |
extern void errorf(const char *fmt, ...); |
extern void errorf(const char *fmt, ...); |
242 |
extern gboolean on_window_key_press(GtkWidget *widget, |
extern gboolean on_window_key_press(GtkWidget *widget, |
243 |
GdkEventKey *event, gpointer data); |
GdkEventKey *event, appdata_t *appdata); |
244 |
#ifdef USE_STACKABLE_WINDOW |
#ifdef USE_STACKABLE_WINDOW |
245 |
HildonAppMenu *menu_create(appdata_t *appdata, int mode); |
HildonAppMenu *menu_create(appdata_t *appdata, int mode); |
246 |
#endif |
#endif |