Numworks Epsilon  1.4.1
Graphing Calculator Operating System
app.cpp
Go to the documentation of this file.
1 #include "app.h"
2 #include "../i18n.h"
3 #include "../apps_container.h"
4 
5 extern "C" {
6 #include <assert.h>
7 }
8 
9 namespace Home {
10 
11 I18n::Message App::Descriptor::name() {
12  return I18n::Message::Apps;
13 }
14 
15 I18n::Message App::Descriptor::upperName() {
16  return I18n::Message::AppsCapital;
17 }
18 
20  return new App(container, this);
21 }
22 
24  static Descriptor descriptor;
25  return &descriptor;
26 }
27 
29  ::App(container, snapshot, &m_controller, I18n::Message::Warning),
31 {
32 }
33 
34 }
Definition: i18n.h:6
Snapshot * snapshot()
Definition: app.cpp:41
App(Container *container, Snapshot *snapshot, ViewController *rootViewController, I18n::Message warningMessage=(I18n::Message) 0)
Definition: app.cpp:30
ModalViewController m_modalViewController
Definition: app.h:65
I18n::Message name() override
Definition: app.cpp:11
Definition: app.cpp:9
I18n::Message upperName() override
Definition: app.cpp:15
Descriptor * descriptor() override
Definition: app.cpp:23
const Container * container() const
Definition: app.cpp:102
App * unpack(Container *container) override
Definition: app.cpp:19
Definition: app.h:11