add SetValue

This commit is contained in:
Glenn Maynard
2003-02-09 00:46:35 +00:00
parent 3a38501b3b
commit 8eb3ac5c26
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -271,6 +271,11 @@ const IniFile::key *IniFile::GetKey(const CString &keyname) const
return &i->second;
}
void IniFile::SetValue(const CString &keyname, const key &key)
{
keys[keyname]=key;
}
void IniFile::RenameKey(const CString &from, const CString &to)
{
if(keys.find(from) == keys.end())