projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Defined a stub glk_schannel_struct to fix another regression
[rodin/chimara.git]
/
libchimara
/
stream.h
diff --git
a/libchimara/stream.h
b/libchimara/stream.h
index 0ea398e377fc98bf561e629ac9ce4434e4527fdc..ef6b1f0dce5613e27e943ac7543275d7618c5bff 100644
(file)
--- a/
libchimara/stream.h
+++ b/
libchimara/stream.h
@@
-2,8
+2,11
@@
#define STREAM_H
#include <gtk/gtk.h>
#define STREAM_H
#include <gtk/gtk.h>
+#include "chimara-glk-private.h"
#include "glk.h"
#include "glk.h"
+#include "gi_dispa.h"
#include "window.h"
#include "window.h"
+#include "fileref.h"
enum StreamType
{
enum StreamType
{
@@
-22,6
+25,7
@@
struct glk_stream_struct
{
/*< private >*/
glui32 magic, rock;
{
/*< private >*/
glui32 magic, rock;
+ gidispatch_rock_t disprock;
/* Pointer to the list node in the global stream list that contains this
stream */
GList* stream_list;
/* Pointer to the list node in the global stream list that contains this
stream */
GList* stream_list;
@@
-39,14
+43,18
@@
struct glk_stream_struct
glui32 *ubuffer;
glui32 mark;
glui32 buflen;
glui32 *ubuffer;
glui32 mark;
glui32 buflen;
+ gidispatch_rock_t buffer_rock;
/* Specific to file streams */
FILE *file_pointer;
gboolean binary;
gchar *filename; /* Displayable filename in UTF-8 for error handling */
gchar *style; /* Name of the current style */
/* Specific to file streams */
FILE *file_pointer;
gboolean binary;
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 window_stream_new(winid_t window);
+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 stream_close_common(strid_t str, stream_result_t *result);
+
#endif
#endif