]> git.itanic.dy.fi Git - maemo-mapper/blob - src/poi.h
Administrative changes in preparation for release of Maemo Mapper v2.6.2.
[maemo-mapper] / src / poi.h
1 /*
2  * Copyright (C) 2006, 2007 John Costigan.
3  *
4  * POI and GPS-Info code originally written by Cezary Jackiewicz.
5  *
6  * Default map data provided by http://www.openstreetmap.org/
7  *
8  * This file is part of Maemo Mapper.
9  *
10  * Maemo Mapper is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation, either version 3 of the License, or
13  * (at your option) any later version.
14  *
15  * Maemo Mapper is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with Maemo Mapper.  If not, see <http://www.gnu.org/licenses/>.
22  */
23
24 #ifndef MAEMO_MAPPER_POI_H
25 #define MAEMO_MAPPER_POI_H
26
27 void poi_db_connect(void);
28
29 gboolean get_nearest_poi(gint unitx, gint unity, PoiInfo *poi);
30
31 gboolean select_poi(gint unitx, gint unity, PoiInfo *poi, gboolean quick);
32
33 gboolean category_list_dialog(GtkWidget *parent);
34
35 gboolean poi_add_dialog(GtkWidget *parent, gint unitx, gint unity);
36 gboolean poi_view_dialog(GtkWidget *parent, PoiInfo *poi);
37 gboolean poi_import_dialog(gint unitx, gint unity);
38 gboolean poi_download_dialog(gint unitx, gint unity);
39 gboolean poi_browse_dialog(gint unitx, gint unity);
40
41 void map_render_poi(void);
42
43 void poi_destroy(void);
44
45 #endif /* ifndef MAEMO_MAPPER_POI_H */