webperimental: killstack decides stack protects.
[freeciv.git] / client / include / gui_main_g.h
blobf6adccc01ebc4f329ada1ff9705b2b97879f5688
1 /**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
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__GUI_MAIN_G_H
14 #define FC__GUI_MAIN_G_H
16 /* utility */
17 #include "support.h" /* bool type */
19 /* common */
20 #include "fc_types.h"
22 #include "gui_proto_constructor.h"
24 GUI_FUNC_PROTO(void, set_city_names_font_sizes, int city_names_font_size,
25 int city_productions_font_size)
27 GUI_FUNC_PROTO(void, ui_init, void)
28 GUI_FUNC_PROTO(void, ui_main, int argc, char *argv[])
29 GUI_FUNC_PROTO(void, ui_exit, void)
30 GUI_FUNC_PROTO(void, options_extra_init, void)
32 GUI_FUNC_PROTO(void, real_conn_list_dialog_update, void)
33 GUI_FUNC_PROTO(void, sound_bell, void)
34 GUI_FUNC_PROTO(void, add_net_input, int)
35 GUI_FUNC_PROTO(void, remove_net_input, void)
37 GUI_FUNC_PROTO(void, set_unit_icon, int idx, struct unit *punit)
38 GUI_FUNC_PROTO(void, set_unit_icons_more_arrow, bool onoff)
39 GUI_FUNC_PROTO(void, real_focus_units_changed, void)
41 GUI_FUNC_PROTO(void, add_idle_callback, void (callback)(void *), void *data)
43 GUI_FUNC_PROTO(enum gui_type, get_gui_type, void)
44 GUI_FUNC_PROTO(void, insert_client_build_info, char *outbuf, size_t outlen)
46 GUI_FUNC_PROTO(void, gui_update_font, const char *font_name,
47 const char *font_value)
48 GUI_FUNC_PROTO(void, adjust_default_options, void)
50 extern const char *client_string;
52 /* Actually defined in update_queue.c */
53 void conn_list_dialog_update(void);
55 #endif /* FC__GUI_MAIN_G_H */