[Ion] Move to C++

Change-Id: Id75fca5e92a3fdf18258015bcda7cd70297b0fdb
This commit is contained in:
Romain Goyet
2016-08-23 16:30:15 +02:00
parent 00afebbe2d
commit 753a4a7cb5
56 changed files with 692 additions and 618 deletions

View File

@@ -1,7 +1,6 @@
#include <escher/app.h>
#include <escher/window.h>
extern "C" {
#include <ion.h>
#include <assert.h>
}
@@ -25,7 +24,7 @@ void App::setWindow(Window * window) {
window->redraw();
}
void App::processEvent(ion_event_t event) {
void App::processEvent(Ion::Events::Event event) {
Responder * responder = m_focusedResponder;
bool didHandleEvent = false;
while (responder) {