supla-device
Loading...
Searching...
No Matches
time_parameters.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_TIME_PARAMETERS_H_
5#define SRC_SUPLA_NETWORK_HTML_TIME_PARAMETERS_H_
6
7#include <supla/network/html_element.h>
8
10
11namespace Supla {
12
13namespace Html {
14
16 public:
17 explicit TimeParameters(SuplaDeviceClass* sdc);
18 virtual ~TimeParameters();
19 void send(Supla::WebSender* sender) override;
20 bool handleResponse(const char* key, const char* value) override;
21 void onProcessingEnd() override;
22 private:
23 SuplaDeviceClass* sdc = nullptr;
24 bool processingStarted = false;
25 bool checkboxFound = false;
26};
27
28}; // namespace Html
29}; // namespace Supla
30
31#endif // SRC_SUPLA_NETWORK_HTML_TIME_PARAMETERS_H_
Definition SuplaDevice.h:167
Definition html_element.h:22
Definition time_parameters.h:15
Definition web_sender.h:160