Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Diff: Events/EventSource.h
- Revision:
- 0:0a590815d51c
- Child:
- 1:48796b602c86
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Events/EventSource.h Fri Mar 25 13:47:04 2016 +0000 @@ -0,0 +1,18 @@ +#ifndef SIMPLEGUI_EVENT_SOURCE_H +#define SIMPLEGUI_EVENT_SOURCE_H + +#include "EventDispatcher.h" + +/** +* Interface defining a class which sources events +**/ +class EventSource { + + public: + + virtual void setDispatcher(EventDispatcher* dispatcher) = 0; + +}; + + +#endif \ No newline at end of file