Files
Upsilon/apps/calculation/app.cpp
Émilie Feral cc297374ba [escher] handle syntax error by making some apps text field delegate
Change-Id: I790148c321a5a2944b96cc283491a29260b2ed38
2016-11-04 16:17:30 +01:00

20 lines
539 B
C++

#include "app.h"
#include "calculation_icon.h"
namespace Calculation {
App::App(Context * context) :
::App(&m_editExpressionController, "Calcul", ImageStore::CalculationIcon),
m_globalContext(context),
m_calculationStore(CalculationStore()),
m_historyController(HistoryController(&m_editExpressionController, &m_calculationStore)),
m_editExpressionController(EditExpressionController(&m_modalViewController, &m_historyController, &m_calculationStore, this))
{
}
Context * App::globalContext() {
return m_globalContext;
}
}