1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-16 07:23:07 +01:00

remove GwConfigItem and write operations, log passwords on USB

This commit is contained in:
wellenvogel
2021-12-13 22:10:28 +01:00
parent feb6b8860a
commit b591c7ff12
5 changed files with 25 additions and 38 deletions

View File

@@ -5,12 +5,15 @@
#include "GwLog.h"
#include "GwConfigItem.h"
#include "GwConfigDefinitions.h"
#include <map>
class GwConfigHandler: public GwConfigDefinitions{
private:
Preferences prefs;
GwLog *logger;
typedef std::map<String,String> StringMap;
StringMap changedValues;
public:
public:
GwConfigHandler(GwLog *logger);
@@ -23,7 +26,6 @@ class GwConfigHandler: public GwConfigDefinitions{
String getString(const String name,const String defaultv="") const;
bool getBool(const String name,bool defaultv=false) const ;
int getInt(const String name,int defaultv=0) const;
GwConfigItem * findConfig(const String name, bool dummy=false);
GwConfigInterface * getConfigItem(const String name, bool dummy=false) const;
private:
};