Files
Upsilon/apps/home/app.cpp
Émilie Feral a80a58b3a8 [escher] add a modal view controller as instance variable in app
Change-Id: I2d95b34e0242f500c651f7cdec9dbf5d92bdd833
2016-11-04 14:53:11 +01:00

17 lines
277 B
C++

#include "app.h"
#include "../apps_container.h"
extern "C" {
#include <assert.h>
}
namespace Home {
App::App(AppsContainer * container) :
::App(&m_controller),
m_controller(Controller(&m_modalViewController, container))
{
assert(container->appAtIndex(0) == this);
}
}