webperimental: killstack decides stack protects.
[freeciv.git] / client / gui-stub / helpdlg.c
blob92ffb153ce64d944a7291777e3241c93bf50d806
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 ***********************************************************************/
14 #ifdef HAVE_CONFIG_H
15 #include <fc_config.h>
16 #endif
18 /* utility */
19 #include "fcintl.h"
21 /* gui main header */
22 #include "gui_stub.h"
24 #include "helpdlg.h"
26 /**************************************************************************
27 Popup the help dialog to get help on the given string topic. Note
28 that the topic may appear in multiple sections of the help (it may
29 be both an improvement and a unit, for example).
31 The given string should be untranslated.
32 **************************************************************************/
33 void popup_help_dialog_string(const char *item)
35 popup_help_dialog_typed(Q_(item), HELP_ANY);
38 /**************************************************************************
39 Popup the help dialog to display help on the given string topic from
40 the given section.
42 The string will be translated.
43 **************************************************************************/
44 void popup_help_dialog_typed(const char *item, enum help_page_type htype)
46 /* PORTME */
49 /**************************************************************************
50 Close the help dialog.
51 **************************************************************************/
52 void popdown_help_dialog(void)
54 /* PORTME */