summaryrefslogtreecommitdiffstats
path: root/common/rfb/SConnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/SConnection.h')
-rw-r--r--common/rfb/SConnection.h8
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