Do not return NULL as boolean from wonder_is_lost() nor wonder_is_built()
[freeciv.git] / client / gui-gtk-2.0 / editprop.h
blob001811b0a4b731b860bc7fc8dda1cf605016f2d1
1 /**********************************************************************
2 Freeciv - Copyright (C) 2005 - The Freeciv Project
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
13 #ifndef FC__EDITPROP_H
14 #define FC__EDITPROP_H
16 /* client */
17 #include "editor.h"
19 /* client/include */
20 #include "editgui_g.h"
22 struct tile_list;
23 struct property_editor;
25 void property_editor_clear(struct property_editor *pe);
26 void property_editor_load_tiles(struct property_editor *pe,
27 const struct tile_list *tiles);
28 void property_editor_reload(struct property_editor *pe,
29 enum editor_object_type objtype);
30 void property_editor_popup(struct property_editor *pe,
31 enum editor_object_type objtype);
32 void property_editor_popdown(struct property_editor *pe);
33 void property_editor_handle_object_changed(struct property_editor *pe,
34 enum editor_object_type objtype,
35 int object_id,
36 bool remove);
37 void property_editor_handle_object_created(struct property_editor *pe,
38 int tag, int object_id);
40 struct property_editor *editprop_get_property_editor(void);
42 #endif /* FC__EDITPROP_H */