From 953a6ff48ac6c46a0d81bedb0fbdafe5d637666e Mon Sep 17 00:00:00 2001 From: neoraider Date: Mon, 24 Dec 2007 00:04:02 +0000 Subject: zoomedit: Use tools for event handling and rendering --- EventHandler.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 EventHandler.h (limited to 'EventHandler.h') 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_*/ -- cgit v1.2.3