tinance2-doorlock-controller/include/settings.h

20 lines
268 B
C++

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