1 #ifndef COMPRESSIONHANDLER_H
2 #define COMPRESSIONHANDLER_H
10 class CompressionHandler
: public QObject
16 void writeIncoming(const QByteArray
& a
);
17 void write(const QByteArray
& a
);
19 QByteArray
readOutgoing(int*);
24 void readyReadOutgoing();
28 Compressor
* compressor_
;
29 Decompressor
* decompressor_
;
30 QBuffer outgoing_buffer_
, incoming_buffer_
;