mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
add simplified version of XMLLoadFile() - preparation to move up a directory
svn path=/trunk/; revision=19706
This commit is contained in:
parent
6f9b454171
commit
ee6b7f5296
|
@ -849,9 +849,10 @@ XMLLoadInclude (
|
|||
}
|
||||
|
||||
XMLElement*
|
||||
XMLLoadFile ( const string& filename,
|
||||
const Path& path,
|
||||
XMLIncludes& includes )
|
||||
XMLLoadFile (
|
||||
const string& filename,
|
||||
const Path& path,
|
||||
XMLIncludes& includes )
|
||||
{
|
||||
XMLFile* f = new XMLFile();
|
||||
|
||||
|
@ -909,3 +910,11 @@ XMLLoadFile ( const string& filename,
|
|||
}
|
||||
return head;
|
||||
}
|
||||
|
||||
XMLElement*
|
||||
XMLLoadFile ( const string& filename )
|
||||
{
|
||||
Path path;
|
||||
XMLIncludes includes;
|
||||
return XMLLoadFile ( filename, path, includes );
|
||||
}
|
||||
|
|
|
@ -233,4 +233,7 @@ XMLLoadFile (
|
|||
const Path& path,
|
||||
XMLIncludes& includes );
|
||||
|
||||
XMLElement*
|
||||
XMLLoadFile ( const std::string& filename );
|
||||
|
||||
#endif // XML_H
|
||||
|
|
Loading…
Reference in a new issue