Numworks Epsilon
1.4.1
Graphing Calculator Operating System
app.h
Go to the documentation of this file.
1
#ifndef CALCULATION_APP_H
2
#define CALCULATION_APP_H
3
4
#include "
calculation_store.h
"
5
#include "
edit_expression_controller.h
"
6
#include "
history_controller.h
"
7
#include "../shared/text_field_delegate_app.h"
8
#include <
escher.h
>
9
10
namespace
Calculation
{
11
12
class
App
:
public
Shared::TextFieldDelegateApp
{
13
public
:
14
class
Descriptor
:
public
::App::Descriptor
{
15
public
:
16
I18n::Message
name
()
override
;
17
I18n::Message
upperName
()
override
;
18
const
Image
*
icon
()
override
;
19
};
20
class
Snapshot
:
public
::App::Snapshot
{
21
public
:
22
App
*
unpack
(
Container
*
container
)
override
;
23
void
reset
()
override
;
24
Descriptor
*
descriptor
()
override
;
25
CalculationStore
*
calculationStore
();
26
private
:
27
void
tidy()
override
;
28
CalculationStore
m_calculationStore;
29
};
30
bool
textFieldDidReceiveEvent
(::
TextField
* textField,
Ion::Events::Event
event)
override
;
31
bool
textInputIsCorrect
(
const
char
* text);
32
const
char
*
XNT
()
override
;
33
private
:
34
App
(
Container
*
container
,
Snapshot
*
snapshot
);
35
HistoryController
m_historyController;
36
EditExpressionController
m_editExpressionController;
37
};
38
39
}
40
41
#endif
Calculation::App::Snapshot::descriptor
Descriptor * descriptor() override
Definition:
app.cpp:32
Calculation::App::Descriptor
Definition:
app.h:14
edit_expression_controller.h
Calculation::HistoryController
Definition:
history_controller.h:14
Calculation::CalculationStore
Definition:
calculation_store.h:8
Container
Definition:
container.h:18
App::snapshot
Snapshot * snapshot()
Definition:
app.cpp:41
Calculation::App::textFieldDidReceiveEvent
bool textFieldDidReceiveEvent(::TextField *textField, Ion::Events::Event event) override
Definition:
app.cpp:52
escher.h
Image
Definition:
image.h:6
Calculation::App::Descriptor::name
I18n::Message name() override
Definition:
app.cpp:12
Calculation
Definition:
app.cpp:10
Ion::Events::Event
Definition:
events.h:9
Calculation::TextField
Definition:
text_field.h:8
Calculation::EditExpressionController
Definition:
edit_expression_controller.h:14
Calculation::App::Descriptor::upperName
I18n::Message upperName() override
Definition:
app.cpp:16
Calculation::App::Snapshot::calculationStore
CalculationStore * calculationStore()
Definition:
app.cpp:37
Calculation::App::XNT
const char * XNT() override
Definition:
app.cpp:88
Calculation::App::Snapshot
Definition:
app.h:20
Calculation::App::Descriptor::icon
const Image * icon() override
Definition:
app.cpp:20
Calculation::App
Definition:
app.h:12
Shared::TextFieldDelegateApp
Definition:
text_field_delegate_app.h:12
Calculation::App::Snapshot::reset
void reset() override
Definition:
app.cpp:28
history_controller.h
Calculation::App::textInputIsCorrect
bool textInputIsCorrect(const char *text)
Definition:
app.cpp:68
calculation_store.h
Calculation::App::Snapshot::unpack
App * unpack(Container *container) override
Definition:
app.cpp:24
Shared::TextFieldDelegateApp::container
AppsContainer * container()
Definition:
text_field_delegate_app.cpp:20
epsilon
apps
calculation
app.h
Generated by
1.8.14