Refactoring: now PollingManager is owned by XPixelBuffer. No other classes
know about PollingManager.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2576 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/x0vncserver/PollingManager.h b/unix/x0vncserver/PollingManager.h
index 779e88b..2ed9ff5 100644
--- a/unix/x0vncserver/PollingManager.h
+++ b/unix/x0vncserver/PollingManager.h
@@ -38,19 +38,10 @@
public:
- PollingManager(Display *dpy, const Image *image, ImageFactory *factory,
+ PollingManager(Display *dpy, const Image *image, ImageFactory &factory,
int offsetLeft = 0, int offsetTop = 0);
virtual ~PollingManager();
- // Currently, these functions do nothing. In past versions, we used
- // to poll area around the pointer if its position has been changed
- // recently. But that rather decreased overal polling performance,
- // so we don't do that any more. However, pointer position may be a
- // useful hint and might be used in future code, so we do not remove
- // these functions, just in case.
- void setPointerPos(const Point &pos) {}
- void unsetPointerPos() {}
-
void poll(VNCServer *server);
protected: