2 * Copyright (C) 2006, 2007 John Costigan.
4 * POI and GPS-Info code originally written by Cezary Jackiewicz.
6 * Default map data provided by http://www.openstreetmap.org/
8 * This file is part of Maemo Mapper.
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.
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.
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/>.
24 #ifndef MAEMO_MAPPER_POI_H
25 #define MAEMO_MAPPER_POI_H
27 void poi_db_connect(void);
29 gboolean get_nearest_poi(gint unitx, gint unity, PoiInfo *poi);
31 gboolean select_poi(gint unitx, gint unity, PoiInfo *poi, gboolean quick);
33 gboolean category_list_dialog(GtkWidget *parent);
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);
41 void map_render_poi(void);
43 void poi_destroy(void);
45 #endif /* ifndef MAEMO_MAPPER_POI_H */