From c5e25601d923169c30b656246ac503451f04e638 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 20 Mar 2009 12:59:05 +0000 Subject: Minimal server side implementation of the extended desktop size protocol. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3698 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/rfb/SMsgHandler.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'common/rfb/SMsgHandler.h') diff --git a/common/rfb/SMsgHandler.h b/common/rfb/SMsgHandler.h index 50a2dc4d..78cff2f7 100644 --- a/common/rfb/SMsgHandler.h +++ b/common/rfb/SMsgHandler.h @@ -38,14 +38,15 @@ namespace rfb { // The following methods are called as corresponding messages are read. A // derived class should override these methods as desired. Note that for - // the setPixelFormat() and setEncodings() methods, a derived class must - // call on to SMsgHandler's methods. + // the setPixelFormat(), setEncodings() and setDesktopSize() methods, a + // derived class must call on to SMsgHandler's methods. virtual void clientInit(bool shared); virtual void setPixelFormat(const PixelFormat& pf); virtual void setEncodings(int nEncodings, rdr::U32* encodings); - virtual void framebufferUpdateRequest(const Rect& r, bool incremental); + virtual void framebufferUpdateRequest(const Rect& r, bool incremental) = 0; + virtual void setDesktopSize(int fb_width, int fb_height) = 0; // InputHandler interface // The InputHandler methods will be called for the corresponding messages. -- cgit v1.2.3