RageFileBasic

This commit is contained in:
Glenn Maynard
2004-12-18 05:37:53 +00:00
parent b609af7cce
commit 6cd9622e05
2 changed files with 19 additions and 12 deletions
+4 -3
View File
@@ -21,7 +21,7 @@
#include <vector>
struct DateTime;
class RageFile;
class RageFileBasic;
struct XAttr;
typedef std::vector<XAttr*> XAttrs;
@@ -117,7 +117,7 @@ struct XAttr
XNode* parent;
bool GetXML( RageFile &f, DISP_OPT *opt = &optDefault );
bool GetXML( RageFileBasic &f, DISP_OPT *opt = &optDefault );
};
// XMLNode structure
@@ -146,10 +146,11 @@ struct XNode
// Load/Save XML
char* Load( const char* pszXml, PARSEINFO *pi = &piDefault );
char* LoadAttributes( const char* pszAttrs, PARSEINFO *pi = &piDefault );
bool GetXML( RageFile &f, DISP_OPT *opt = &optDefault );
bool GetXML( RageFileBasic &f, DISP_OPT *opt = &optDefault );
bool LoadFromFile( CString sFile, PARSEINFO *pi = &piDefault );
bool SaveToFile( CString sFile, DISP_OPT *opt = &optDefault );
bool SaveToFile( RageFileBasic &f, DISP_OPT *opt = &optDefault );
// in own attribute list
const XAttr *GetAttr( const char* attrname ) const;