allow passing a file directly to IniFile

This commit is contained in:
Glenn Maynard
2004-12-10 09:46:09 +00:00
parent 57c218dd6e
commit 2474150aeb
2 changed files with 15 additions and 1 deletions
+4
View File
@@ -6,6 +6,8 @@
#include <map>
using namespace std;
class RageBasicFile;
class IniFile
{
public:
@@ -35,7 +37,9 @@ public:
const CString &GetError() const { return m_sError; }
bool ReadFile( const CString &sPath );
bool ReadFile( RageBasicFile &sFile );
bool WriteFile( const CString &sPath );
bool WriteFile( RageBasicFile &sFile );
void Reset();
int GetNumKeys() const;