2012-02-09 12:50:38 +00:00
|
|
|
#ifndef __DECOMPRESS_HH_INCLUDED__
|
|
|
|
#define __DECOMPRESS_HH_INCLUDED__
|
|
|
|
|
2013-04-23 16:38:30 +00:00
|
|
|
#include <QByteArray>
|
2012-02-09 12:50:38 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
using std::string;
|
|
|
|
|
2013-04-23 16:38:30 +00:00
|
|
|
QByteArray zlibDecompress( const char * bufptr, unsigned length );
|
2012-02-09 12:50:38 +00:00
|
|
|
|
2013-04-23 16:38:30 +00:00
|
|
|
string decompressZlib( const char * bufptr, unsigned length );
|
|
|
|
|
|
|
|
string decompressBzip2( const char * bufptr, unsigned length );
|
2012-02-09 12:50:38 +00:00
|
|
|
|
2013-09-14 16:17:32 +00:00
|
|
|
#ifdef MAKE_ZIM_SUPPORT
|
|
|
|
|
|
|
|
string decompressLzma2( const char * bufptr, unsigned length );
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2012-02-09 12:50:38 +00:00
|
|
|
#endif // DECOMPRESS_HH
|