Files
Upsilon/apps/calculation/app.h
Émilie Feral af6a1c7046 [apps] add a method to get the global context in appsContainer
Change-Id: I4b7a4c1c64ae21c7e4f0193b3314d96cef805cbb
2016-11-10 17:26:07 +01:00

26 lines
603 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(Container * container, Context * context);
Context * evaluateContext() override;
private:
EvaluateContext m_evaluateContext;
CalculationStore m_calculationStore;
HistoryController m_historyController;
EditExpressionController m_editExpressionController;
};
}
#endif