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
19
App
*
App::Snapshot::unpack
(
Container
*
container
) {
20
return
new
App
(
container
,
this
);
21
}
22
23
App::Descriptor
*
App::Snapshot::descriptor
() {
24
static
Descriptor
descriptor;
25
return
&descriptor;
26
}
27
28
App::App
(
Container
*
container
,
Snapshot
*
snapshot
) :
29
::
App
(
container
,
snapshot
, &m_controller,
I18n
::Message::Warning),
30
m_controller(&
m_modalViewController
, (
AppsContainer
*)
container
,
snapshot
)
31
{
32
}
33
34
}
I18n
Definition:
i18n.h:6
Container
Definition:
container.h:18
App::snapshot
Snapshot * snapshot()
Definition:
app.cpp:41
app.h
App::App
App(Container *container, Snapshot *snapshot, ViewController *rootViewController, I18n::Message warningMessage=(I18n::Message) 0)
Definition:
app.cpp:30
AppsContainer
Definition:
apps_container.h:27
assert.h
App::m_modalViewController
ModalViewController m_modalViewController
Definition:
app.h:65
Home::App::Snapshot
Definition:
app.h:18
Home::App::Descriptor::name
I18n::Message name() override
Definition:
app.cpp:11
Home
Definition:
app.cpp:9
Home::App::Descriptor::upperName
I18n::Message upperName() override
Definition:
app.cpp:15
Home::App::Snapshot::descriptor
Descriptor * descriptor() override
Definition:
app.cpp:23
Home::App::Descriptor
Definition:
app.h:13
App::container
const Container * container() const
Definition:
app.cpp:102
Home::App::Snapshot::unpack
App * unpack(Container *container) override
Definition:
app.cpp:19
Home::App
Definition:
app.h:11
epsilon
apps
home
app.cpp
Generated by
1.8.14