qt-openzwave/qt-ozwdaemon/mqttcommands/close.cpp

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());
}