mirror of
https://github.com/Fishwaldo/qt-openzwave.git
synced 2025-07-13 08:38:22 +00:00
15 lines
No EOL
397 B
C++
15 lines
No EOL
397 B
C++
#include "mqttcommands/close.h"
|
|
|
|
MqttCommand_Close::MqttCommand_Close(QObject *parent) :
|
|
MqttCommand(parent)
|
|
{
|
|
}
|
|
MqttCommand* MqttCommand_Close::Create(QObject *parent) {
|
|
return new MqttCommand_Close(parent);
|
|
}
|
|
|
|
bool MqttCommand_Close::processMessage(rapidjson::Document &msg) {
|
|
Q_UNUSED(msg);
|
|
QTOZWManager *mgr = getOZWManager();
|
|
return this->sendSimpleStatus(mgr->close());
|
|
} |