From 9f752b7446ffcaa86eeb0417e3b93701aacbb796 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 11 Oct 2018 08:05:08 +0200 Subject: [PATCH] Remove unused functions from server classes --- common/rfb/VNCSConnectionST.h | 2 -- common/rfb/VNCServerST.h | 9 --------- 2 files changed, 11 deletions(-) diff --git a/common/rfb/VNCSConnectionST.h b/common/rfb/VNCSConnectionST.h index 76e78a9b..d09f733c 100644 --- a/common/rfb/VNCSConnectionST.h +++ b/common/rfb/VNCSConnectionST.h @@ -105,8 +105,6 @@ namespace rfb { updates.add_copied(dest, delta); } - const char* getPeerEndpoint() const {return peerEndpoint.buf;} - private: // SConnection callbacks diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h index 4dc384d4..f4b0d3fc 100644 --- a/common/rfb/VNCServerST.h +++ b/common/rfb/VNCServerST.h @@ -135,15 +135,6 @@ namespace rfb { // request to the desktop. void queryConnection(VNCSConnectionST* client, const char* userName); - // setBlacklist() is called to replace the VNCServerST's internal - // Blacklist instance with another instance. This allows a single - // Blacklist to be shared by multiple VNCServerST instances. - void setBlacklist(Blacklist* bl) {blHosts = bl ? bl : &blacklist;} - - // setKeyRemapper() replaces the VNCServerST's default key remapper. - // NB: A null pointer is valid here. - void setKeyRemapper(KeyRemapper* kr) { keyRemapper = kr; } - // clientReady() is called by a VNCSConnectionST instance when the // client has completed the handshake and is ready for normal // communication. -- 2.39.5