[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
This commit is contained in:
Romain Goyet
2016-08-12 10:12:22 +02:00
parent 6e0aeaf501
commit 53cf3e2ead
16 changed files with 42 additions and 23 deletions

View File

@@ -8,8 +8,8 @@ static const char * sMessages[] = {
"PPP15", "QQQ16", "RRR17", "SSS18", "TTT19"
};
ListController::ListController() :
ViewController(),
ListController::ListController(Responder * parentResponder) :
ViewController(parentResponder),
m_tableView(TableView(this)),
m_activeCell(0),
m_manualScrolling(0)