tinance2-doorbot/include/settings.h

25 lines
351 B
C
Raw Normal View History

2023-06-13 18:01:13 +00:00
#ifndef SETTINGS_H
#define SETTINGS_H
#include <Preferences.h>
class Settings {
private:
bool disableDoor;
2023-12-28 09:14:36 +00:00
String doorMode;
2023-06-13 18:01:13 +00:00
public:
Settings();
void loadFromEEPROM();
void saveToEEPROM();
void setDisableDoor(bool value);
2023-12-28 09:14:36 +00:00
bool getDoorDisabled();
void setDoorMode(String value);
String getDoorMode();
2023-06-13 18:01:13 +00:00
};
#endif // SETTINGS_H