supla-device
Loading...
Searching...
No Matches
sw_update.h
1// SPDX-FileCopyrightText: AC SOFTWARE SP. Z O.O.
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#ifndef SRC_SUPLA_NETWORK_HTML_SW_UPDATE_H_
5#define SRC_SUPLA_NETWORK_HTML_SW_UPDATE_H_
6
7#include <supla/network/html_element.h>
8
10
11namespace Supla {
12
13namespace Html {
14
15class SwUpdate : public HtmlElement {
16 public:
17 explicit SwUpdate(SuplaDeviceClass* sdc);
18 virtual ~SwUpdate();
19 void send(Supla::WebSender* sender) override;
20 bool handleResponse(const char* key, const char* value) override;
21
22 protected:
23 SuplaDeviceClass* sdc = nullptr;
24};
25
26}; // namespace Html
27}; // namespace Supla
28
29#endif // SRC_SUPLA_NETWORK_HTML_SW_UPDATE_H_
Definition SuplaDevice.h:167
Definition html_element.h:22
Definition sw_update.h:15
Definition web_sender.h:160