aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/ConnParams.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-06-18 16:51:53 +0200
committerPierre Ossman <ossman@cendio.se>2018-10-26 16:47:49 +0200
commitea7ede9838ac51bab0427ecc8b46cc737497a375 (patch)
tree648c7b76ab9334004de9ced53122193042671533 /common/rfb/ConnParams.h
parent52a2e6520a6875f6a1434af2a0653d8a32fe7cf7 (diff)
downloadtigervnc-ea7ede9838ac51bab0427ecc8b46cc737497a375.tar.gz
tigervnc-ea7ede9838ac51bab0427ecc8b46cc737497a375.zip
Move version reading/writing out of ConnParams
That object is just a container for the current state. Move the I/O to the classes already doing such stuff.
Diffstat (limited to 'common/rfb/ConnParams.h')
-rw-r--r--common/rfb/ConnParams.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/rfb/ConnParams.h b/common/rfb/ConnParams.h
index b3222936..b56c9407 100644
--- a/common/rfb/ConnParams.h
+++ b/common/rfb/ConnParams.h
@@ -30,8 +30,6 @@
#include <rfb/PixelFormat.h>
#include <rfb/ScreenSet.h>
-namespace rdr { class InStream; }
-
namespace rfb {
const int subsampleUndefined = -1;
@@ -47,9 +45,6 @@ namespace rfb {
ConnParams();
~ConnParams();
- bool readVersion(rdr::InStream* is, bool* done);
- void writeVersion(rdr::OutStream* os);
-
int majorVersion;
int minorVersion;
@@ -114,8 +109,6 @@ namespace rfb {
char* name_;
Cursor* cursor_;
std::set<rdr::S32> encodings_;
- char verStr[13];
- int verStrPos;
unsigned int ledState_;
};
}