summaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCServerST.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-03-05 11:57:11 +0000
committerPierre Ossman <ossman@cendio.se>2009-03-05 11:57:11 +0000
commit02e43d78bf13276ef18fd542167e1ca26830a2f4 (patch)
tree9e4c69ff64d17ee9b85ec5e2c300ce704453ecaa /common/rfb/VNCServerST.h
parentb39ace5b32d5a52280198bef0e8bd8a6c5edacba (diff)
downloadtigervnc-02e43d78bf13276ef18fd542167e1ca26830a2f4.tar.gz
tigervnc-02e43d78bf13276ef18fd542167e1ca26830a2f4.zip
Remove the "video" feature and its associated custom JPEG handling.
Having the client specifiy the video region is conceptually wrong and a problem like this should be handled by better encoding selection. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3635 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/VNCServerST.h')
-rw-r--r--common/rfb/VNCServerST.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h
index ddd73c92..7503bd39 100644
--- a/common/rfb/VNCServerST.h
+++ b/common/rfb/VNCServerST.h
@@ -84,7 +84,6 @@ namespace rfb {
virtual void serverCutText(const char* str, int len);
virtual void add_changed(const Region &region);
virtual void add_copied(const Region &dest, const Point &delta);
- virtual void set_video_area(const Rect &rect);
virtual bool clientsReadyForUpdate();
virtual void tryUpdate();
virtual void setCursor(int width, int height, const Point& hotspot,
@@ -192,19 +191,6 @@ namespace rfb {
void setFTManager(rfb::SFileTransferManager *pFTManager) { m_pFTManager = pFTManager; };
- // Enable/disable support for TightVNC-specific VideoRectangleSelection
- // client message. This is a protocol option that lets a client select a
- // rectangle to be treated by the server as video data. Once selected, this
- // part of the framebuffer will be sent using JpegEncoder, on each update
- // request, as we expect that video data is changing continuously. By
- // default, this option is disabled, as it's rather a specialized feature
- // and video selection GUI can confuse users of the TigerVNC client.
- void enableVideoSelection(bool enable);
- bool isVideoSelectionEnabled() const;
-
- void setVideoRectangle(const Rect& r);
- void setDefaultVideoRectangle(const Rect& r);
-
protected:
friend class VNCSConnectionST;
@@ -241,7 +227,6 @@ namespace rfb {
bool needRenderedCursor();
void checkUpdate();
- void checkVideoUpdate();
SSecurityFactory* securityFactory;
QueryConnectionHandler* queryConnectionHandler;
@@ -253,12 +238,6 @@ namespace rfb {
time_t lastConnectionTime;
bool disableclients;
-
- bool m_videoSelectionEnabled;
- Rect m_videoRect;
- Rect m_defaultVideoRect;
-
- void applyVideoRectangle();
};
};