supla-device
Loading...
Searching...
No Matches
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
9namespace Supla {
10
11namespace Html {
12
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_
Definition button_type_parameters.h:13
Definition select_input_parameter.h:23