From 8232831bb4c23d7a544cf97e1d23b724cb83f30a Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Thu, 24 Apr 2008 08:44:24 +0000 Subject: Support for VideoRectangleSelection client message in the server code. The message is read but ignored (only a message will be written to stderr). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2559 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/rfb/SConnection.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common/rfb/SConnection.h') diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h index e41ef5fb..2540ed78 100644 --- a/common/rfb/SConnection.h +++ b/common/rfb/SConnection.h @@ -50,6 +50,11 @@ namespace rfb { // (i.e. SConnection will not delete them). void setStreams(rdr::InStream* is, rdr::OutStream* os); + // setProtocolOptions() configures TightVNC-specific protocol options. + // It can be optionally called before calling initialiseProtocol(). + // See also: VNCServerST::enableVideoSelection(); + void setProtocolOptions(bool enableVideoSelection); + // initialiseProtocol() should be called once the streams and security // types are set. Subsequently, processMsg() should be called whenever // there is data to read on the InStream. @@ -198,6 +203,9 @@ namespace rfb { SSecurityFactory* securityFactory; stateEnum state_; bool reverseConnection; + + // TightVNC-specific protocol options. + bool m_videoSelectionEnabled; }; } #endif -- cgit v1.2.3