1 #include <lib/base/eerror.h>
2 #include <lib/base/econfig.h>
3 #include <lib/base/init.h>
4 #include <lib/base/init_num.h>
7 eConfig *eConfig::instance;
14 setName(CONFIGDIR "/enigma/registry");
16 if (e == NC_ERR_CORRUPT)
18 eWarning("CORRUTPED REGISTRY!");
19 ::remove(CONFIGDIR "/enigma/registry");
25 mkdir(CONFIGDIR "/enigma", 0777);
27 eFatal("error while opening/creating registry - create " CONFIGDIR "/enigma");
30 eFatal("still can't open configfile");
34 getKey("/elitedvb/pins/parentallock", ppin );
43 eAutoInitP0<eConfig> init_eRCConfig(eAutoInitNumbers::configuration, "Configuration");