diff --git a/daemon/CapturedXML.h b/daemon/CapturedXML.h
index d37c59e37ac0257b2ddc2a7a5e841071e27c174e..984d1f2d13e83231596b2b2b3e01fd7dd46f4e7d 100644 (file)
--- a/daemon/CapturedXML.h
+++ b/daemon/CapturedXML.h
#ifndef __CAPTURED_XML_H__
#define __CAPTURED_XML_H__
-#include "XMLOut.h"
+#include "mxml/mxml.h"
-class CapturedXML : XMLOut {
+class CapturedXML {
public:
CapturedXML();
~CapturedXML();
- const char* getXML();
+ char* getXML(); // the string should be freed by the caller
void write(char* path);
+private:
+ mxml_node_t* getTree();
};
#endif //__CAPTURED_XML_H__