aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/Library/ml_playlists/playlistsXML.h
blob: a165e77f974225f853b946e3efe18c819b996474 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef NULLSOFT_ML_PLAYLISTS_PLAYLISTSXML_H
#define NULLSOFT_ML_PLAYLISTS_PLAYLISTSXML_H

#include "../xml/api_xml.h"
#include "../xml/api_xmlreadercallback.h"
#include "api.h"
#include <api/service/waServiceFactory.h>

class PlaylistsXML : public api_xmlreadercallback
{
public:
	PlaylistsXML();
	~PlaylistsXML();
	void LoadFile(const wchar_t *filename);

private:
	RECVS_DISPATCH;
	/* XML callbacks */
	void StartTag(const wchar_t *xmlpath, const wchar_t *xmltag, api_xmlreaderparams *params);


	api_xml *parser;
	waServiceFactory *parserFactory;
};


#endif