mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
26 lines
509 B
C++
26 lines
509 B
C++
#ifndef CALCULATION_APP_H
|
|
#define CALCULATION_APP_H
|
|
|
|
#include "edit_expression_controller.h"
|
|
#include "history_controller.h"
|
|
#include <escher.h>
|
|
|
|
namespace Calculation {
|
|
|
|
class App : public ::App {
|
|
public:
|
|
App(Context * context);
|
|
Context * globalContext();
|
|
protected:
|
|
ViewController * rootViewController() override;
|
|
private:
|
|
Context * m_globalContext;
|
|
CalculationStore m_calculationStore;
|
|
HistoryController m_historyController;
|
|
EditExpressionController m_editExpressionController;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|