Files
IoTManager/include/items/vInput.h

28 lines
345 B
C
Raw Normal View History

2020-11-15 01:44:25 +03:00
#pragma once
#include <Arduino.h>
#include "Global.h"
class Input;
typedef std::vector<Input> MyInputVector;
class Input {
public:
2020-11-15 02:46:27 +03:00
Input(String key, String widget);
2020-11-15 01:44:25 +03:00
~Input();
2020-11-15 02:46:27 +03:00
void execute(String value);
2020-11-15 01:44:25 +03:00
private:
String _key;
};
extern MyInputVector* myInput;
extern void input();
extern void inputExecute();