JSON protocol: fix field_addr memory leak.
[freeciv.git] / client / gui-stub / luaconsole.c
blob90002eefc48d4af1e6c4e2ef21f05b908eabd07f
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 /* gui main header */
25 #include "gui_stub.h"
27 #include "luaconsole.h"
29 /*****************************************************************************
30 Popup the lua console inside the main-window, and optionally raise it.
31 *****************************************************************************/
32 void luaconsole_dialog_popup(bool raise)
34 /* PORTME */
37 /*****************************************************************************
38 Return TRUE iff the lua console is open.
39 *****************************************************************************/
40 bool luaconsole_dialog_is_open(void)
42 /* PORTME */
44 return FALSE;
47 /*****************************************************************************
48 Update the lua console.
49 *****************************************************************************/
50 void real_luaconsole_dialog_update(void)
52 /* PORTME */
55 /*****************************************************************************
56 Appends the string to the chat output window. The string should be
57 inserted on its own line, although it will have no newline.
58 *****************************************************************************/
59 void real_luaconsole_append(const char *astring,
60 const struct text_tag_list *tags)
62 /* PORTME */