aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/Decoder.h')
-rw-r--r--common/rfb/Decoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/rfb/Decoder.h b/common/rfb/Decoder.h
index 025d63f5..842491fb 100644
--- a/common/rfb/Decoder.h
+++ b/common/rfb/Decoder.h
@@ -27,11 +27,14 @@ namespace rfb {
class Decoder {
public:
+ Decoder(CMsgReader* reader);
virtual ~Decoder();
virtual void readRect(const Rect& r, CMsgHandler* handler)=0;
static bool supported(int encoding);
static Decoder* createDecoder(int encoding, CMsgReader* reader);
+ protected:
+ CMsgReader* reader;
};
}