Numworks Epsilon  1.4.1
Graphing Calculator Operating System
app.h
Go to the documentation of this file.
1 #ifndef REGRESSION_APP_H
2 #define REGRESSION_APP_H
3 
4 #include <escher.h>
5 #include "../shared/text_field_delegate_app.h"
6 #include "store.h"
7 #include "store_controller.h"
8 #include "graph_controller.h"
10 
11 namespace Regression {
12 
14 public:
15  class Descriptor : public ::App::Descriptor {
16  public:
17  I18n::Message name() override;
18  I18n::Message upperName() override;
19  const Image * icon() override;
20  };
21  class Snapshot : public ::App::Snapshot, public TabViewDataSource {
22  public:
23  Snapshot();
24  App * unpack(Container * container) override;
25  void reset() override;
26  Descriptor * descriptor() override;
27  Store * store();
29  int * graphSelectedDotIndex();
32  private:
33  Store m_store;
34  Shared::CurveViewCursor m_cursor;
35  int m_graphSelectedDotIndex;
36  uint32_t m_modelVersion;
37  uint32_t m_rangeVersion;
38  };
39 private:
41  CalculationController m_calculationController;
42  AlternateEmptyViewController m_calculationAlternateEmptyViewController;
43  ButtonRowController m_calculationHeader;
44  GraphController m_graphController;
45  AlternateEmptyViewController m_graphAlternateEmptyViewController;
46  ButtonRowController m_graphHeader;
47  StackViewController m_graphStackViewController;
48  StoreController m_storeController;
49  ButtonRowController m_storeHeader;
50  StackViewController m_storeStackViewController;
51  TabViewController m_tabViewController;
52 };
53 
54 }
55 
56 #endif
I18n::Message upperName() override
Definition: app.cpp:13
void reset() override
Definition: app.cpp:34
Descriptor * descriptor() override
Definition: app.cpp:42
Snapshot * snapshot()
Definition: app.cpp:41
uint32_t * rangeVersion()
Definition: app.cpp:63
Definition: image.h:6
uint32_t * modelVersion()
Definition: app.cpp:59
I18n::Message name() override
Definition: app.cpp:9
const Image * icon() override
Definition: app.cpp:17
int * graphSelectedDotIndex()
Definition: app.cpp:55
unsigned int uint32_t
Definition: stdint.h:6
App * unpack(Container *container) override
Definition: app.cpp:30
Shared::CurveViewCursor * cursor()
Definition: app.cpp:51