M3UWriter.h 619 B

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