mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:05:42 +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
2 changed files with 15 additions and 3 deletions
|
@ -849,9 +849,10 @@ XMLLoadInclude (
|
||||||
}
|
}
|
||||||
|
|
||||||
XMLElement*
|
XMLElement*
|
||||||
XMLLoadFile ( const string& filename,
|
XMLLoadFile (
|
||||||
const Path& path,
|
const string& filename,
|
||||||
XMLIncludes& includes )
|
const Path& path,
|
||||||
|
XMLIncludes& includes )
|
||||||
{
|
{
|
||||||
XMLFile* f = new XMLFile();
|
XMLFile* f = new XMLFile();
|
||||||
|
|
||||||
|
@ -909,3 +910,11 @@ XMLLoadFile ( const string& filename,
|
||||||
}
|
}
|
||||||
return head;
|
return head;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XMLElement*
|
||||||
|
XMLLoadFile ( const string& filename )
|
||||||
|
{
|
||||||
|
Path path;
|
||||||
|
XMLIncludes includes;
|
||||||
|
return XMLLoadFile ( filename, path, includes );
|
||||||
|
}
|
||||||
|
|
|
@ -233,4 +233,7 @@ XMLLoadFile (
|
||||||
const Path& path,
|
const Path& path,
|
||||||
XMLIncludes& includes );
|
XMLIncludes& includes );
|
||||||
|
|
||||||
|
XMLElement*
|
||||||
|
XMLLoadFile ( const std::string& filename );
|
||||||
|
|
||||||
#endif // XML_H
|
#endif // XML_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue