X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstream.h;h=87b8b7a90bdc64fdf1ef4cf66adbd2740092e62c;hb=cbd4cb7f8c62b2ba51329a4cb082a96115a7529d;hp=9636fac2c49b3c853c04ed9bbf522ae5cdfa0a42;hpb=d0d1517f5447d0bd95c6b9769a92054f4c7fcaae;p=rodin%2Fchimara.git diff --git a/libchimara/stream.h b/libchimara/stream.h index 9636fac..87b8b7a 100644 --- a/libchimara/stream.h +++ b/libchimara/stream.h @@ -2,6 +2,7 @@ #define STREAM_H #include +#include "chimara-glk-private.h" #include "glk.h" #include "gi_dispa.h" #include "window.h" @@ -49,10 +50,12 @@ struct glk_stream_struct gchar *filename; /* Displayable filename in UTF-8 for error handling */ gchar *style; /* Name of the current style */ + gboolean hyperlink_mode; /* When turned on, text written to the stream will be a hyperlink */ }; G_GNUC_INTERNAL strid_t file_stream_new(frefid_t fileref, glui32 fmode, glui32 rock, gboolean unicode); G_GNUC_INTERNAL strid_t stream_new_common(glui32 rock); G_GNUC_INTERNAL void stream_close_common(strid_t str, stream_result_t *result); +G_GNUC_INTERNAL void trash_stream_thread_independent(ChimaraGlkPrivate *glk_data, strid_t str); #endif