1 #ifndef __CHIMARA_GLK_PRIVATE_H__
2 #define __CHIMARA_GLK_PRIVATE_H__
6 #include "chimara-glk.h"
10 typedef struct _ChimaraGlkPrivate ChimaraGlkPrivate;
12 struct _ChimaraGlkPrivate {
13 /* Pointer back to the widget itself for use in thread */
15 /* Whether user input is expected */
17 /* Whether file operations are allowed */
19 /* Thread in which Glk program is run */
21 /* Event queue and threading stuff */
24 GCond *event_queue_not_empty;
25 GCond *event_queue_not_full;
28 gboolean abort_signalled;
29 /* User-defined interrupt handler */
30 void (*interrupt_handler)(void);
31 /* Global tree of all windows */
33 /* List of filerefs currently in existence */
36 strid_t current_stream;
37 /* List of streams currently in existence */
41 #define CHIMARA_GLK_PRIVATE(obj) \
42 (G_TYPE_INSTANCE_GET_PRIVATE((obj), CHIMARA_TYPE_GLK, ChimaraGlkPrivate))
46 #endif /* __CHIMARA_GLK_PRIVATE_H__ */