diff options
author | Pierre Ossman <ossman@cendio.se> | 2018-10-08 16:03:01 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2018-11-09 17:16:04 +0100 |
commit | 025326dd94070ba790e4c1f8596b93ce96fd5be4 (patch) | |
tree | 5a4fae7fbeea807df67b0901c268e24e34005928 /win/winvnc/VNCServerWin32.h | |
parent | cd7931df76957ccadf0af258ff8515e520a90102 (diff) | |
download | tigervnc-025326dd94070ba790e4c1f8596b93ce96fd5be4.tar.gz tigervnc-025326dd94070ba790e4c1f8596b93ce96fd5be4.zip |
Move ListConnInfo to WinVNC directory
It is functionality specific to WinVNC, so move the code there
to make things more clear.
Diffstat (limited to 'win/winvnc/VNCServerWin32.h')
-rw-r--r-- | win/winvnc/VNCServerWin32.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/win/winvnc/VNCServerWin32.h b/win/winvnc/VNCServerWin32.h index bd0cbbbf..1a737823 100644 --- a/win/winvnc/VNCServerWin32.h +++ b/win/winvnc/VNCServerWin32.h @@ -37,6 +37,7 @@ namespace os { namespace winvnc { + class ListConnInfo; class STrayIconThread; class VNCServerWin32 : rfb::win32::QueryConnectionHandler, @@ -73,9 +74,9 @@ namespace winvnc { // Where to read the configuration settings from static const TCHAR* RegConfigPath; - bool getClientsInfo(rfb::ListConnInfo* LCInfo); + bool getClientsInfo(ListConnInfo* LCInfo); - bool setClientsStatus(rfb::ListConnInfo* LCInfo); + bool setClientsStatus(ListConnInfo* LCInfo); protected: // QueryConnectionHandler interface @@ -96,6 +97,9 @@ namespace winvnc { // Used to perform queued commands virtual void processEvent(HANDLE event); + void getConnInfo(ListConnInfo * listConn); + void setConnStatus(ListConnInfo* listConn); + protected: // Perform a particular internal function in the server thread typedef enum {NoCommand, DisconnectClients, AddClient, QueryConnectionComplete, SetClientsStatus, GetClientsInfo} Command; |