mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 07:40:42 +01:00
21 lines
318 B
C++
21 lines
318 B
C++
#include "app.h"
|
|
#include "../apps_container.h"
|
|
extern "C" {
|
|
#include <assert.h>
|
|
}
|
|
|
|
namespace Home {
|
|
|
|
App::App(AppsContainer * container) :
|
|
::App(),
|
|
m_controller(Controller(this, container))
|
|
{
|
|
assert(container->appAtIndex(0) == this);
|
|
}
|
|
|
|
ViewController * App::rootViewController() {
|
|
return &m_controller;
|
|
}
|
|
|
|
}
|