diff options
author | Max Horn | 2010-11-19 00:10:09 +0000 |
---|---|---|
committer | Max Horn | 2010-11-19 00:10:09 +0000 |
commit | 5c7d7a85db4f668c5a54279a69b4cfe7d7c6abef (patch) | |
tree | 665a3aedf53cce08627098e0d1b1e445ccdd9361 /common | |
parent | 34272e2529faf823097280706f699e966290870c (diff) | |
download | scummvm-rg350-5c7d7a85db4f668c5a54279a69b4cfe7d7c6abef.tar.gz scummvm-rg350-5c7d7a85db4f668c5a54279a69b4cfe7d7c6abef.tar.bz2 scummvm-rg350-5c7d7a85db4f668c5a54279a69b4cfe7d7c6abef.zip |
COMMON: Push #include stream.h from zlib.h to zlib.cpp
svn-id: r54353
Diffstat (limited to 'common')
-rw-r--r-- | common/zlib.cpp | 1 | ||||
-rw-r--r-- | common/zlib.h | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/common/zlib.cpp b/common/zlib.cpp index 7f04bd5a4f..98ecc10c1d 100644 --- a/common/zlib.cpp +++ b/common/zlib.cpp @@ -25,6 +25,7 @@ #include "common/zlib.h" #include "common/util.h" +#include "common/stream.h" #if defined(USE_ZLIB) #ifdef __SYMBIAN32__ diff --git a/common/zlib.h b/common/zlib.h index 4da357d23c..641d4553cf 100644 --- a/common/zlib.h +++ b/common/zlib.h @@ -27,10 +27,12 @@ #define COMMON_ZLIB_H #include "common/scummsys.h" -#include "common/stream.h" namespace Common { +class SeekableReadStream; +class WriteStream; + #if defined(USE_ZLIB) /** @@ -54,7 +56,7 @@ bool uncompress(byte *dst, unsigned long *dstLen, const byte *src, unsigned long * It is safe to call this with a NULL parameter (in this case, NULL is * returned). */ -Common::SeekableReadStream *wrapCompressedReadStream(Common::SeekableReadStream *toBeWrapped); +SeekableReadStream *wrapCompressedReadStream(SeekableReadStream *toBeWrapped); /** * Take an arbitrary WriteStream and wrap it in a custom stream which provides @@ -65,7 +67,7 @@ Common::SeekableReadStream *wrapCompressedReadStream(Common::SeekableReadStream * It is safe to call this with a NULL parameter (in this case, NULL is * returned). */ -Common::WriteStream *wrapCompressedWriteStream(Common::WriteStream *toBeWrapped); +WriteStream *wrapCompressedWriteStream(WriteStream *toBeWrapped); } // End of namespace Common |