blob: ed08c44bc3ffa21a4bc336281440da39b437517d [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/**
2 * Copyright (C) ARM Limited 2010-2014. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#ifndef __CAPTURED_XML_H__
10#define __CAPTURED_XML_H__
11
12#include "mxml/mxml.h"
13
14class CapturedXML {
15public:
16 CapturedXML();
17 ~CapturedXML();
18 char* getXML(bool includeTime); // the string should be freed by the caller
19 void write(char* path);
20private:
21 mxml_node_t* getTree(bool includeTime);
22};
23
24const char * mxmlWhitespaceCB(mxml_node_t *node, int where);
25
26#endif //__CAPTURED_XML_H__