blob: 2b38fa4364e00a83b26cce6f5f781f47381534e2 [file] [log] [blame]
Jon Medhurstaaf37a32013-06-11 12:10:56 +01001/**
Jon Medhurstb1d07442015-05-08 12:04:18 +01002 * Copyright (C) ARM Limited 2013-2015. All rights reserved.
Jon Medhurstaaf37a32013-06-11 12:10:56 +01003 *
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 EVENTS_XML
10#define EVENTS_XML
11
Jon Medhurste31266f2014-08-04 15:47:44 +010012#include "mxml/mxml.h"
13
Jon Medhurstaaf37a32013-06-11 12:10:56 +010014class EventsXML {
15public:
Jon Medhurstb1d07442015-05-08 12:04:18 +010016 EventsXML() {}
17
Jon Medhurste31266f2014-08-04 15:47:44 +010018 mxml_node_t *getTree();
19 char *getXML();
Jon Medhurstaaf37a32013-06-11 12:10:56 +010020 void write(const char* path);
Jon Medhurstb1d07442015-05-08 12:04:18 +010021
22private:
23 // Intentionally unimplemented
24 EventsXML(const EventsXML &);
25 EventsXML &operator=(const EventsXML &);
Jon Medhurstaaf37a32013-06-11 12:10:56 +010026};
27
28#endif // EVENTS_XML