diff options
Diffstat (limited to 'daemon/ConfigurationXML.h')
-rw-r--r-- | daemon/ConfigurationXML.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/daemon/ConfigurationXML.h b/daemon/ConfigurationXML.h index 047c4b0..b48d32f 100644 --- a/daemon/ConfigurationXML.h +++ b/daemon/ConfigurationXML.h @@ -9,21 +9,21 @@ #ifndef COUNTERS_H #define COUNTERS_H -#include "XMLReader.h" +#include "mxml/mxml.h" class ConfigurationXML { public: ConfigurationXML(); ~ConfigurationXML(); const char* getConfigurationXML() {return mConfigurationXML;} + void validate(void); private: char* mConfigurationXML; + int mIndex; int parse(const char* xmlFile); - bool isValid(void); - int configurationsTag(XMLReader *in); - int configurationTag(XMLReader* in); - int index; + int configurationsTag(mxml_node_t *node); + void configurationTag(mxml_node_t *node); }; #endif // COUNTERS_H |