Files
Upsilon/apps/home/app.cpp
Émilie Feral 30f37213d1 [escher][apps] add pointer to the container from the app and a method to
access the toolbox from the container

Change-Id: I89eb598b4a7d317d70d5a1f13b79422d35438d68
2016-11-10 10:55:15 +01:00

17 lines
288 B
C++

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