#pragma once #include #include #include "logger.h" #include namespace Buildings { class MainHandler; class RelayInfoHandler : public QObject , protected Interface::Fts::SetRelayInfoRequestHandler { Q_OBJECT public: explicit RelayInfoHandler(MainHandler *mainHandler); ~RelayInfoHandler(); bool init(); private Q_SLOTS: private: NGL::INGLLogger &m_logger; void onSetRelayInfoRequest(const rti::core::SampleIdentity &cookie, const SetRelayInfoRequest &request) override; Core::FunctionReplyObject onSetRelayInfoRequestInternal(const SetRelayInfoRequest &data); MainHandler *m_mainHandler; }; }