Parent Directory | Revision Log
osm-gps-map OSD 90% done
1 | /* |
2 | * Copyright (C) 2009 Till Harbaum <till@harbaum.org>. |
3 | * |
4 | * This file is part of GPXView. |
5 | * |
6 | * GPXView is free software: you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by |
8 | * the Free Software Foundation, either version 3 of the License, or |
9 | * (at your option) any later version. |
10 | * |
11 | * GPXView is distributed in the hope that it will be useful, |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | * GNU General Public License for more details. |
15 | * |
16 | * You should have received a copy of the GNU General Public License |
17 | * along with GPXView. If not, see <http://www.gnu.org/licenses/>. |
18 | */ |
19 | |
20 | #ifndef MAP_TOOL_H |
21 | #define MAP_TOOL_H |
22 | |
23 | typedef struct map_context_s { |
24 | appdata_t *appdata; |
25 | GtkWidget *window; |
26 | GtkWidget *widget; |
27 | gint handler_id; |
28 | cache_t *press_on; |
29 | #if MAEMO_VERSION_MAJOR == 5 |
30 | GtkWidget *old_view; |
31 | #endif |
32 | } map_context_t; |
33 | |
34 | |
35 | extern void map(appdata_t *appdata); |
36 | |
37 | #endif // MAP_TOOL_H |