diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2007-04-05 08:43:25 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2007-04-05 08:43:25 +0000 |
commit | dafbb01146a5cc69add5ec510fa73a867f0962bb (patch) | |
tree | b64c999de91af23cbbd8da43d556f0d577c8128e /common/rfb/VNCSConnectionST.h | |
parent | b50b29ed2f5b0a61504b832a030acac51f73434a (diff) | |
download | tigervnc-dafbb01146a5cc69add5ec510fa73a867f0962bb.tar.gz tigervnc-dafbb01146a5cc69add5ec510fa73a867f0962bb.zip |
Initial implementation of continuous updates in the server code. This code does not handle framebuffer size changes properly yet. Also, the server does not send the client EndOfContinuousUpdates message yet (documented in doc/rfbproto.tex).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2251 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/VNCSConnectionST.h')
-rw-r--r-- | common/rfb/VNCSConnectionST.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/rfb/VNCSConnectionST.h b/common/rfb/VNCSConnectionST.h index a04296d3..7fe2e323 100644 --- a/common/rfb/VNCSConnectionST.h +++ b/common/rfb/VNCSConnectionST.h @@ -129,6 +129,9 @@ namespace rfb { virtual void setInitialColourMap(); virtual void supportsLocalCursor(); + virtual void enableContinuousUpdates(const Rect& r); + virtual void disableContinuousUpdates(); + // setAccessRights() allows a security package to limit the access rights // of a VNCSConnectioST to the server. These access rights are applied // such that the actual rights granted are the minimum of the server's @@ -150,6 +153,8 @@ namespace rfb { void setCursor(); void setSocketTimeouts(); + void resetRequestedRegion(); + network::Socket* sock; CharArray peerEndpoint; VNCServerST* server; @@ -159,6 +164,9 @@ namespace rfb { bool drawRenderedCursor, removeRenderedCursor; Rect renderedCursorRect; + bool autoUpdatesActive; // continuous updates enabled + Rect autoUpdatedRect; // continuously updated area + std::set<rdr::U32> pressedKeys; time_t lastEventTime; |