diff options
Diffstat (limited to '')
-rw-r--r-- | src/xmldocument.cpp | 7 |
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 | ||
53 | XmlNode *XmlDocument::detatchRoot() | ||
54 | { | ||
55 | XmlNode *pTemp = pRoot; | ||
56 | pRoot = NULL; | ||
57 | return pTemp; | ||
58 | } | ||
59 | |||
53 | XmlNode *XmlDocument::getCurrent() | 60 | XmlNode *XmlDocument::getCurrent() |
54 | { | 61 | { |
55 | return pCurrent; | 62 | return pCurrent; |