mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher] Only one app is on the heap at one time
Change-Id: I6c77601cb0cc883083a4dd05370ca543fa7951cc
This commit is contained in:
@@ -5,8 +5,24 @@ using namespace Shared;
|
||||
|
||||
namespace Statistics {
|
||||
|
||||
App::App(Container * container) :
|
||||
TextFieldDelegateApp(container, &m_tabViewController, I18n::Message::StatsApp, I18n::Message::StatsAppCapital, ImageStore::StatIcon),
|
||||
App * App::Descriptor::build(Container * container) {
|
||||
return new App(container, this);
|
||||
}
|
||||
|
||||
I18n::Message App::Descriptor::name() {
|
||||
return I18n::Message::StatsApp;
|
||||
}
|
||||
|
||||
I18n::Message App::Descriptor::upperName() {
|
||||
return I18n::Message::StatsAppCapital;
|
||||
}
|
||||
|
||||
const Image * App::Descriptor::icon() {
|
||||
return ImageStore::StatIcon;
|
||||
}
|
||||
|
||||
App::App(Container * container, Descriptor * descriptor) :
|
||||
TextFieldDelegateApp(container, &m_tabViewController, descriptor),
|
||||
m_store(),
|
||||
m_calculationController(&m_calculationAlternateEmptyViewController, &m_calculationHeader, &m_store),
|
||||
m_calculationAlternateEmptyViewController(&m_calculationHeader, &m_calculationController, &m_calculationController),
|
||||
@@ -25,4 +41,8 @@ App::App(Container * container) :
|
||||
{
|
||||
}
|
||||
|
||||
App::Descriptor * App::buildDescriptor() {
|
||||
return new App::Descriptor();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user