diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-01-29 16:42:48 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-07-07 14:42:08 +0200 |
commit | 4aba19e287b0105bb47777762ce14b3786d91019 (patch) | |
tree | 3ac8984f8b31dfebc3dffde057eb9f23af3d559c /common/rfb/Encoder.cxx | |
parent | 717c07b9671badeef0c18c91cf17fe9747559787 (diff) | |
download | tigervnc-4aba19e287b0105bb47777762ce14b3786d91019.tar.gz tigervnc-4aba19e287b0105bb47777762ce14b3786d91019.zip |
Avoid reader/writer duplication in every encoder/decoder
Diffstat (limited to 'common/rfb/Encoder.cxx')
-rw-r--r-- | common/rfb/Encoder.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/rfb/Encoder.cxx b/common/rfb/Encoder.cxx index 1733c8ec..6b2321c4 100644 --- a/common/rfb/Encoder.cxx +++ b/common/rfb/Encoder.cxx @@ -25,9 +25,14 @@ #include <rfb/HextileEncoder.h> #include <rfb/ZRLEEncoder.h> #include <rfb/TightEncoder.h> +#include <rfb/SMsgWriter.h> using namespace rfb; +Encoder::Encoder(SMsgWriter* writer_) : writer(writer_) +{ +} + Encoder::~Encoder() { } |