aboutsummaryrefslogtreecommitdiff
path: root/common/stream.h
diff options
context:
space:
mode:
authorMax Horn2009-03-15 20:30:57 +0000
committerMax Horn2009-03-15 20:30:57 +0000
commit9cbed926cdab8a450c6000b750b3f16c5a24d583 (patch)
tree8757548b2e8be6d3472578aa2a74cdf29edc2972 /common/stream.h
parent77d5d3093a6c70d9de8949635a529bf760aabcf9 (diff)
downloadscummvm-rg350-9cbed926cdab8a450c6000b750b3f16c5a24d583.tar.gz
scummvm-rg350-9cbed926cdab8a450c6000b750b3f16c5a24d583.tar.bz2
scummvm-rg350-9cbed926cdab8a450c6000b750b3f16c5a24d583.zip
Moved Tinsel::Serializer to Common::Serializer, so that I can use it in the SCI engine
svn-id: r39428
Diffstat (limited to 'common/stream.h')
-rw-r--r--common/stream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/stream.h b/common/stream.h
index f98ad6aa92..b0fc9f5a8b 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -154,6 +154,10 @@ public:
writeUint32BE((uint32)value);
}
+ /**
+ * Write the given string to the stream.
+ * This writes str.size() characters, but no terminating zero byte.
+ */
void writeString(const String &str);
};