Files
Upsilon/apps/graph/graph_app.cpp
Romain Goyet 53cf3e2ead [Escher] Responder can get a pointer to the parent App
We assume the root parent is the App. This works well because each view
controller is a Responder.

Change-Id: I5d90053949a4ffbdb78746cc85430a15138e48e7
2016-08-12 10:12:22 +02:00

14 lines
303 B
C++

#include "graph_app.h"
GraphApp::GraphApp() :
App(),
m_listController(ListController(nullptr)),
m_graphController(GraphController(nullptr)),
m_tabViewController(this, &m_listController, &m_graphController)
{
}
ViewController * GraphApp::rootViewController() {
return &m_tabViewController;
}