1 /**
3 * Copyright (C) ARM Limited 2010-2012. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */
10 #ifndef __CAPTURED_XML_H__
11 #define __CAPTURED_XML_H__
13 #include "mxml/mxml.h"
15 class CapturedXML {
16 public:
17 CapturedXML();
18 ~CapturedXML();
19 char* getXML(); // the string should be freed by the caller
20 void write(char* path);
21 private:
22 mxml_node_t* getTree();
23 };
25 #endif //__CAPTURED_XML_H__