From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/playlist/PLSLoader.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Src/playlist/PLSLoader.h (limited to 'Src/playlist/PLSLoader.h') diff --git a/Src/playlist/PLSLoader.h b/Src/playlist/PLSLoader.h new file mode 100644 index 00000000..ebff25a0 --- /dev/null +++ b/Src/playlist/PLSLoader.h @@ -0,0 +1,22 @@ +#ifndef NULLSOFT_PLAYLIST_PLSLOADER_H +#define NULLSOFT_PLAYLIST_PLSLOADER_H + +#include "ifc_playlistloader.h" +#include + +class PLSLoader : public ifc_playlistloader +{ +public: + PLSLoader() {} + virtual ~PLSLoader() {} + + int Load( const wchar_t *filename, ifc_playlistloadercallback *playlist ); + +protected: + RECVS_DISPATCH; + +private: + int OnFileHelper( ifc_playlistloadercallback *playlist, const wchar_t *trackName, const wchar_t *title, int length, const wchar_t *rootPath, ifc_plentryinfo *extraInfo ); +}; + +#endif \ No newline at end of file -- cgit