Decouple decoders from CConnection
diff --git a/common/rfb/RawDecoder.h b/common/rfb/RawDecoder.h
index 7a784c6..4caf175 100644
--- a/common/rfb/RawDecoder.h
+++ b/common/rfb/RawDecoder.h
@@ -21,12 +21,12 @@
#include <rfb/Decoder.h>
namespace rfb {
-
class RawDecoder : public Decoder {
public:
- RawDecoder(CConnection* conn);
+ RawDecoder();
virtual ~RawDecoder();
- virtual void readRect(const Rect& r, ModifiablePixelBuffer* pb);
+ virtual void readRect(const Rect& r, rdr::InStream* is,
+ const ConnParams& cp, ModifiablePixelBuffer* pb);
};
}
#endif