Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TouchScreenGUIDemo
Diff: Events/EventSource.h
- Revision:
- 12:63db16fea709
- Parent:
- 1:48796b602c86
- Child:
- 18:d849f3ada858
--- a/Events/EventSource.h Fri Apr 22 16:12:42 2016 +0000
+++ b/Events/EventSource.h Sun May 08 14:42:08 2016 +0000
@@ -1,7 +1,7 @@
#ifndef SIMPLEGUI_EVENT_SOURCE_H
#define SIMPLEGUI_EVENT_SOURCE_H
-#include "EventDispatcher.h"
+#include "GUI.h"
/**
* Interface defining a class which sources events
@@ -10,11 +10,11 @@
public:
- EventSource(EventDispatcher* dispatcher) : _dispatcher(dispatcher) {}
+ EventSource(GUI* gui) : _gui(gui) {}
protected:
- EventDispatcher* _dispatcher;
+ GUI* _gui;
};