PersonalVotingMachine/extended-setup/main/impl/controllers/IndexController.cpp
2020-12-22 14:30:09 +02:00

24 lines
437 B
C++

/**
* @file IndexController.cpp
* @brief IndexController implementation file
* */
#include "controller.h"
IndexController::IndexController(){
this->vw = new IndexView();
}
void IndexController::index(){
this->vw->render((void *) "Welcome\n");
this->vw->setLabel("starting");
}
void IndexController::end(){
this->vw->render((void *) "End\n");
this->vw->setLabel("Click boot to start again");
this->vw->showLoader(false);
}