aboutsummaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver/PollingManager.h
diff options
context:
space:
mode:
authorConstantin Kaplinsky <const@tightvnc.com>2007-10-09 12:03:15 +0000
committerConstantin Kaplinsky <const@tightvnc.com>2007-10-09 12:03:15 +0000
commit6bb4bf15b95ff783beee10e869d428edd9bbbd81 (patch)
tree9ad0ff6255ec8555650297032a523491a3f4f499 /unix/x0vncserver/PollingManager.h
parent646998a6ce14321d5facefca84602fbdca9a9e62 (diff)
downloadtigervnc-6bb4bf15b95ff783beee10e869d428edd9bbbd81.tar.gz
tigervnc-6bb4bf15b95ff783beee10e869d428edd9bbbd81.zip
Code improvement -- the code from detectVideo() was split into two functions, handleVideo() and detectVideo().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2353 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/x0vncserver/PollingManager.h')
-rw-r--r--unix/x0vncserver/PollingManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/x0vncserver/PollingManager.h b/unix/x0vncserver/PollingManager.h
index 7d5a1230..3f77081d 100644
--- a/unix/x0vncserver/PollingManager.h
+++ b/unix/x0vncserver/PollingManager.h
@@ -99,7 +99,8 @@ private:
int checkRow(int x, int y, int w, bool *pmxChanged);
void sendChanges(bool *pmxChanged);
- bool detectVideo(bool *pmxChanged);
+ bool handleVideo(bool *pmxChanged);
+ void detectVideo();
void getVideoAreaRect(Rect *result);