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__