From ebf8521e05cb2c5a1377e0a08784abff90f49fab Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 28 Nov 2011 16:15:24 +0000 Subject: Add missing type changes --- project2/common/presenter.h | 4 ++-- project2/common/viewHost.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project2/common/presenter.h b/project2/common/presenter.h index 58af8dc..f7f447e 100644 --- a/project2/common/presenter.h +++ b/project2/common/presenter.h @@ -77,14 +77,14 @@ typedef boost::intrusive_ptr NameValuePairPresenterPtr; /// Base class to implement presenter modules class PresenterLoader : public ComponentLoader { public: - virtual PresenterPtr createFrom(const xmlpp::Element * e) const = 0; + virtual MultiRowSetPresenterPtr createFrom(const xmlpp::Element * e) const = 0; }; /// Helper implemention for specific presenters template class PresenterLoaderImpl : public PresenterLoader { public: - virtual PresenterPtr createFrom(const xmlpp::Element * e) const + virtual MultiRowSetPresenterPtr createFrom(const xmlpp::Element * e) const { return new PresenterType(e); } diff --git a/project2/common/viewHost.h b/project2/common/viewHost.h index 788b633..409f195 100644 --- a/project2/common/viewHost.h +++ b/project2/common/viewHost.h @@ -11,7 +11,7 @@ class ViewHost : virtual public XmlScriptParser, virtual public CheckHost { public: - typedef boost::function1 DefaultPresenterProvider; + typedef boost::function1 DefaultPresenterProvider; ViewHost(const boost::filesystem::path & file); ~ViewHost(); -- cgit v1.2.3