Add some additional manager methods etc

This commit is contained in:
Justin Hammond 2019-12-04 16:25:13 +08:00
parent 8c8da7fc03
commit e0f7cb9410
18 changed files with 225 additions and 4 deletions

View file

@ -0,0 +1,17 @@
#ifndef SETPOLLINTERVAL_H
#define SETPOLLINTERVAL_H
#include "mqttcommands/mqttcommands.h"
class MqttCommand_SetPollInterval : public MqttCommand {
Q_OBJECT
public:
static MqttCommand *Create(QObject *parent = nullptr);
static QString StaticGetCommand() { return "setPollInterval";};
QString GetCommand() override { return StaticGetCommand(); };
bool processMessage(rapidjson::Document &) override;
private:
MqttCommand_SetPollInterval(QObject *parent = nullptr);
};
#endif // SETPOLLINTERVAL_H