diff options
-rw-r--r-- | project2/common/presenter.h | 4 | ||||
-rw-r--r-- | 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<NameValuePairPresenter> 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 PresenterType> 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<PresenterPtr, const xmlpp::Element *> DefaultPresenterProvider; + typedef boost::function1<MultiRowSetPresenterPtr, const xmlpp::Element *> DefaultPresenterProvider; ViewHost(const boost::filesystem::path & file); ~ViewHost(); |