From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/playlist/PlaylistWriter.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Src/playlist/PlaylistWriter.h (limited to 'Src/playlist/PlaylistWriter.h') diff --git a/Src/playlist/PlaylistWriter.h b/Src/playlist/PlaylistWriter.h new file mode 100644 index 00000000..74d4b9f0 --- /dev/null +++ b/Src/playlist/PlaylistWriter.h @@ -0,0 +1,17 @@ +#ifndef NULLSOFT_PLAYLIST_PLAYLISTWRITER_H +#define NULLSOFT_PLAYLIST_PLAYLISTWRITER_H + +// probably not the final interface, so we won't dispatch it yet + +class PlaylistWriter +{ +public: + virtual ~PlaylistWriter() {} + virtual int Open( const wchar_t *filename ) = 0; + virtual void Write( const wchar_t *filename ) = 0; + virtual void Write( const wchar_t *filename, const wchar_t *title, int length ) = 0; + virtual void Write( const wchar_t *filename, const wchar_t *title, const wchar_t *p_extended_infos, int length ) = 0; + virtual void Close() = 0; +}; + +#endif \ No newline at end of file -- cgit