|
@@ -1008,26 +1008,30 @@ public:
|
|
|
an errorID.
|
|
an errorID.
|
|
|
*/
|
|
*/
|
|
|
int Parse( const char* xml );
|
|
int Parse( const char* xml );
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
Load an XML file from disk.
|
|
Load an XML file from disk.
|
|
|
Returns XML_NO_ERROR (0) on success, or
|
|
Returns XML_NO_ERROR (0) on success, or
|
|
|
an errorID.
|
|
an errorID.
|
|
|
- */
|
|
|
|
|
|
|
+ */
|
|
|
int LoadFile( const char* filename );
|
|
int LoadFile( const char* filename );
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
Load an XML file from disk. You are responsible
|
|
Load an XML file from disk. You are responsible
|
|
|
for providing and closing the FILE*.
|
|
for providing and closing the FILE*.
|
|
|
|
|
|
|
|
Returns XML_NO_ERROR (0) on success, or
|
|
Returns XML_NO_ERROR (0) on success, or
|
|
|
an errorID.
|
|
an errorID.
|
|
|
- */
|
|
|
|
|
|
|
+ */
|
|
|
int LoadFile( FILE* );
|
|
int LoadFile( FILE* );
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
Save the XML file to disk.
|
|
Save the XML file to disk.
|
|
|
Returns XML_NO_ERROR (0) on success, or
|
|
Returns XML_NO_ERROR (0) on success, or
|
|
|
an errorID.
|
|
an errorID.
|
|
|
*/
|
|
*/
|
|
|
int SaveFile( const char* filename );
|
|
int SaveFile( const char* filename );
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
Save the XML file to disk. You are responsible
|
|
Save the XML file to disk. You are responsible
|
|
|
for providing and closing the FILE*.
|
|
for providing and closing the FILE*.
|