1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
24
25
29
30
34
/* ... */
#include <gui/common/DemoPresenter.hpp>
DemoPresenter::DemoPresenter(DemoViewInterface& view) :
viewInterface(view)
{
}{ ... }
void DemoPresenter::backOptionSelected()
{
static_cast<FrontendApplication*>(Application::getInstance())->gotoMainMenuAnimatingButtonsScreen();
}{ ... }
void DemoPresenter::mcuLoadUpdated(uint8_t mcuLoad)
{
viewInterface.updateProcessorLoad(mcuLoad);
}{ ... }