summaryrefslogtreecommitdiff
path: root/project2/xmlPresenter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/xmlPresenter.cpp')
-rw-r--r--project2/xmlPresenter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/project2/xmlPresenter.cpp b/project2/xmlPresenter.cpp
index b9e433c..adaed38 100644
--- a/project2/xmlPresenter.cpp
+++ b/project2/xmlPresenter.cpp
@@ -40,6 +40,11 @@ XmlPresenter::createDoc(const Glib::ustring & responseRootNodeName, const Glib::
}
}
+XmlPresenter::operator const boost::shared_ptr<xmlpp::Document> * () const
+{
+ return &responseDoc;
+}
+
XmlPresenter::operator const xmlpp::Document * () const
{
return responseDoc.get();