[Escher] Add a Container that lets us run multiple apps

Change-Id: I674348ed0ff48934eb248dc48735f4ba13c34692
This commit is contained in:
Romain Goyet
2016-08-12 15:15:28 +02:00
parent 09ac89a47c
commit 7789123913
15 changed files with 169 additions and 47 deletions

View File

@@ -1,15 +1,7 @@
#include "graph/graph_app.h"
#define USE_PIC_VIEW_APP 0
#if USE_PIC_VIEW_APP
#include "picview/picview_app.h"
#endif
#include "apps_container.h"
void ion_app() {
#if USE_PIC_VIEW_APP
PicViewApp picViewApp = PicViewApp();
picViewApp.run();
#endif
GraphApp graphApp = GraphApp();
graphApp.run();
AppsContainer container;
container.switchTo(AppsContainer::AppId::Graph);
container.run();
}