1
0

SimpleHandler.h 874 B

123456789101112131415161718192021
  1. #ifndef NULLSOFT_PLLOADEX_SIMPLEHANDLER_H
  2. #define NULLSOFT_PLLOADEX_SIMPLEHANDLER_H
  3. #include "../playlist/svc_playlisthandler.h"
  4. class Cef_Handler : public svc_playlisthandler
  5. {
  6. public:
  7. const wchar_t *EnumerateExtensions(size_t n); // returns 0 when it's done
  8. const wchar_t *GetName(); // returns a name suitable for display to user of this playlist form (e.g. PLS Playlist)
  9. int SupportedFilename(const wchar_t *filename); // returns SUCCESS and FAILED, so be careful ...
  10. ifc_playlistloader *CreateLoader(const wchar_t *filename);
  11. void ReleaseLoader(ifc_playlistloader *loader);
  12. // 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
  13. // provides smart default return values
  14. protected:
  15. RECVS_DISPATCH; // all Wasabi objects implementing a Dispatchable interface require this
  16. };
  17. #endif