]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/arm-ds5-gator.git/blob - daemon/ConfigurationXML.h
Merge branch 'master' into android
[android-sdk/arm-ds5-gator.git] / daemon / ConfigurationXML.h
1 /**
2  * Copyright (C) ARM Limited 2010-2012. 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  */
9 #ifndef COUNTERS_H
10 #define COUNTERS_H
12 #include "mxml/mxml.h"
14 class ConfigurationXML {
15 public:
16         ConfigurationXML();
17         ~ConfigurationXML();
18         const char* getConfigurationXML() {return mConfigurationXML;}
19         void validate(void);
20 private:
21         char* mConfigurationXML;
22         int mIndex;
24         int parse(const char* xmlFile);
25         int configurationsTag(mxml_node_t *node);
26         void configurationTag(mxml_node_t *node);
27 };
29 #endif // COUNTERS_H