diff options
Diffstat (limited to 'Src/playlist/M3U8Writer.h')
-rw-r--r-- | Src/playlist/M3U8Writer.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Src/playlist/M3U8Writer.h b/Src/playlist/M3U8Writer.h new file mode 100644 index 00000000..7f251ef6 --- /dev/null +++ b/Src/playlist/M3U8Writer.h @@ -0,0 +1,21 @@ +#ifndef NULLSOFT_M3U8WRITERH +#define NULLSOFT_M3U8WRITERH + +#include <stdio.h> +#include "PlaylistWriter.h" +class M3U8Writer : public PlaylistWriter +{ +public: + M3U8Writer(); + + int Open( const wchar_t *filename ) override; + void Write( const wchar_t *filename ) override; + void Write( const wchar_t *filename, const wchar_t *title, int length ) override; + void Write( const wchar_t *p_filename, const wchar_t *p_title, const wchar_t* p_extended_infos, int p_length ) override; + void Close() override; + +private: + FILE *fp; +}; + +#endif
\ No newline at end of file |