2 * This file is part of mapper
4 * Copyright (C) 2007 Kaj-Michael Lang
5 * Copyright (C) 2006-2007 John Costigan.
7 * POI and GPS-Info code originally written by Cezary Jackiewicz.
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 #ifndef _MAPPER_POI_GUI_H
26 #define _MAPPER_POI_GUI_H
31 /** POI dialog action **/
37 gboolean poi_select(guint unitx, guint unity, guint range, poi_info *poi);
38 gboolean poi_edit_dialog(POIAction action, poi_info *poi);
39 gboolean poi_search_dialog(GtkListStore *store, poi_info *poi, gdouble lat, gdouble lon);
40 gboolean poi_quick_dialog(gdouble lat, gdouble lon);
42 gboolean poi_info_dialog(guint poi_id);
44 gboolean poi_category_dialog(guint cat_id);
45 gboolean poi_category_list();
47 void poi_category_combo_populate(GtkWidget *cmb_category, guint cat_id, gboolean add_na);
48 GtkWidget *category_combo_new(void);