diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2008-04-24 08:44:24 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2008-04-24 08:44:24 +0000 |
commit | 8232831bb4c23d7a544cf97e1d23b724cb83f30a (patch) | |
tree | 60ecbe471c1705cabc1e9ca7f857291ecddf8457 /common/rfb/SConnection.h | |
parent | a9ad96636f705b0da89ae170df00349523550c97 (diff) | |
download | tigervnc-8232831bb4c23d7a544cf97e1d23b724cb83f30a.tar.gz tigervnc-8232831bb4c23d7a544cf97e1d23b724cb83f30a.zip |
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
Diffstat (limited to 'common/rfb/SConnection.h')
-rw-r--r-- | common/rfb/SConnection.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |