From 809fbda03c5014ba9cd361f5113d1d717cd41ea6 Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 26 Jan 2016 18:32:38 +0100 Subject: Version 0.8.0 beta --- libcore/libxmlwrapper.h | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 libcore/libxmlwrapper.h (limited to 'libcore/libxmlwrapper.h') diff --git a/libcore/libxmlwrapper.h b/libcore/libxmlwrapper.h deleted file mode 100644 index 0ace267..0000000 --- a/libcore/libxmlwrapper.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef __LIBXMLWRAPPER_H -#define __LIBXMLWRAPPER_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -using namespace std; - -#include "../views/viewhelpers.h" - -class cLibXMLWrapper { -private: - xmlParserCtxtPtr ctxt; - xmlDocPtr doc; - xmlNodePtr root; - xmlNodePtr current; - stack nodeStack; -protected: - void DeleteDocument(void); - bool ReadXMLFile(const char *path, bool validate = true); - bool SetDocument(void); - bool Validate(void); - bool CheckNodeName(const char *name); - const char *NodeName(void); - vector ParseAttributes(void); - bool LevelDown(void); - bool LevelUp(void); - bool NextNode(void); - bool GetAttribute(string &name, string &value); - bool GetNodeValue(string &value); -public: - cLibXMLWrapper(void); - virtual ~cLibXMLWrapper(void); - static void InitLibXML(); - static void CleanupLibXML(); -}; - -#endif //__LIBXMLWRAPPER_H \ No newline at end of file -- cgit v1.2.3