From b14a6bc1aacc3238a1e318d9f165d25674f34d45 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 18 Jun 2018 15:44:26 +0200 Subject: Split out ServerParams from ConnParams We need to track different things in the server and client, so separate things to two independent structures to keep things more clear. --- common/rfb/RREDecoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/rfb/RREDecoder.h') diff --git a/common/rfb/RREDecoder.h b/common/rfb/RREDecoder.h index f89fef4a..f47eddad 100644 --- a/common/rfb/RREDecoder.h +++ b/common/rfb/RREDecoder.h @@ -27,9 +27,9 @@ namespace rfb { RREDecoder(); virtual ~RREDecoder(); virtual void readRect(const Rect& r, rdr::InStream* is, - const ConnParams& cp, rdr::OutStream* os); + const ServerParams& server, rdr::OutStream* os); virtual void decodeRect(const Rect& r, const void* buffer, - size_t buflen, const ConnParams& cp, + size_t buflen, const ServerParams& server, ModifiablePixelBuffer* pb); }; } -- cgit v1.2.3