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/RawEncoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/rfb/RawEncoder.h') diff --git a/common/rfb/RawEncoder.h b/common/rfb/RawEncoder.h index 42d38508..59e3a6de 100644 --- a/common/rfb/RawEncoder.h +++ b/common/rfb/RawEncoder.h @@ -24,7 +24,7 @@ namespace rfb { class RawEncoder : public Encoder { public: - RawEncoder(SMsgWriter* writer); + RawEncoder(SConnection* conn); virtual ~RawEncoder(); virtual void writeRect(const Rect& r, TransImageGetter* ig); }; -- cgit v1.2.3