supla-device
Loading...
Searching...
No Matches
src
supla
network
html
button_type_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_TYPE_PARAMETERS_H_
5
#define SRC_SUPLA_NETWORK_HTML_BUTTON_TYPE_PARAMETERS_H_
6
7
#include <supla/network/html/select_input_parameter.h>
8
9
namespace
Supla {
10
11
namespace
Html {
12
13
class
ButtonTypeParameters
:
public
SelectInputParameter
{
14
public
:
15
explicit
ButtonTypeParameters
(
int
id
,
const
char
*labelPrefix =
nullptr
);
16
17
void
addMonostableOption();
18
void
addBistableOption();
19
void
addMotionSensorOption();
20
void
addCentralControlOption();
21
22
// adds: monostable, bistable, and motion sensor
23
void
addDefaultOptions();
24
private
:
25
char
*labelPrefix =
nullptr
;
26
};
27
28
};
// namespace Html
29
};
// namespace Supla
30
31
#endif
// SRC_SUPLA_NETWORK_HTML_BUTTON_TYPE_PARAMETERS_H_
Supla::Html::ButtonTypeParameters
Definition
button_type_parameters.h:13
Supla::Html::SelectInputParameter
Definition
select_input_parameter.h:23
Generated by
1.12.0