summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-07-15 07:07:53 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-07-15 07:07:53 (GMT)
commit7a591138e89ad71ee1dd9825d7705c94f9bb50d2 (patch)
tree25b9832b234d498ff359ee6d60758004a3232278 /Swiften/Compress/ZLibDecompressor.h
parentfbe2f40509da8c6c25d07de18ded3c0e3194ef6b (diff)
downloadswift-contrib-7a591138e89ad71ee1dd9825d7705c94f9bb50d2.zip
swift-contrib-7a591138e89ad71ee1dd9825d7705c94f9bb50d2.tar.bz2
Hide ZLib implementation.
Diffstat (limited to 'Swiften/Compress/ZLibDecompressor.h')
-rw-r--r--Swiften/Compress/ZLibDecompressor.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/Swiften/Compress/ZLibDecompressor.h b/Swiften/Compress/ZLibDecompressor.h
index 67994d1..0726c8b 100644
--- a/Swiften/Compress/ZLibDecompressor.h
+++ b/Swiften/Compress/ZLibDecompressor.h
@@ -7,19 +7,13 @@
#pragma once
#include <Swiften/Compress/ZLibCodecompressor.h>
-#include <Swiften/Base/ByteArray.h>
namespace Swift {
class ZLibDecompressor : public ZLibCodecompressor {
public:
ZLibDecompressor();
+ ~ZLibDecompressor();
- ~ZLibDecompressor() {
- inflateEnd(&stream_);
- }
-
- virtual int processZStream() {
- return inflate(&stream_, Z_SYNC_FLUSH);
- }
+ virtual int processZStream();
};
}