Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Wasabi/api/xml/XMLAutoInclude.h

22 lines
646 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#ifndef NULLSOFT_WASABI_XMLAUTOINCLUDE_H
#define NULLSOFT_WASABI_XMLAUTOINCLUDE_H
#include "../xml/obj_xml.h"
#include "../xml/ifc_xmlreadercallbackI.h"
#include <bfc/string/StringW.h>
class XMLAutoInclude : public ifc_xmlreadercallbackI
{
public:
XMLAutoInclude(obj_xml *_parser, const wchar_t *_path);
~XMLAutoInclude();
void xmlReaderOnStartElementCallback(const wchar_t *xmlpath, const wchar_t *xmltag, ifc_xmlreaderparams *params);
void xmlReaderOnEndElementCallback(const wchar_t *xmlpath, const wchar_t *xmltag);
//private:
obj_xml *parser;
StringW path, includeFn;
private:
void Include(const wchar_t *filename);
};
#endif