diff options
author | Pierre Ossman <ossman@cendio.se> | 2018-10-05 17:48:58 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2018-10-26 16:29:29 +0200 |
commit | cd7931df76957ccadf0af258ff8515e520a90102 (patch) | |
tree | 484a56416e44da47cd9187f7e062a404e3f8043c /unix/xserver/hw | |
parent | 6c97fa4575aeb979cf6ad5794ca5bcede9146233 (diff) | |
download | tigervnc-cd7931df76957ccadf0af258ff8515e520a90102.tar.gz tigervnc-cd7931df76957ccadf0af258ff8515e520a90102.zip |
Inherit SocketServer directly from VNCServer
This makes VNCServer a sufficiently complete interface that callers
don't need to know about the specific implementation (VNCServerST
currently). And assuming that all servers will use sockets is not
that outrageous.
Diffstat (limited to 'unix/xserver/hw')
-rw-r--r-- | unix/xserver/hw/vnc/XserverDesktop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h index 04666cd1..ff36b3b5 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.h +++ b/unix/xserver/hw/vnc/XserverDesktop.h @@ -34,7 +34,7 @@ #include <rfb/SDesktop.h> #include <rfb/PixelBuffer.h> #include <rfb/Configuration.h> -#include <rfb/VNCServerST.h> +#include <rfb/Timer.h> #include <unixcommon.h> #include "Input.h" @@ -111,7 +111,7 @@ protected: private: int screenIndex; - rfb::VNCServerST* server; + rfb::VNCServer* server; std::list<network::SocketListener*> listeners; bool directFbptr; |