Removed silencing of gtk warning logs from gtk3.22-client.
[freeciv.git] / client / gui-xaw / luaconsole.c
blob1964e106fe6662ed8b160ce843459fadf062d1cc
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 "shared.h"
21 /* common */
22 #include "featured_text.h"
24 #include "luaconsole.h"
26 /*****************************************************************************
27 Popup the lua console inside the main-window, and optionally raise it.
28 *****************************************************************************/
29 void luaconsole_dialog_popup(bool raise)
31 /* PORTME */
34 /*****************************************************************************
35 Return TRUE iff the lua console is open.
36 *****************************************************************************/
37 bool luaconsole_dialog_is_open(void)
39 /* PORTME */
41 return FALSE;
44 /*****************************************************************************
45 Update the lua console.
46 *****************************************************************************/
47 void real_luaconsole_dialog_update(void)
49 /* PORTME */
52 /*****************************************************************************
53 Appends the string to the chat output window. The string should be
54 inserted on its own line, although it will have no newline.
55 *****************************************************************************/
56 void real_luaconsole_append(const char *astring,
57 const struct text_tag_list *tags)
59 /* PORTME */