Factories for Backend creation

svn path=/branches/xmlbuildsystem/; revision=12845
This commit is contained in:
Royce Mitchell III 2005-01-06 02:55:11 +00:00
parent 8051633a4c
commit 477157b4d4
11 changed files with 176 additions and 46 deletions

View file

@ -27,8 +27,9 @@ Module::~Module ()
delete libraries[i];
}
void Module::ProcessXML ( const XMLElement& e,
const string& path )
void
Module::ProcessXML ( const XMLElement& e,
const string& path )
{
string subpath ( path );
if ( e.name == "file" && e.value.size () )
@ -49,7 +50,8 @@ void Module::ProcessXML ( const XMLElement& e,
ProcessXML ( *e.subElements[i], subpath );
}
ModuleType Module::GetModuleType ( const XMLAttribute& attribute )
ModuleType
Module::GetModuleType ( const XMLAttribute& attribute )
{
if ( attribute.value == "buildtool" )
return BuildTool;