add simplified version of XMLLoadFile() - preparation to move up a directory
authorRoyce Mitchell III <royce3@ev1.net>
Sun, 27 Nov 2005 23:01:38 +0000 (23:01 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Sun, 27 Nov 2005 23:01:38 +0000 (23:01 +0000)
svn path=/trunk/; revision=19706

reactos/tools/rbuild/xml.cpp
reactos/tools/rbuild/xml.h

index a163441..2852403 100644 (file)
@@ -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 );
+}
index ecf41a4..c3c8d25 100644 (file)
@@ -233,4 +233,7 @@ XMLLoadFile (
        const Path& path,
        XMLIncludes& includes );
 
+XMLElement*
+XMLLoadFile ( const std::string& filename );
+
 #endif // XML_H