Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Events/EventSource.h
- Committer:
- duncanFrance
- Date:
- 2016-05-28
- Revision:
- 18:d849f3ada858
- Parent:
- 12:63db16fea709
File content as of revision 18:d849f3ada858:
#ifndef SIMPLEGUI_EVENT_SOURCE_H #define SIMPLEGUI_EVENT_SOURCE_H #include "EventDispatcher.h" /** * Interface defining a class which sources events **/ class EventSource { public: EventSource(EventDispatcher* dispatcher) : _eventDispatcher(dispatcher) {} protected: EventDispatcher* _eventDispatcher; }; #endif