diff options
Diffstat (limited to 'project2/common')
| -rw-r--r-- | project2/common/presenter.h | 1 | ||||
| -rw-r--r-- | project2/common/viewHost.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/project2/common/presenter.h b/project2/common/presenter.h index 662af22..a16b32b 100644 --- a/project2/common/presenter.h +++ b/project2/common/presenter.h @@ -39,6 +39,7 @@ class MultiRowSetPresenter : public RowSetPresenter { virtual void finishRowSet() const = 0; virtual void addNewArray(const Glib::ustring & name, bool objects) const = 0; virtual void finishArray(bool objects) const = 0; + virtual void init() = 0; }; class Presenter : public MultiRowSetPresenter { diff --git a/project2/common/viewHost.cpp b/project2/common/viewHost.cpp index 64a8c8b..cbae417 100644 --- a/project2/common/viewHost.cpp +++ b/project2/common/viewHost.cpp @@ -22,6 +22,7 @@ ViewHost::executeViews() const loadScriptComponents(); MultiRowSetPresenterPtr presenter = getPresenter(); + presenter->init(); BOOST_FOREACH(const Views::value_type & s, views) { s->execute(presenter.get()); } |
