aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CMsgHandler.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-12-28 13:40:09 +0100
committerPierre Ossman <ossman@cendio.se>2024-08-12 16:53:09 +0200
commit608b8a51e58e609664adc9596a83d189f22706df (patch)
tree01439bd138f2c1e6edc46b1dd3f7d4ea14a6b3e8 /common/rfb/CMsgHandler.h
parentaf1500bfdeea7a03d7f32c24eda394a04ccbea8e (diff)
downloadtigervnc-608b8a51e58e609664adc9596a83d189f22706df.tar.gz
tigervnc-608b8a51e58e609664adc9596a83d189f22706df.zip
Remove unused setPixelFormat() callback
This was made obsolete in dd45b44 when we extended the serverInit() callback.
Diffstat (limited to 'common/rfb/CMsgHandler.h')
-rw-r--r--common/rfb/CMsgHandler.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/common/rfb/CMsgHandler.h b/common/rfb/CMsgHandler.h
index 16a53c6a..9e5f7de2 100644
--- a/common/rfb/CMsgHandler.h
+++ b/common/rfb/CMsgHandler.h
@@ -39,12 +39,12 @@ namespace rfb {
CMsgHandler();
virtual ~CMsgHandler();
- // The following methods are called as corresponding messages are read. A
- // derived class should override these methods as desired. Note that for
- // the setDesktopSize(), setExtendedDesktopSize(), setPixelFormat(),
- // setName(), serverInit() and clipboardCaps methods, a derived class
- // should call on to CMsgHandler's methods to set the members of "server"
- // appropriately.
+ // The following methods are called as corresponding messages are
+ // read. A derived class should override these methods as desired.
+ // Note that for the setDesktopSize(), setExtendedDesktopSize(),
+ // setName(), serverInit() and handleClipboardCaps() methods, a
+ // derived class should call on to CMsgHandler's methods to set the
+ // members of "server" appropriately.
virtual void setDesktopSize(int w, int h);
virtual void setExtendedDesktopSize(unsigned reason, unsigned result,
@@ -53,7 +53,6 @@ namespace rfb {
virtual void setCursor(int width, int height, const Point& hotspot,
const uint8_t* data) = 0;
virtual void setCursorPos(const Point& pos) = 0;
- virtual void setPixelFormat(const PixelFormat& pf);
virtual void setName(const char* name);
virtual void fence(uint32_t flags, unsigned len, const uint8_t data[]);
virtual void endOfContinuousUpdates();