X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8d18bde0f40cac840d25b98e48b1a8dfcc2157ff..b12381fd076b83ab289dc38a14b701c4fbb76715:/stglibs/conffiles.lib/conffiles.h?ds=inline diff --git a/stglibs/conffiles.lib/conffiles.h b/stglibs/conffiles.lib/conffiles.h index d912d9ab..943fd4c8 100644 --- a/stglibs/conffiles.lib/conffiles.h +++ b/stglibs/conffiles.lib/conffiles.h @@ -45,7 +45,7 @@ typedef bool (*StringCaseCmp_t)(const string & str1, const string & str2); class CONFIGFILE { public: - CONFIGFILE(const string & fn); + CONFIGFILE(const string & fn, bool nook = false); ~CONFIGFILE(); const string & GetFileName() const; @@ -64,7 +64,7 @@ public: int ReadULongLongInt(const string & param, uint64_t *, uint64_t) const; int ReadDouble(const string & param, double * val, double defaultVal) const; - //int WriteString(const string & param, const char * val); + int WriteString(const string & param, const char * val) { return WriteString(param, std::string(val)); } int WriteString(const string & param, const string & val); int WriteInt(const string & param, int64_t val); int WriteDouble(const string & param, double val);