diff options
Diffstat (limited to 'common/rfb/Decoder.cxx')
-rw-r--r-- | common/rfb/Decoder.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/rfb/Decoder.cxx b/common/rfb/Decoder.cxx index 9982c932..f774f28c 100644 --- a/common/rfb/Decoder.cxx +++ b/common/rfb/Decoder.cxx @@ -20,6 +20,7 @@ #include <rfb/encodings.h> #include <rfb/Decoder.h> #include <rfb/RawDecoder.h> +#include <rfb/CopyRectDecoder.h> #include <rfb/RREDecoder.h> #include <rfb/HextileDecoder.h> #include <rfb/ZRLEDecoder.h> @@ -39,6 +40,7 @@ bool Decoder::supported(int encoding) { switch (encoding) { case encodingRaw: + case encodingCopyRect: case encodingRRE: case encodingHextile: case encodingZRLE: @@ -54,6 +56,8 @@ Decoder* Decoder::createDecoder(int encoding, CMsgReader* reader) switch (encoding) { case encodingRaw: return new RawDecoder(reader); + case encodingCopyRect: + return new CopyRectDecoder(reader); case encodingRRE: return new RREDecoder(reader); case encodingHextile: |