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