13 #include "compressiondefault.h"
15 #include "compressiondatahandler.h"
19 #if defined( HAVE_ZLIB )
20 # define HAVE_COMPRESSION
21 # include "compressionzlib.h"
44 m_impl =
new CompressionLZW( cdh );
59 return m_impl ? m_impl->
init() :
false;
This is an abstract base class for stream compression implementations.
virtual void compress(const std::string &data)=0
virtual void decompress(const std::string &data)=0
An abstract base class used to receive de/compressed data from a CompressionBase-derived object.
virtual void compress(const std::string &data)
CompressionDefault(CompressionDataHandler *cdh, Method method=MethodZlib)
virtual ~CompressionDefault()
virtual void decompress(const std::string &data)
The namespace for the gloox library.