The "rfb_win32" library merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@523 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb_win32/CPointer.h b/rfb_win32/CPointer.h
index f111de7..b591601 100644
--- a/rfb_win32/CPointer.h
+++ b/rfb_win32/CPointer.h
@@ -1,5 +1,5 @@
-/* Copyright (C) 2002-2003 RealVNC Ltd. All Rights Reserved.
- *
+/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
+ *
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -25,14 +25,12 @@
#include <rdr/Exception.h>
#include <rfb/Configuration.h>
-#include <rfb/CMsgWriter.h>
+#include <rfb/InputHandler.h>
#include <rfb/Rect.h>
#include <rfb_win32/IntervalTimer.h>
namespace rfb {
- class CMsgWriter;
-
namespace win32 {
class CPointer {
@@ -40,8 +38,8 @@
CPointer();
~CPointer();
- void pointerEvent(CMsgWriter* writer, int x, int y, int buttonMask);
- void handleTimer(CMsgWriter* writer, int timerId);
+ void pointerEvent(InputHandler* writer, const Point& pos, int buttonMask);
+ void handleTimer(InputHandler* writer, int timerId);
void setHWND(HWND w) {intervalTimer.setHWND(w); threeTimer.setHWND(w);}
void setIntervalTimerId(int id) {intervalTimer.setId(id);}
@@ -56,13 +54,13 @@
bool emulate3;
int pointerEventInterval;
- void intervalPointerEvent(CMsgWriter* writer, int x, int y, int buttonMask);
+ void intervalPointerEvent(InputHandler* writer, const Point& pos, int buttonMask);
IntervalTimer intervalTimer;
bool intervalQueued;
Point intervalPos;
int intervalMask;
- void threePointerEvent(CMsgWriter* writer, int x, int y, int buttonMask);
+ void threePointerEvent(InputHandler* writer, const Point& pos, int buttonMask);
IntervalTimer threeTimer;
Point threePos;
int threeMask;