summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@XPS-SUSE.site>2009-03-12 22:23:10 +0900
committerSam Spilsbury <Sam@XPS-SUSE.site>2009-03-12 22:23:10 +0900
commit3479d686a75d4c54e74f3d02631a2a5121fa5ff4 (patch)
treeabccda6985ffbde21420a6bdfc713d8396a93553
parent5bbbcabbb438101f11e6b8a9e5798fac13d9a3e9 (diff)
downloadmousepoll-3479d686a75d4c54e74f3d02631a2a5121fa5ff4.tar.gz
mousepoll-3479d686a75d4c54e74f3d02631a2a5121fa5ff4.tar.bz2
Define function
-rw-r--r--mousepoll.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/mousepoll.cpp b/mousepoll.cpp
index 4c126b5..159066f 100644
--- a/mousepoll.cpp
+++ b/mousepoll.cpp
@@ -110,6 +110,12 @@ MousepollScreen::removeTimer (MousePoller *poller)
}
void
+MousePoller::setCallback (MousePoller::CallBack callback)
+{
+ mCallback = callback;
+}
+
+void
MousePoller::start ()
{
MOUSEPOLL_SCREEN (screen);