svc_playlist.cpp 722 B

12345678910111213141516171819202122232425262728
  1. #include <precomp.h>
  2. #include "svc_playlist.h"
  3. #define CBCLASS svc_playlistReaderI
  4. START_DISPATCH;
  5. CB(GETEXTENSION, getExtension);
  6. CB(TESTFILENAME, testFilename);
  7. CB(GETDESCRIPTION, getDescription);
  8. CB(READPLAYLIST, readPlaylist);
  9. CB(GETLABEL, getLabel);
  10. CB(GETNUMENTRIES, getNumEntries);
  11. CB(ENUMENTRY, enumEntry);
  12. VCB(ENABLEDATABASEADD, enableDatabaseAdd);
  13. END_DISPATCH;
  14. #undef CBCLASS
  15. #define CBCLASS svc_playlistWriterI
  16. START_DISPATCH;
  17. CB(GETEXTENSION, getExtension);
  18. CB(GETDESCRIPTION, getDescription);
  19. CB(WRITEPLAYLIST, writePlaylist);
  20. CB(BEGINWRITE, beginWrite);
  21. VCB(WRITEENTRY, writeEntry);
  22. VCB(ENDWRITE, endWrite);
  23. VCB(ENABLEMETADATA, enableMetadata);
  24. END_DISPATCH;
  25. #undef CBCLASS