aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/XserverDesktop.h
diff options
context:
space:
mode:
authorCarlos Santos <casantos@redhat.com>2024-01-09 10:32:20 -0300
committerCarlos Santos <casantos@redhat.com>2024-04-26 10:18:49 -0300
commitd77e2b01f972ef12b722e3ef9d22efdc241689c3 (patch)
tree60629992f2ce250d27b55262efb0984575bec41e /unix/xserver/hw/vnc/XserverDesktop.h
parentae81801cccbbef7c424103ec3aee9bfc6021059e (diff)
downloadtigervnc-d77e2b01f972ef12b722e3ef9d22efdc241689c3.tar.gz
tigervnc-d77e2b01f972ef12b722e3ef9d22efdc241689c3.zip
Remove the network::SocketServer interface.
Move these RFB specific things to rfb::VNCServer, for clarity. Signed-off-by: Pierre Ossman <ossman@cendio.se> Signed-off-by: Carlos Santos <casantos@redhat.com>
Diffstat (limited to 'unix/xserver/hw/vnc/XserverDesktop.h')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h
index 677097a6..a42b5440 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.h
+++ b/unix/xserver/hw/vnc/XserverDesktop.h
@@ -42,7 +42,7 @@ namespace rfb {
class VNCServerST;
}
-namespace network { class SocketListener; class Socket; class SocketServer; }
+namespace network { class SocketListener; class Socket; }
class XserverDesktop : public rfb::SDesktop, public rfb::FullFramePixelBuffer,
public rfb::Timer::Callback {
@@ -107,9 +107,9 @@ public:
protected:
bool handleListenerEvent(int fd,
std::list<network::SocketListener*>* sockets,
- network::SocketServer* sockserv);
+ rfb::VNCServer* sockserv);
bool handleSocketEvent(int fd,
- network::SocketServer* sockserv,
+ rfb::VNCServer* sockserv,
bool read, bool write);
virtual bool handleTimeout(rfb::Timer* t);