aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/TightDecoder.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-11-10 13:02:12 +0100
committerPierre Ossman <ossman@cendio.se>2015-11-27 10:57:41 +0100
commit8635062c071d23bf75dc4d9be598ee39a735d891 (patch)
tree974a2256c37ef5b3fbcd9d8dac77ff39e4fe6201 /common/rfb/TightDecoder.h
parentf22d350e75e798863927c54031fc5dc5e84ae3c4 (diff)
downloadtigervnc-8635062c071d23bf75dc4d9be598ee39a735d891.tar.gz
tigervnc-8635062c071d23bf75dc4d9be598ee39a735d891.zip
Decouple decoders from CConnection
Diffstat (limited to 'common/rfb/TightDecoder.h')
-rw-r--r--common/rfb/TightDecoder.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/rfb/TightDecoder.h b/common/rfb/TightDecoder.h
index a44f7d85..028514a5 100644
--- a/common/rfb/TightDecoder.h
+++ b/common/rfb/TightDecoder.h
@@ -28,9 +28,10 @@ namespace rfb {
class TightDecoder : public Decoder {
public:
- TightDecoder(CConnection* conn);
+ TightDecoder();
virtual ~TightDecoder();
- virtual void readRect(const Rect& r, ModifiablePixelBuffer* pb);
+ virtual void readRect(const Rect& r, rdr::InStream* is,
+ const ConnParams& cp, ModifiablePixelBuffer* pb);
private:
rdr::U32 readCompact(rdr::InStream* is);