mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 15:20:39 +01:00
28 lines
638 B
C++
28 lines
638 B
C++
#ifndef CALCULATION_APP_H
|
|
#define CALCULATION_APP_H
|
|
|
|
#include "edit_expression_controller.h"
|
|
#include "evaluate_context.h"
|
|
#include "history_controller.h"
|
|
#include "../expression_text_field_delegate.h"
|
|
#include <escher.h>
|
|
|
|
namespace Calculation {
|
|
|
|
class App : public ::App, public ExpressionTextFieldDelegate {
|
|
public:
|
|
App(Context * context);
|
|
Context * globalContext();
|
|
Context * evaluateContext() override;
|
|
private:
|
|
Context * m_globalContext;
|
|
EvaluateContext m_evaluateContext;
|
|
CalculationStore m_calculationStore;
|
|
HistoryController m_historyController;
|
|
EditExpressionController m_editExpressionController;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|