mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-28 15:12:19 +03:00
recovery
This commit is contained in:
27
include/items/vInput.h
Normal file
27
include/items/vInput.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifdef EnableInput
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
|
||||
#include "Consts.h"
|
||||
#include "Global.h"
|
||||
|
||||
class Input;
|
||||
|
||||
typedef std::vector<Input> MyInputVector;
|
||||
|
||||
class Input {
|
||||
public:
|
||||
Input(String key, String widget);
|
||||
~Input();
|
||||
|
||||
void execute(String value);
|
||||
|
||||
private:
|
||||
String _key;
|
||||
};
|
||||
|
||||
extern MyInputVector* myInput;
|
||||
|
||||
extern void inputValue();
|
||||
extern void inputExecute();
|
||||
#endif
|
||||
Reference in New Issue
Block a user