aboutsummaryrefslogtreecommitdiff
path: root/Src/xspf/XSPFLoader.h
diff options
context:
space:
mode:
authorJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
committerJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
commit20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/xspf/XSPFLoader.h
parent537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff)
downloadwinamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz
Initial community commit
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