From ff00bf963d88f0f741d36da6dca9c765bd7c7a0d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 24 Oct 2002 20:16:06 +0000 Subject: [PATCH] cleanup --- stepmania/src/IniFile.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/stepmania/src/IniFile.h b/stepmania/src/IniFile.h index 81ccbf735b..3f1a7dddcc 100644 --- a/stepmania/src/IniFile.h +++ b/stepmania/src/IniFile.h @@ -13,14 +13,8 @@ class IniFile { - //all private variables -private: - - //stores pathname of ini file to read/write - CString path; - public: - //all keys are of this time + // all keys are of this type struct key { //list of values in key @@ -31,6 +25,9 @@ public: }; private: + //stores pathname of ini file to read/write + CString path; + //list of keys in ini CArray keys; @@ -38,7 +35,6 @@ private: CArray names; - //all private functions private: //returns index of specified value, in the specified key, or -1 if not found int FindValue(int keynum, const CString &valuename); @@ -47,7 +43,6 @@ private: int FindKey(const CString &keyname); - //public variables public: //will contain error info if one occurs @@ -55,8 +50,6 @@ public: CString error; - //public functions -public: //constructor, can specify pathname here instead of using SetPath later IniFile(CString inipath = "");