M3U8Writer.h 530 B

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