diff options
Diffstat (limited to 'common/rfb/Encoder.h')
-rw-r--r-- | common/rfb/Encoder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/rfb/Encoder.h b/common/rfb/Encoder.h index 8712c09a..485b850c 100644 --- a/common/rfb/Encoder.h +++ b/common/rfb/Encoder.h @@ -29,6 +29,7 @@ namespace rfb { class Encoder { public: + Encoder(SMsgWriter* writer); virtual ~Encoder(); virtual void setCompressLevel(int level) {}; @@ -43,6 +44,9 @@ namespace rfb { static bool supported(int encoding); static Encoder* createEncoder(int encoding, SMsgWriter* writer); + + protected: + SMsgWriter* writer; }; } |