tinance2-doorbot/include/settings.h

24 lines
351 B
C++

#ifndef SETTINGS_H
#define SETTINGS_H
#include <Preferences.h>
class Settings {
private:
bool disableDoor;
String doorMode;
public:
Settings();
void loadFromEEPROM();
void saveToEEPROM();
void setDisableDoor(bool value);
bool getDoorDisabled();
void setDoorMode(String value);
String getDoorMode();
};
#endif // SETTINGS_H