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/RawDecoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/rfb/RawDecoder.h') diff --git a/common/rfb/RawDecoder.h b/common/rfb/RawDecoder.h index 9d0dc300..ca7c4017 100644 --- a/common/rfb/RawDecoder.h +++ b/common/rfb/RawDecoder.h @@ -24,7 +24,7 @@ namespace rfb { class RawDecoder : public Decoder { public: - RawDecoder(CMsgReader* reader); + RawDecoder(CConnection* conn); virtual ~RawDecoder(); virtual void readRect(const Rect& r, CMsgHandler* handler); }; -- cgit v1.2.3