give the root node a name so that it's valid XML
This commit is contained in:
@@ -5,6 +5,11 @@
|
|||||||
#include "RageFile.h"
|
#include "RageFile.h"
|
||||||
#include "Foreach.h"
|
#include "Foreach.h"
|
||||||
|
|
||||||
|
IniFile::IniFile()
|
||||||
|
{
|
||||||
|
m_sName = "IniFile";
|
||||||
|
}
|
||||||
|
|
||||||
bool IniFile::ReadFile( const CString &sPath )
|
bool IniFile::ReadFile( const CString &sPath )
|
||||||
{
|
{
|
||||||
m_sPath = sPath;
|
m_sPath = sPath;
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ private:
|
|||||||
mutable CString m_sError;
|
mutable CString m_sError;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
IniFile();
|
||||||
|
|
||||||
/* Retrieve the filename of the last file loaded. */
|
/* Retrieve the filename of the last file loaded. */
|
||||||
CString GetPath() const { return m_sPath; }
|
CString GetPath() const { return m_sPath; }
|
||||||
const CString &GetError() const { return m_sError; }
|
const CString &GetError() const { return m_sError; }
|
||||||
|
|||||||
Reference in New Issue
Block a user