1
0

PLSWriter.h 505 B

123456789101112131415161718192021
  1. #ifndef NULLSOFT_PLSWRITERH
  2. #define NULLSOFT_PLSWRITERH
  3. #include <stdio.h>
  4. #include "PlaylistWriter.h"
  5. class PLSWriter : public PlaylistWriter
  6. {
  7. public:
  8. PLSWriter();
  9. int Open(const wchar_t *filename);
  10. void Write(const wchar_t *filename);
  11. void Write(const wchar_t *filename, const wchar_t *title, int length);
  12. void Write( const wchar_t *p_filename, const wchar_t *p_title, const wchar_t *p_extended_infos, int p_length ) override
  13. {};
  14. void Close();
  15. private:
  16. size_t numEntries;
  17. FILE *fp;
  18. };
  19. #endif