1
0

cIniFile: Renamed functions to make meaning more explicit.

For example KeyComment() -> GetKeyComment() / AddKeyComment()
This commit is contained in:
madmaxoft
2013-10-25 11:38:14 +02:00
parent 9e9198e090
commit 323ebf119f
6 changed files with 322 additions and 584 deletions

View File

@@ -47,15 +47,15 @@ public:
{
return;
}
long KeyID = Ini.FindKey("Items");
int KeyID = Ini.FindKey("Items");
if (KeyID == cIniFile::noID)
{
return;
}
unsigned NumValues = Ini.GetNumValues(KeyID);
for (unsigned i = 0; i < NumValues; i++)
int NumValues = Ini.GetNumValues(KeyID);
for (int i = 0; i < NumValues; i++)
{
AString Name = Ini.ValueName(KeyID, i);
AString Name = Ini.GetValueName(KeyID, i);
if (Name.empty())
{
continue;