]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/arm-ds5-gator.git/blob - daemon/CapturedXML.h
gator: Version 5.13
[android-sdk/arm-ds5-gator.git] / daemon / CapturedXML.h
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(bool includeTime); // the string should be freed by the caller
20         void write(char* path);
21 private:
22         mxml_node_t* getTree(bool includeTime);
23 };
25 const char * mxmlWhitespaceCB(mxml_node_t *node, int where);
27 #endif  //__CAPTURED_XML_H__