Implemented the 'waiting' signal on the ChimaraGlk widget to let listeners know when...
[projects/chimara/chimara.git] / interpreters / frotz / glkfrotz.h
1 /******************************************************************************
2  *                                                                            *
3  * Copyright (C) 2006-2009 by Tor Andersson.                                  *
4  *                                                                            *
5  * This file is part of Gargoyle.                                             *
6  *                                                                            *
7  * Gargoyle is free software; you can redistribute it and/or modify           *
8  * it under the terms of the GNU General Public License as published by       *
9  * the Free Software Foundation; either version 2 of the License, or          *
10  * (at your option) any later version.                                        *
11  *                                                                            *
12  * Gargoyle is distributed in the hope that it will be useful,                *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
15  * GNU General Public License for more details.                               *
16  *                                                                            *
17  * You should have received a copy of the GNU General Public License          *
18  * along with Gargoyle; if not, write to the Free Software                    *
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA *
20  *                                                                            *
21  *****************************************************************************/
22
23 /* glk-frotz.h
24  *
25  * Frotz os functions for the Glk library version 0.6.1.
26  */
27
28 #include "frotz.h"
29
30 #include <stdio.h>
31 #include <stdlib.h>
32 #include <errno.h>
33 #include <string.h>
34 #include <ctype.h>
35 #include <time.h>
36
37 #include "glk.h"
38
39 extern int curr_status_ht;
40 extern int mach_status_ht;
41
42 extern winid_t gos_status;
43 extern winid_t gos_upper;
44 extern winid_t gos_lower;
45 extern winid_t gos_curwin;
46 extern int gos_linepending;
47 extern char *gos_linebuf;
48 extern winid_t gos_linewin;
49
50 extern schanid_t gos_channel;
51
52 /* from ../common/setup.h */
53 extern f_setup_t f_setup;
54
55 /* From input.c.  */
56 bool is_terminator (zchar);
57
58 /* from glkstuff */
59 void gos_update_width(void);
60 void gos_cancel_pending_line(void);
61 void reset_status_ht(void);
62