Decouple decoders from CConnection
diff --git a/common/rfb/CopyRectDecoder.h b/common/rfb/CopyRectDecoder.h
index d14bf92..a7195ce 100644
--- a/common/rfb/CopyRectDecoder.h
+++ b/common/rfb/CopyRectDecoder.h
@@ -24,9 +24,10 @@
class CopyRectDecoder : public Decoder {
public:
- CopyRectDecoder(CConnection* conn);
+ CopyRectDecoder();
virtual ~CopyRectDecoder();
- virtual void readRect(const Rect& r, ModifiablePixelBuffer* pb);
+ virtual void readRect(const Rect& r, rdr::InStream* is,
+ const ConnParams& cp, ModifiablePixelBuffer* pb);
};
}
#endif