summaryrefslogtreecommitdiff
path: root/src/touchactions.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-05 14:39:06 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-05 14:39:06 +0300
commiteb37dba283cab99816c5d227ad3744a8bb19d2c2 (patch)
treeb078c8be48ad37a0c64db5701ef3e551c0c7c3e5 /src/touchactions.h
parentc0ec0ae9ec97f89a7bfc45f9428dac61a5fef45c (diff)
downloadplus-eb37dba283cab99816c5d227ad3744a8bb19d2c2.tar.gz
plus-eb37dba283cab99816c5d227ad3744a8bb19d2c2.tar.bz2
plus-eb37dba283cab99816c5d227ad3744a8bb19d2c2.tar.xz
plus-eb37dba283cab99816c5d227ad3744a8bb19d2c2.zip
Simplify touch manager events.
Diffstat (limited to 'src/touchactions.h')
-rw-r--r--src/touchactions.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/touchactions.h b/src/touchactions.h
index e76836a7f..080f02c6f 100644
--- a/src/touchactions.h
+++ b/src/touchactions.h
@@ -25,16 +25,16 @@
#include "localconsts.h"
-class MouseInput;
-
-void showKeyboard(const MouseInput &mouseInput);
+#define decHandler(name) void name(const MouseInput &mouseInput)
-void padClick(const MouseInput &mouseInput);
-
-void padEvents(const MouseInput &mouseInput);
+class MouseInput;
-void padOut(const MouseInput &mouseInput);
+decHandler(showKeyboard);
+decHandler(padClick);
+decHandler(padEvents);
+decHandler(padOut);
+decHandler(padUp);
-void padUp(const MouseInput &mouseInput);
+#undef decHandler
#endif