supla-device
Loading...
Searching...
No Matches
button_hold_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_BUTTON_HOLD_TIME_PARAMETERS_H_
5#define SRC_SUPLA_NETWORK_HTML_BUTTON_HOLD_TIME_PARAMETERS_H_
6
7#include <supla/network/html_element.h>
8#include <stdint.h>
9
10namespace Supla {
11
12namespace Html {
13
15 public:
16 explicit ButtonHoldTimeParameters(uint32_t defaultHoldTime = 700);
17 void send(Supla::WebSender* sender) override;
18 bool handleResponse(const char* key, const char* value) override;
19
20 protected:
21 uint32_t defaultHoldTime = 700;
22};
23
24}; // namespace Html
25}; // namespace Supla
26
27#endif // SRC_SUPLA_NETWORK_HTML_BUTTON_HOLD_TIME_PARAMETERS_H_
Definition html_element.h:22
Definition button_hold_time_parameters.h:14
Definition web_sender.h:160