summaryrefslogtreecommitdiffstats
path: root/common/rfb/CMsgWriter.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-03-23 16:48:35 +0000
committerPierre Ossman <ossman@cendio.se>2009-03-23 16:48:35 +0000
commite7a41d5862440d8729a1ef142baf04af713e96b2 (patch)
treee9ef7c3ba526cb327060f52651979599782e9f9f /common/rfb/CMsgWriter.h
parentc4661e7eecaf889f4975218a7c1c1b308e898cb8 (diff)
downloadtigervnc-e7a41d5862440d8729a1ef142baf04af713e96b2.tar.gz
tigervnc-e7a41d5862440d8729a1ef142baf04af713e96b2.zip
Add client method to send SetDesktopSize.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3711 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/CMsgWriter.h')
-rw-r--r--common/rfb/CMsgWriter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/rfb/CMsgWriter.h b/common/rfb/CMsgWriter.h
index 5794f91d..37755e77 100644
--- a/common/rfb/CMsgWriter.h
+++ b/common/rfb/CMsgWriter.h
@@ -23,6 +23,7 @@
#define __RFB_CMSGWRITER_H__
#include <rfb/InputHandler.h>
+#include <rfb/ScreenSet.h>
namespace rdr { class OutStream; }
@@ -41,6 +42,9 @@ namespace rfb {
virtual void startMsg(int type)=0;
virtual void endMsg()=0;
+ virtual void writeSetDesktopSize(int width, int height,
+ const ScreenSet& layout)=0;
+
// CMsgWriter implemented methods
virtual void writeSetPixelFormat(const PixelFormat& pf);
virtual void writeSetEncodings(int nEncodings, rdr::U32* encodings);