summaryrefslogtreecommitdiffstats
blob: 3ba1955d957fa0a8a517feaafdd89e9a4e1bbb1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (c) 2010 Remko Tronçon
 * Licensed under the GNU General Public License v3.
 * See Documentation/Licenses/GPLv3.txt for more information.
 */

#pragma once

#include <Swiften/Base/API.h>
#include <Swiften/Compress/ZLibCodecompressor.h>

namespace Swift {
	class SWIFTEN_API ZLibCompressor : public ZLibCodecompressor {
		public:
			ZLibCompressor();
			~ZLibCompressor();

			virtual int processZStream();

		private:
			static const int COMPRESSION_LEVEL = 9;
	};
}