diff options
Diffstat (limited to 'common/rfb/TightDecoder.h')
-rw-r--r-- | common/rfb/TightDecoder.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/common/rfb/TightDecoder.h b/common/rfb/TightDecoder.h index 5cdf873b..8200d2b8 100644 --- a/common/rfb/TightDecoder.h +++ b/common/rfb/TightDecoder.h @@ -28,9 +28,9 @@ namespace rfb { class TightDecoder : public Decoder { public: - static Decoder* create(CMsgReader* reader); - virtual void readRect(const Rect& r, CMsgHandler* handler); + TightDecoder(CMsgReader* reader); virtual ~TightDecoder(); + virtual void readRect(const Rect& r, CMsgHandler* handler); private: void tightDecode8(const Rect& r); @@ -54,8 +54,6 @@ namespace rfb { void directFillRect16(const Rect& r, Pixel pix); void directFillRect32(const Rect& r, Pixel pix); - TightDecoder(CMsgReader* reader); - CMsgReader* reader; CMsgHandler* handler; rdr::InStream* is; |