aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/streams.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-10-05 19:02:48 -0700
committerPaul Gilbert2019-10-05 19:02:48 -0700
commit98eddcda1d4ec6b6e839ce0abdf09c55394474b2 (patch)
tree322e135fcc9cb60ffa4aa93c1ee59fdc48ec64f8 /engines/glk/streams.h
parent8ab36786a4caa4033d9bb6d27b5fd8e0224fbdf2 (diff)
downloadscummvm-rg350-98eddcda1d4ec6b6e839ce0abdf09c55394474b2.tar.gz
scummvm-rg350-98eddcda1d4ec6b6e839ce0abdf09c55394474b2.tar.bz2
scummvm-rg350-98eddcda1d4ec6b6e839ce0abdf09c55394474b2.zip
GLK: Add Streams methods for encapsulating ScummVM streams
Diffstat (limited to 'engines/glk/streams.h')
-rw-r--r--engines/glk/streams.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/glk/streams.h b/engines/glk/streams.h
index df0d5df738..e4cce4a5bc 100644
--- a/engines/glk/streams.h
+++ b/engines/glk/streams.h
@@ -610,6 +610,16 @@ public:
FileStream *openFileStream(frefid_t fref, uint fmode, uint rock = 0, bool unicode = false);
/**
+ * Open a ScummVM read stream
+ */
+ IOStream *openStream(Common::SeekableReadStream *rs, uint rock = 0);
+
+ /**
+ * Open a ScummVM write stream
+ */
+ IOStream *openStream(Common::WriteStream *ws, uint rock = 0);
+
+ /**
* Open a window stream
*/
WindowStream *openWindowStream(Window *window);