diff options
author | Pierre Ossman <ossman@cendio.se> | 2018-06-20 11:26:18 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2018-11-01 16:11:42 +0100 |
commit | ef6881b9db3765ed07db9e1d414b178daae29606 (patch) | |
tree | a4914d49e6548560bf406a40b79ab216e7c713bf /vncviewer/CConn.h | |
parent | dd45b4490100f70e21000c5181540c224e0f3c41 (diff) | |
download | tigervnc-ef6881b9db3765ed07db9e1d414b178daae29606.tar.gz tigervnc-ef6881b9db3765ed07db9e1d414b178daae29606.zip |
Move update request handling in to CConnection
It's a generic client thing, so abstract it in to the common library.
Makes it easier to integrate with other common code.
Diffstat (limited to 'vncviewer/CConn.h')
-rw-r--r-- | vncviewer/CConn.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/vncviewer/CConn.h b/vncviewer/CConn.h index 66ef1d02..2e3362ce 100644 --- a/vncviewer/CConn.h +++ b/vncviewer/CConn.h @@ -36,8 +36,6 @@ public: CConn(const char* vncServerName, network::Socket* sock); ~CConn(); - void refreshFramebuffer(); - const char *connectionInfo(); unsigned getUpdateCount(); @@ -74,8 +72,6 @@ public: void fence(rdr::U32 flags, unsigned len, const char data[]); - void endOfContinuousUpdates(); - void setLEDState(unsigned int state); private: @@ -83,8 +79,7 @@ private: void resizeFramebuffer(); void autoSelectFormatAndEncoding(); - void checkEncodings(); - void requestNewUpdate(); + void updatePixelFormat(); static void handleOptions(void *data); @@ -103,19 +98,7 @@ private: rfb::PixelFormat serverPF; rfb::PixelFormat fullColourPF; - bool pendingPFChange; - rfb::PixelFormat pendingPF; - - int currentEncoding, lastServerEncoding; - - bool formatChange; - bool encodingChange; - - bool firstUpdate; - bool pendingUpdate; - bool continuousUpdates; - - bool forceNonincremental; + int lastServerEncoding; }; #endif |