27 |
#include <locale.h> |
#include <locale.h> |
28 |
#include <libintl.h> |
#include <libintl.h> |
29 |
|
|
|
#include "version.h" |
|
|
|
|
30 |
#define LOCALEDIR "/usr/share/locale" |
#define LOCALEDIR "/usr/share/locale" |
31 |
|
|
32 |
#define _(String) gettext(String) |
#define _(String) gettext(String) |
40 |
#define GTK_FM_OK GTK_RESPONSE_OK |
#define GTK_FM_OK GTK_RESPONSE_OK |
41 |
#define HILDON_ENTRY_NO_AUTOCAP(a) \ |
#define HILDON_ENTRY_NO_AUTOCAP(a) \ |
42 |
hildon_gtk_entry_set_input_mode(GTK_ENTRY(a),HILDON_GTK_INPUT_MODE_FULL) |
hildon_gtk_entry_set_input_mode(GTK_ENTRY(a),HILDON_GTK_INPUT_MODE_FULL) |
43 |
|
|
44 |
|
#ifndef HILDON_HARDKEY_FULLSCREEN |
45 |
|
#define HILDON_HARDKEY_FULLSCREEN GDK_F6 |
46 |
|
#endif |
47 |
|
|
48 |
|
#ifndef HILDON_HARDKEY_INCREASE |
49 |
|
#define HILDON_HARDKEY_INCREASE GDK_F7 |
50 |
|
#endif |
51 |
|
|
52 |
|
#ifndef HILDON_HARDKEY_DECREASE |
53 |
|
#define HILDON_HARDKEY_DECREASE GDK_F8 |
54 |
|
#endif |
55 |
|
|
56 |
#else |
#else |
57 |
#define GTK_FM_OK GTK_RESPONSE_ACCEPT |
#define GTK_FM_OK GTK_RESPONSE_ACCEPT |
58 |
#define HILDON_ENTRY_NO_AUTOCAP(a) |
#define HILDON_ENTRY_NO_AUTOCAP(a) |
113 |
} dialog_again; |
} dialog_again; |
114 |
|
|
115 |
struct { |
struct { |
|
char *import_path; |
|
116 |
GtkWidget *menu_track; |
GtkWidget *menu_track; |
117 |
GtkWidget *menu_item_import; |
GtkWidget *menu_item_import; |
118 |
GtkWidget *menu_item_export; |
GtkWidget *menu_item_export; |
119 |
GtkWidget *menu_item_clear; |
GtkWidget *menu_item_clear; |
120 |
GtkWidget *menu_item_gps; |
GtkWidget *menu_item_enable_gps; |
121 |
|
GtkWidget *menu_item_follow_gps; |
122 |
struct track_s *track; |
struct track_s *track; |
123 |
guint handler_id; |
guint handler_id; |
124 |
canvas_item_t *gps_item; // the purple curcle |
canvas_item_t *gps_item; // the purple curcle |
150 |
|
|
151 |
} appdata_t; |
} appdata_t; |
152 |
|
|
153 |
|
#include "settings.h" |
154 |
#include "map.h" |
#include "map.h" |
155 |
#include "map_hl.h" |
#include "map_hl.h" |
156 |
#include "osm_api.h" |
#include "osm_api.h" |
157 |
#include "statusbar.h" |
#include "statusbar.h" |
158 |
#include "area_edit.h" |
#include "area_edit.h" |
159 |
#include "project.h" |
#include "project.h" |
|
#include "settings.h" |
|
160 |
#include "diff.h" |
#include "diff.h" |
161 |
#include "iconbar.h" |
#include "iconbar.h" |
162 |
#include "icon.h" |
#include "icon.h" |
172 |
#include "style.h" |
#include "style.h" |
173 |
#include "net_io.h" |
#include "net_io.h" |
174 |
#include "banner.h" |
#include "banner.h" |
175 |
|
#include "list.h" |
176 |
|
|
177 |
#endif // APPDATA_H |
#endif // APPDATA_H |