From db5559c6175ffba57a7c4d946be9adff4e66e2e3 Mon Sep 17 00:00:00 2001 From: randomdan Date: Sat, 19 Feb 2011 17:19:49 +0000 Subject: Tidy up the class hierarchy and reduce header dependencies --- project2/commonObjects.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'project2/commonObjects.cpp') diff --git a/project2/commonObjects.cpp b/project2/commonObjects.cpp index 89eb913..fcf479c 100644 --- a/project2/commonObjects.cpp +++ b/project2/commonObjects.cpp @@ -1,4 +1,5 @@ #include "commonObjects.h" +#include "xmlObjectLoader.h" #include #include @@ -18,7 +19,7 @@ CommonObjects::getSource(const std::string & name) const throw CommonObjects::DataSourceNotFound(name); } -DataSources::index::type::const_iterator +CommonObjects::DataSources::index::type::const_iterator CommonObjects::loadDataSource(const std::string & name) const { xmlpp::DomParser xml("datasources/" + name + ".xml"); -- cgit v1.2.3