Foundation classes for a basic GUI implementing simple widgets and events. (Fork for custom changes.)
Fork of SimpleGUI by
Events/EventSource.h
- Committer:
- duncanFrance
- Date:
- 2016-03-25
- Revision:
- 1:48796b602c86
- Parent:
- 0:0a590815d51c
- Child:
- 12:63db16fea709
File content as of revision 1:48796b602c86:
#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) : _dispatcher(dispatcher) {} protected: EventDispatcher* _dispatcher; }; #endif