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.
7
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
14 #ifdef HAVE_CONFIG_H
15 #include <fc_config.h>
16 #endif
17
18 /* utility */
19 #include "shared.h"
20
21 /* common */
22 #include "featured_text.h"
23
24 #include "luaconsole.h"
25
26 /*****************************************************************************
27 Popup the lua console inside the main-window, and optionally raise it.
28 *****************************************************************************/
luaconsole_dialog_popup(bool raise)29 void luaconsole_dialog_popup(bool raise)
30 {
31 /* PORTME */
32 }
33
34 /*****************************************************************************
35 Return TRUE iff the lua console is open.
36 *****************************************************************************/
luaconsole_dialog_is_open(void)37 bool luaconsole_dialog_is_open(void)
38 {
39 /* PORTME */
40
41 return FALSE;
42 }
43
44 /*****************************************************************************
45 Update the lua console.
46 *****************************************************************************/
real_luaconsole_dialog_update(void)47 void real_luaconsole_dialog_update(void)
48 {
49 /* PORTME */
50 }
51
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 *****************************************************************************/
real_luaconsole_append(const char * astring,const struct text_tag_list * tags)56 void real_luaconsole_append(const char *astring,
57 const struct text_tag_list *tags)
58 {
59 /* PORTME */
60 }
61