Some tidy up of sprintf to StringFromFormat

This commit is contained in:
Matthew Parlane
2014-02-08 14:23:34 +13:00
parent 64e01ec763
commit ebff7974c3
13 changed files with 64 additions and 111 deletions

View File

@ -140,6 +140,10 @@ public:
void SetLines(const char* sectionName, const std::vector<std::string> &lines);
bool GetLines(const char* sectionName, std::vector<std::string>& lines, const bool remove_comments = true) const;
inline bool DeleteKey(const char* sectionName, const std::string& key)
{
return DeleteKey(sectionName, key.c_str());
}
bool DeleteKey(const char* sectionName, const char* key);
bool DeleteSection(const char* sectionName);