mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
20 lines
539 B
C++
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;
|
|
}
|
|
|
|
}
|