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:
@@ -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:
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user