aboutsummaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-02-28 14:02:20 +0100
committerPierre Ossman <ossman@cendio.se>2024-06-19 16:39:07 +0200
commitbc0461fd952e691d30fbadfd4c208318fa69ef09 (patch)
tree1542242bd04731919aae1ba71b13fc338ea62e12 /unix
parent5ddb06e6b07880a34ca07cbb3c0b220c1b6b6bd1 (diff)
downloadtigervnc-bc0461fd952e691d30fbadfd4c208318fa69ef09.tar.gz
tigervnc-bc0461fd952e691d30fbadfd4c208318fa69ef09.zip
Make SDesktop::start()/stop() optional
Let's avoid requring these as a desktop implementation can now set up everything in the init() method.
Diffstat (limited to 'unix')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.cc8
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc
index 7de6143b..c4117c74 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.cc
+++ b/unix/xserver/hw/vnc/XserverDesktop.cc
@@ -151,14 +151,6 @@ void XserverDesktop::init(rfb::VNCServer* vs)
// ready state
}
-void XserverDesktop::start()
-{
-}
-
-void XserverDesktop::stop()
-{
-}
-
void XserverDesktop::queryConnection(network::Socket* sock,
const char* userName)
{
diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h
index 6c4f0b68..3cac2121 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.h
+++ b/unix/xserver/hw/vnc/XserverDesktop.h
@@ -89,8 +89,6 @@ public:
// rfb::SDesktop callbacks
virtual void init(rfb::VNCServer* vs);
- virtual void start();
- virtual void stop();
virtual void terminate();
virtual void queryConnection(network::Socket* sock,
const char* userName);