merge IniFile and XmlFile

This commit is contained in:
Chris Danford
2005-01-07 14:28:00 +00:00
parent 5b2582cab3
commit 981e52ec58
27 changed files with 427 additions and 509 deletions
+2 -2
View File
@@ -220,7 +220,7 @@ Course *CourseID::ToCourse() const
XNode* CourseID::CreateNode() const
{
XNode* pNode = new XNode;
pNode->name = "Course";
pNode->m_sName = "Course";
if( !sPath.empty() )
pNode->AppendAttr( "Path", sPath );
@@ -232,7 +232,7 @@ XNode* CourseID::CreateNode() const
void CourseID::LoadFromNode( const XNode* pNode )
{
ASSERT( pNode->name == "Course" );
ASSERT( pNode->m_sName == "Course" );
pNode->GetAttrValue("Path", sPath);
pNode->GetAttrValue("FullTitle", sFullTitle);
}