Patronum/Tests/defaultcontroller.cpp

23 lines
425 B
C++
Raw Normal View History

2020-05-06 23:23:46 +03:00
#include "defaultcontroller.h"
DefaultController::DefaultController():
2020-05-07 16:08:56 +03:00
Patronum::Controller("TestPatronum") {
2020-05-06 23:23:46 +03:00
}
2020-05-07 16:08:56 +03:00
QVariantMap DefaultController::getResponce() {
return _receiveData;
}
2021-04-28 18:38:39 +03:00
bool DefaultController::isFinished() const {
return _finished;
}
2020-05-07 16:08:56 +03:00
void DefaultController::handleResponce(const QVariantMap &feature) {
_receiveData = feature;
}
2021-04-28 18:38:39 +03:00
void DefaultController::finished() {
_finished = true;
}