aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/EmulateMB.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/EmulateMB.cxx')
-rw-r--r--vncviewer/EmulateMB.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/vncviewer/EmulateMB.cxx b/vncviewer/EmulateMB.cxx
index 44d92752..89470274 100644
--- a/vncviewer/EmulateMB.cxx
+++ b/vncviewer/EmulateMB.cxx
@@ -199,7 +199,8 @@ EmulateMB::EmulateMB()
{
}
-void EmulateMB::filterPointerEvent(const rfb::Point& pos, uint16_t buttonMask)
+void EmulateMB::filterPointerEvent(const core::Point& pos,
+ uint16_t buttonMask)
{
int btstate;
int action1, action2;
@@ -277,7 +278,7 @@ void EmulateMB::filterPointerEvent(const rfb::Point& pos, uint16_t buttonMask)
}
}
-void EmulateMB::handleTimeout(rfb::Timer *t)
+void EmulateMB::handleTimeout(core::Timer* t)
{
int action1, action2;
uint16_t buttonMask;
@@ -312,7 +313,8 @@ void EmulateMB::handleTimeout(rfb::Timer *t)
state = stateTab[state][4][2];
}
-void EmulateMB::sendAction(const rfb::Point& pos, uint16_t buttonMask, int action)
+void EmulateMB::sendAction(const core::Point& pos,
+ uint16_t buttonMask, int action)
{
assert(action != 0);
@@ -332,4 +334,4 @@ int EmulateMB::createButtonMask(uint16_t buttonMask)
// Set the left and right buttons according to the action
return buttonMask |= emulatedButtonMask;
-} \ No newline at end of file
+}