diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/SDK/plLoadEx/SimpleHandler.h | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/Plugins/SDK/plLoadEx/SimpleHandler.h')
-rw-r--r-- | Src/Plugins/SDK/plLoadEx/SimpleHandler.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Src/Plugins/SDK/plLoadEx/SimpleHandler.h b/Src/Plugins/SDK/plLoadEx/SimpleHandler.h new file mode 100644 index 00000000..c0eeeb2d --- /dev/null +++ b/Src/Plugins/SDK/plLoadEx/SimpleHandler.h @@ -0,0 +1,21 @@ +#ifndef NULLSOFT_PLLOADEX_SIMPLEHANDLER_H +#define NULLSOFT_PLLOADEX_SIMPLEHANDLER_H + +#include "../playlist/svc_playlisthandler.h" + +class Cef_Handler : public svc_playlisthandler +{ +public: + const wchar_t *EnumerateExtensions(size_t n); // returns 0 when it's done + const wchar_t *GetName(); // returns a name suitable for display to user of this playlist form (e.g. PLS Playlist) + int SupportedFilename(const wchar_t *filename); // returns SUCCESS and FAILED, so be careful ... + ifc_playlistloader *CreateLoader(const wchar_t *filename); + void ReleaseLoader(ifc_playlistloader *loader); + // there are a few more functions, but we're not going to implement them because we don't need to do, and the Dispatchable interface + // provides smart default return values + +protected: + RECVS_DISPATCH; // all Wasabi objects implementing a Dispatchable interface require this +}; + +#endif
\ No newline at end of file |