#pragma once #include "CppCommon/NetQt/WebApi/ExeGet.h" namespace Incart::Net::WebApi { class exeGetFlash : public exeGet { // создась сигнал события Q_OBJECT public: exeGetFlash() : exeGet() {} void exe(ParsingURI& uri, QTcpSocket* socket) override { Common::JTerminal() << __FUNCTION__; if(uri.getSettings().isEmpty()) { m_resp->ret200(); emit signalSetFlash(); } else { m_resp->ret501(); } sendResponse(socket); } signals: void signalSetFlash(); }; } // namespace Incart::Net::WebApi