Files
Upsilon/apps/calculation/app.h
Émilie Feral 983905af59 [apps] Factorize app classes by creating a text field delegate app
Change-Id: Ic9c1ed5ba6eb620389cbe4a009f703ecbfe98c55
2016-12-19 17:30:29 +01:00

26 lines
563 B
C++

#ifndef CALCULATION_APP_H
#define CALCULATION_APP_H
#include "edit_expression_controller.h"
#include "local_context.h"
#include "history_controller.h"
#include "../text_field_delegate_app.h"
#include <escher.h>
namespace Calculation {
class App : public TextFieldDelegateApp {
public:
App(Container * container, Context * context);
Context * localContext() override;
private:
LocalContext m_localContext;
CalculationStore m_calculationStore;
HistoryController m_historyController;
EditExpressionController m_editExpressionController;
};
}
#endif