diff options
Diffstat (limited to 'project2/xmlPresenter.h')
-rw-r--r-- | project2/xmlPresenter.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/project2/xmlPresenter.h b/project2/xmlPresenter.h index 8ced38f..cc1312a 100644 --- a/project2/xmlPresenter.h +++ b/project2/xmlPresenter.h @@ -23,11 +23,9 @@ class XmlPresenter : public Presenter { virtual const Glib::ustring & getResponseRootNodeName() const = 0; virtual const Glib::ustring & getResponseStyle() const = 0; - protected: - void initDoc(); - XmlDocumentPtr responseDoc; - private: + void createDoc() const; + XmlDocumentPtr responseDoc; mutable std::vector<xmlpp::Element *> nodeStack; }; |