summaryrefslogtreecommitdiff
path: root/src/touchactions.h
diff options
context:
space:
mode:
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