Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Events/EventListener.h
- Committer:
- duncanFrance
- Date:
- 2016-05-28
- Revision:
- 18:d849f3ada858
- Parent:
- 15:e69fd74d42e4
File content as of revision 18:d849f3ada858:
#ifndef SIMPLEGUI_EVENT_TARGET_H #define SIMPLEGUI_EVENT_TARGET_H // Need a forward declaration of EventListener here class EventListener; #include "EventHandler.h" class EventListener { public: virtual void handleEvent(Event e) =0; virtual void setEventHandler(EventHandler *handler) =0; virtual void unsetEventHandler(EventHandler* handler) =0; }; #endif