supla-device
Loading...
Searching...
No Matches
src
supla
network
html
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
10
namespace
Supla {
11
12
namespace
Html {
13
14
class
ButtonHoldTimeParameters
:
public
HtmlElement
{
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_
Supla::HtmlElement
Definition
html_element.h:22
Supla::Html::ButtonHoldTimeParameters
Definition
button_hold_time_parameters.h:14
Supla::WebSender
Definition
web_sender.h:160
Generated by
1.12.0