move XML loading and saving into XmlFileUtil, reducing XNode

to a data structure
This commit is contained in:
Glenn Maynard
2006-10-02 05:53:56 +00:00
parent f8e3807996
commit 19e7328d78
9 changed files with 496 additions and 505 deletions
+2 -1
View File
@@ -55,6 +55,7 @@
#include "AdjustSync.h"
#include "SongUtil.h"
#include "song.h"
#include "XmlFileUtil.h"
//
// Defines
@@ -2619,7 +2620,7 @@ void ScreenGameplay::SaveReplay()
RString sFileName = ssprintf( "replay%05d.xml", iIndex );
p->SaveToFile( "Save/"+sFileName );
XmlFileUtil::SaveToFile( p, "Save/"+sFileName );
SAFE_DELETE( p );
return;
}