summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-11-28 16:15:24 +0000
committerrandomdan <randomdan@localhost>2011-11-28 16:15:24 +0000
commitdbd016ea637832f0eb7c4b32baae94abbece7c5b (patch)
treeb0d79d0950b10f0ac6d75ca6f5b6bb39a345f6e5
parentGroundwork for common presenter layer (diff)
downloadproject2-dbd016ea637832f0eb7c4b32baae94abbece7c5b.tar.bz2
project2-dbd016ea637832f0eb7c4b32baae94abbece7c5b.tar.xz
project2-dbd016ea637832f0eb7c4b32baae94abbece7c5b.zip
Add missing type changes
-rw-r--r--project2/common/presenter.h4
-rw-r--r--project2/common/viewHost.h2
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();