diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-11-10 13:02:12 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-11-27 10:57:41 +0100 |
commit | 8635062c071d23bf75dc4d9be598ee39a735d891 (patch) | |
tree | 974a2256c37ef5b3fbcd9d8dac77ff39e4fe6201 /common/rfb/TightDecoder.h | |
parent | f22d350e75e798863927c54031fc5dc5e84ae3c4 (diff) | |
download | tigervnc-8635062c071d23bf75dc4d9be598ee39a735d891.tar.gz tigervnc-8635062c071d23bf75dc4d9be598ee39a735d891.zip |
Decouple decoders from CConnection
Diffstat (limited to 'common/rfb/TightDecoder.h')
-rw-r--r-- | common/rfb/TightDecoder.h | 5 |
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); |