Parent Directory | Revision Log
Initial import
1 | /* |
2 | * Copyright (C) 2008 Till Harbaum <till@harbaum.org>. |
3 | * |
4 | * This file is part of OSM2Go. |
5 | * |
6 | * OSM2Go 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 | * OSM2Go 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 OSM2Go. If not, see <http://www.gnu.org/licenses/>. |
18 | */ |
19 | |
20 | #ifndef INFO_H |
21 | #define INFO_H |
22 | |
23 | typedef struct { |
24 | appdata_t *appdata; |
25 | GtkWidget *dialog, *view; |
26 | GtkListStore *store; |
27 | GtkWidget *but_add, *but_remove, *but_edit; |
28 | type_t type; |
29 | tag_t **tag; |
30 | } tag_context_t; |
31 | |
32 | |
33 | void info_dialog(GtkWidget *parent, appdata_t *appdata, relation_t *relation); |
34 | void info_tags_replace(tag_context_t *context); |
35 | gboolean info_tag_key_collision(tag_t *tags, tag_t *tag); |
36 | |
37 | #endif // INFO_H |