mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
34 lines
656 B
C++
34 lines
656 B
C++
#include "app.h"
|
|
#include "../apps_container.h"
|
|
#include "../i18n.h"
|
|
|
|
extern "C" {
|
|
#include <assert.h>
|
|
}
|
|
|
|
namespace Home {
|
|
|
|
App * App::Descriptor::build(Container * container) {
|
|
return new App(container, this);
|
|
}
|
|
|
|
I18n::Message App::Descriptor::name() {
|
|
return I18n::Message::Apps;
|
|
}
|
|
|
|
I18n::Message App::Descriptor::upperName() {
|
|
return I18n::Message::AppsCapital;
|
|
}
|
|
|
|
App::App(Container * container, Descriptor * descriptor) :
|
|
::App(container, &m_controller, descriptor, I18n::Message::Warning),
|
|
m_controller(&m_modalViewController, (AppsContainer *)container)
|
|
{
|
|
}
|
|
|
|
App::Descriptor * App::buildDescriptor() {
|
|
return new App::Descriptor();
|
|
}
|
|
|
|
}
|