15 #ifndef COMPRESSIONBASE_H__
16 #define COMPRESSIONBASE_H__
19 #include "compressiondatahandler.h"
54 virtual bool init() = 0;
60 virtual void compress(
const std::string& data ) = 0;
66 virtual void decompress(
const std::string& data ) = 0;
72 virtual void cleanup() = 0;
85 #endif // COMPRESSIONBASE_H__
This is an abstract base class for stream compression implementations.
CompressionBase(CompressionDataHandler *cdh)
The namespace for the gloox library.
virtual ~CompressionBase()
An abstract base class used to receive de/compressed data from a CompressionBase-derived object...
CompressionDataHandler * m_handler