summaryrefslogtreecommitdiffstats
path: root/EventHandler.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-12-24 01:04:02 +0100
committerneoraider <devnull@localhost>2007-12-24 01:04:02 +0100
commit953a6ff48ac6c46a0d81bedb0fbdafe5d637666e (patch)
tree2e918dd669dd5c34f59a4aed3cb3a71b1c0d2a3a /EventHandler.h
parent9b5296b04eef553dba951fa13936184b0f30cded (diff)
downloadzoomedit-953a6ff48ac6c46a0d81bedb0fbdafe5d637666e.tar
zoomedit-953a6ff48ac6c46a0d81bedb0fbdafe5d637666e.zip
zoomedit: Use tools for event handling and rendering
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_*/