]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/arm-ds5-gator.git/blob - daemon/ConfigurationXML.h
gator-daemon: ARM DS-5.9 Streamline gator daemon (RC2)
[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 "XMLReader.h"
14 class ConfigurationXML {
15 public:
16         ConfigurationXML();
17         ~ConfigurationXML();
18         const char* getConfigurationXML() {return mConfigurationXML;}
19 private:
20         char* mConfigurationXML;
22         int parse(const char* xmlFile);
23         bool isValid(void);
24         int configurationsTag(XMLReader *in);
25         int configurationTag(XMLReader* in);
26         int index;
27 };
29 #endif // COUNTERS_H