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;
virtual ~CompressionDefault()
This is an abstract base class for stream compression implementations.
virtual void decompress(const std::string &data)=0
virtual void compress(const std::string &data)
The namespace for the gloox library.
CompressionDefault(CompressionDataHandler *cdh, Method method=MethodZlib)
virtual void compress(const std::string &data)=0
An abstract base class used to receive de/compressed data from a CompressionBase-derived object...
virtual void decompress(const std::string &data)