2020-05-06 23:23:46 +03:00
|
|
|
#ifndef DEFAULTCONTROLLER_H
|
|
|
|
#define DEFAULTCONTROLLER_H
|
|
|
|
#include <patronum.h>
|
|
|
|
|
|
|
|
class DefaultController : public Patronum::Controller
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DefaultController();
|
2020-05-07 16:08:56 +03:00
|
|
|
QVariantMap getResponce();
|
2021-04-28 18:38:39 +03:00
|
|
|
bool isFinished() const;
|
2020-05-07 16:08:56 +03:00
|
|
|
|
|
|
|
protected:
|
|
|
|
void handleResponce(const QVariantMap &feature);
|
2021-04-28 18:38:39 +03:00
|
|
|
void finished();
|
2020-05-07 16:08:56 +03:00
|
|
|
|
|
|
|
private:
|
|
|
|
QVariantMap _receiveData;
|
2021-04-28 18:38:39 +03:00
|
|
|
bool _finished = false;
|
2020-05-07 16:08:56 +03:00
|
|
|
|
2020-05-06 23:23:46 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DEFAULTCONTROLLER_H
|