summaryrefslogtreecommitdiffstats
path: root/win/winvnc/VNCServerWin32.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-11-09 17:21:35 +0100
committerPierre Ossman <ossman@cendio.se>2018-11-09 17:21:35 +0100
commitf9de17665a3549e7e1eb44584ce73d6cafbd4c99 (patch)
tree9b8db530dac34858f202cd9c3bc1479faa221725 /win/winvnc/VNCServerWin32.h
parent42d0f5dd74fa0fe3bf3f26a92ecc5846db17895b (diff)
parent7e1093e976dbadfebcce893b943f6b52e1d4f8d5 (diff)
downloadtigervnc-f9de17665a3549e7e1eb44584ce73d6cafbd4c99.tar.gz
tigervnc-f9de17665a3549e7e1eb44584ce73d6cafbd4c99.zip
Merge branch 'vncserver' of https://github.com/CendioOssman/tigervnc
Diffstat (limited to 'win/winvnc/VNCServerWin32.h')
-rw-r--r--win/winvnc/VNCServerWin32.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/win/winvnc/VNCServerWin32.h b/win/winvnc/VNCServerWin32.h
index 271cb76a..1a737823 100644
--- a/win/winvnc/VNCServerWin32.h
+++ b/win/winvnc/VNCServerWin32.h
@@ -37,9 +37,10 @@ namespace os {
namespace winvnc {
+ class ListConnInfo;
class STrayIconThread;
- class VNCServerWin32 : rfb::VNCServerST::QueryConnectionHandler,
+ class VNCServerWin32 : rfb::win32::QueryConnectionHandler,
rfb::win32::SocketManager::AddressChangeNotifier,
rfb::win32::RegConfig::Callback,
rfb::win32::EventHandler {
@@ -73,17 +74,16 @@ 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:
- // VNCServerST::QueryConnectionHandler interface
+ // QueryConnectionHandler interface
// Callback used to prompt user to accept or reject a connection.
// CALLBACK IN VNCServerST "HOST" THREAD
- virtual rfb::VNCServerST::queryResult queryConnection(network::Socket* sock,
- const char* userName,
- char** reason);
+ virtual void queryConnection(network::Socket* sock,
+ const char* userName);
// SocketManager::AddressChangeNotifier interface
// Used to keep tray icon up to date
@@ -97,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;