summaryrefslogtreecommitdiffstats
path: root/EventHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'EventHandler.h')
-rw-r--r--EventHandler.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/EventHandler.h b/EventHandler.h
new file mode 100644
index 0000000..7708341
--- /dev/null
+++ b/EventHandler.h
@@ -0,0 +1,11 @@
+#ifndef EVENTHANDLER_H_
+#define EVENTHANDLER_H_
+
+class EventHandler {
+ public:
+ virtual ~EventHandler() {}
+
+ virtual bool buttonPress(unsigned int button) = 0;
+};
+
+#endif /*EVENTHANDLER_H_*/