aboutsummaryrefslogtreecommitdiff
path: root/Src/playlist/PLSWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/playlist/PLSWriter.h')
-rw-r--r--Src/playlist/PLSWriter.h21
1 files changed, 21 insertions, 0 deletions
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 <stdio.h>
+#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