123456789101112131415161718192021222324252627282930 |
- #ifndef NULLSOFT_WINAMP_XMLSTRING_H
- #define NULLSOFT_WINAMP_XMLSTRING_H
- #include "../xml/ifc_xmlreadercallback.h"
- #define XMLSTRING_SIZE 2048
- class XMLString : public ifc_xmlreadercallback
- {
- public:
- XMLString();
- void Reset();
- const wchar_t *GetString();
- uint32_t GetUInt32();
- void ManualSet(const wchar_t *string);
- private:
-
- void StartTag(const wchar_t *xmlpath, const wchar_t *xmltag, ifc_xmlreaderparams *params);
- void EndTag(const wchar_t *xmlpath, const wchar_t *xmltag);
- void TextHandler(const wchar_t *xmlpath, const wchar_t *xmltag, const wchar_t *str);
- wchar_t data[XMLSTRING_SIZE];
- RECVS_DISPATCH;
- };
- #endif
|