aboutsummaryrefslogtreecommitdiff
path: root/src/xmldocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmldocument.cpp')
-rw-r--r--src/xmldocument.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xmldocument.cpp b/src/xmldocument.cpp
index 234ff81..32f1409 100644
--- a/src/xmldocument.cpp
+++ b/src/xmldocument.cpp
@@ -50,6 +50,13 @@ XmlNode *XmlDocument::getRoot()
50 return pRoot; 50 return pRoot;
51} 51}
52 52
53XmlNode *XmlDocument::detatchRoot()
54{
55 XmlNode *pTemp = pRoot;
56 pRoot = NULL;
57 return pTemp;
58}
59
53XmlNode *XmlDocument::getCurrent() 60XmlNode *XmlDocument::getCurrent()
54{ 61{
55 return pCurrent; 62 return pCurrent;