From d77e2b01f972ef12b722e3ef9d22efdc241689c3 Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Tue, 9 Jan 2024 10:32:20 -0300 Subject: Remove the network::SocketServer interface. Move these RFB specific things to rfb::VNCServer, for clarity. Signed-off-by: Pierre Ossman Signed-off-by: Carlos Santos --- unix/xserver/hw/vnc/XserverDesktop.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unix/xserver/hw/vnc/XserverDesktop.h') 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* 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); -- cgit v1.2.3