mirror of
https://github.com/Valeh2012/PersonalVotingMachine
synced 2024-09-29 01:11:05 +03:00
24 lines
437 B
C++
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);
|
|
}
|