Files
Upsilon/apps/calculation/app.cpp
Émilie Feral e3e0fb2120 [escher] In app, add an upperName
Change-Id: Iea37749e446c721b5e85af063681e2a98c0e4f37
2017-01-27 11:50:42 +01:00

20 lines
644 B
C++

#include "app.h"
#include "calculation_icon.h"
namespace Calculation {
App::App(Container * container, Context * context) :
TextFieldDelegateApp(container, &m_editExpressionController, "Calculs", "CALCULS", ImageStore::CalculationIcon),
m_localContext(LocalContext((GlobalContext *)context, &m_calculationStore)),
m_calculationStore(CalculationStore()),
m_historyController(HistoryController(&m_editExpressionController, &m_calculationStore)),
m_editExpressionController(EditExpressionController(&m_modalViewController, &m_historyController, &m_calculationStore))
{
}
Context * App::localContext() {
return &m_localContext;
}
}