1
#ifndef COMPRESSIONHANDLER_H
2
#define COMPRESSIONHANDLER_H
8
class ZLibDecompressor;
10
class CompressionHandler : public QObject
16
~CompressionHandler();
17
void writeIncoming(const QByteArray& a);
18
void write(const QByteArray& a);
20
QByteArray readOutgoing(int*);
25
void readyReadOutgoing();
29
ZLibCompressor* compressor_;
30
ZLibDecompressor* decompressor_;
31
QBuffer outgoing_buffer_, incoming_buffer_;