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
@@ -5,6 +5,7 @@
#include "song.h"
#include "Steps.h"
#include "XmlFile.h"
#include "XmlFileUtil.h"
#include "Course.h"
#include "SongUtil.h"
#include "StepsUtil.h"
@@ -391,7 +392,7 @@ void CatalogXml::Save( LoadingWindow *loading_window )
xml.AppendChild( "FooterText", FOOTER_TEXT );
xml.AppendChild( "FooterLink", FOOTER_LINK );
xml.SaveToFile( fn, CATALOG_XSL, false );
XmlFileUtil::SaveToFile( &xml, fn, CATALOG_XSL, false );
LOG->Trace( "Done." );
}