X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1347f3d1e04bedd1508589173f577673ee2c5554..04af0b0b4df91a7a1f579edf17f49a81d10db592:/stglibs/conffiles.lib/include/stg/conffiles.h?ds=sidebyside diff --git a/stglibs/conffiles.lib/include/stg/conffiles.h b/stglibs/conffiles.lib/include/stg/conffiles.h index bd78ae2d..49bb6ff3 100644 --- a/stglibs/conffiles.lib/include/stg/conffiles.h +++ b/stglibs/conffiles.lib/include/stg/conffiles.h @@ -64,8 +64,10 @@ public: int ReadDouble(const std::string & param, double * val, double defaultVal) const; void WriteString(const std::string & param, const char * val) { return WriteString(param, std::string(val)); } + void WriteString(const std::string & param, const std::string& val); void WriteInt(const std::string & param, int64_t val); void WriteDouble(const std::string & param, double val); + void WriteTime(const std::string & param, time_t val); int Error() const; int Flush() const;