From 668468b3d43d5ea1562ebc0be8de0c98c5601a60 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 31 Jan 2014 12:37:32 +0100 Subject: Encoders/decoders should track the connection object The connection object is a much more appropriate object for the decoders and encoders to keep track of. Besides the streams, it also contains state like connection parameters. --- common/rfb/ZRLEDecoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/rfb/ZRLEDecoder.h') diff --git a/common/rfb/ZRLEDecoder.h b/common/rfb/ZRLEDecoder.h index dee20685..e7e2b8cb 100644 --- a/common/rfb/ZRLEDecoder.h +++ b/common/rfb/ZRLEDecoder.h @@ -25,7 +25,7 @@ namespace rfb { class ZRLEDecoder : public Decoder { public: - ZRLEDecoder(CMsgReader* reader); + ZRLEDecoder(CConnection* conn); virtual ~ZRLEDecoder(); virtual void readRect(const Rect& r, CMsgHandler* handler); private: -- cgit v1.2.3