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/PLSWriter.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Src/playlist/PLSWriter.h (limited to 'Src/playlist/PLSWriter.h') diff --git a/Src/playlist/PLSWriter.h b/Src/playlist/PLSWriter.h new file mode 100644 index 00000000..868a3ac8 --- /dev/null +++ b/Src/playlist/PLSWriter.h @@ -0,0 +1,21 @@ +#ifndef NULLSOFT_PLSWRITERH +#define NULLSOFT_PLSWRITERH + +#include +#include "PlaylistWriter.h" +class PLSWriter : public PlaylistWriter +{ +public: + PLSWriter(); + int Open(const wchar_t *filename); + void Write(const wchar_t *filename); + void Write(const wchar_t *filename, const wchar_t *title, int length); + void Write( const wchar_t *p_filename, const wchar_t *p_title, const wchar_t *p_extended_infos, int p_length ) override + {}; + void Close(); +private: + size_t numEntries; + FILE *fp; +}; + +#endif \ No newline at end of file -- cgit