Numworks Epsilon  1.4.1
Graphing Calculator Operating System
function_app.h
Go to the documentation of this file.
1 #ifndef SHARED_FUNCTION_APP_H
2 #define SHARED_FUNCTION_APP_H
3 
4 #include <poincare.h>
6 #include "curve_view_cursor.h"
7 #include "interval.h"
8 
9 class AppsContainer;
10 
11 namespace Shared {
12 
14 public:
15  class Snapshot : public ::App::Snapshot, public TabViewDataSource {
16  public:
17  Snapshot();
22  Interval * interval();
24  void reset() override;
25  protected:
28  private:
29  int m_indexFunctionSelectedByCursor;
30  uint32_t m_modelVersion;
31  uint32_t m_rangeVersion;
32  Poincare::Expression::AngleUnit m_angleUnitVersion;
33  };
34  virtual ~FunctionApp() = default;
36  void willBecomeInactive() override;
37 protected:
38  FunctionApp(Container * container, Snapshot * snapshot, ViewController * rootViewController);
39 };
40 
41 }
42 
43 #endif
CurveViewCursor * cursor()
Snapshot * snapshot()
Definition: app.cpp:41
unsigned int uint32_t
Definition: stdint.h:6
Poincare::Expression::AngleUnit * angleUnitVersion()
FunctionApp(Container *container, Snapshot *snapshot, ViewController *rootViewController)
void willBecomeInactive() override
virtual InputViewController * inputViewController()=0
virtual ~FunctionApp()=default