]> err.no Git - mapper/blob - src/poi-gui.h
Use generic search interface
[mapper] / src / poi-gui.h
1 /*
2  * This file is part of mapper
3  *
4  * Copyright (C) 2007 Kaj-Michael Lang
5  * Copyright (C) 2006-2007 John Costigan.
6  *
7  * POI and GPS-Info code originally written by Cezary Jackiewicz.
8  *
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.
13  *
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.
18  *
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.
22  *
23  */
24
25 #ifndef _MAPPER_POI_GUI_H
26 #define _MAPPER_POI_GUI_H
27
28 #include <glib.h>
29 #include "poi.h"
30
31 gboolean poi_select(guint unitx, guint unity, poi_info *poi);
32 gboolean poi_dialog(POIAction action, guint unitx, guint unity);
33 gboolean poi_search_dialog(GtkListStore *store, poi_info *poi, gdouble lat, gdouble lon);
34 gboolean poi_quick_dialog(guint unitx, guint unity);
35
36 gboolean poi_category_dialog(guint cat_id);
37 gboolean poi_category_list();
38
39 void poi_category_combo_populate(GtkWidget *cmb_category, guint cat_id, gboolean add_na);
40 GtkWidget *category_combo_new(void);
41
42 #endif