diff options
Diffstat (limited to 'Src/Wasabi/api/xml/xmlparse.h')
-rw-r--r-- | Src/Wasabi/api/xml/xmlparse.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Src/Wasabi/api/xml/xmlparse.h b/Src/Wasabi/api/xml/xmlparse.h new file mode 100644 index 00000000..68c81b43 --- /dev/null +++ b/Src/Wasabi/api/xml/xmlparse.h @@ -0,0 +1,23 @@ +#ifndef _XMLPARSE_H +#define _XMLPARSE_H + +class XMLParse { +private: + void *parser; + +public: + XMLParse(); + virtual ~XMLParse(); + + virtual void SetUserData(void *param); + virtual void SetElementHandler(void (*start)(void *userData, const wchar_t *name, const wchar_t **atts), + void (*end)(void *userData, const wchar_t *name)); + virtual void SetCharacterDataHandler(void (*handler)(void *userData,const wchar_t *s, int len)); + virtual int Parse(const wchar_t *s, int len, int isFinal); + virtual const wchar_t *ErrorString(int code); + virtual int GetErrorCode(); + virtual int GetCurrentLineNumber(); + +}; + +#endif |