aboutsummaryrefslogtreecommitdiff
path: root/Src/xspf/XSPFLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/xspf/XSPFLoader.h')
-rw-r--r--Src/xspf/XSPFLoader.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Src/xspf/XSPFLoader.h b/Src/xspf/XSPFLoader.h
new file mode 100644
index 00000000..04e2230f
--- /dev/null
+++ b/Src/xspf/XSPFLoader.h
@@ -0,0 +1,16 @@
+#ifndef NULLSOFT_XSPF_XSPFLOADER_H
+#define NULLSOFT_XSPF_XSPFLOADER_H
+
+#include "../playlist/ifc_playlistloader.h"
+
+// this is the class that actually loads the playlist.
+// everything up to this point (component, handler, handler factory) was just administrative
+class XSPFLoader : public ifc_playlistloader
+{
+public:
+ int Load(const wchar_t *filename, ifc_playlistloadercallback *playlist);
+
+protected:
+ RECVS_DISPATCH; // boiler-plate code for our dispatch table
+};
+#endif \ No newline at end of file