gator: Merge gator version 5.23.1
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / tools / gator / daemon / EventsXML.h
1 /**
2  * Copyright (C) ARM Limited 2013-2015. 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 EVENTS_XML
10 #define EVENTS_XML
11
12 #include "mxml/mxml.h"
13
14 class EventsXML {
15 public:
16         EventsXML() {}
17
18         mxml_node_t *getTree();
19         char *getXML();
20         void write(const char* path);
21
22 private:
23         // Intentionally unimplemented
24         EventsXML(const EventsXML &);
25         EventsXML &operator=(const EventsXML &);
26 };
27
28 #endif // EVENTS_XML