diff audacious/playlist_container.h @ 1549:854016a03129 trunk

[svn] - more
author nenolod
date Thu, 10 Aug 2006 18:24:11 -0700
parents d5be38600be5
children be50c53aee09
line wrap: on
line diff
--- a/audacious/playlist_container.h	Thu Aug 10 18:10:25 2006 -0700
+++ b/audacious/playlist_container.h	Thu Aug 10 18:24:11 2006 -0700
@@ -24,13 +24,18 @@
 struct _PlaylistContainer {
 	char *name;					/* human-readable name */
 	char *ext;					/* extension */
-	void (*plc_load)(char *filename, GList *pl);	/* plc_load */
+	GList *(*plc_read)(char *filename, GList *pl);	/* plc_load */
 	void (*plc_write)(char *filename, GList *pl);	/* plc_write */
 };
 
 typedef struct _PlaylistContainer PlaylistContainer;
 
+#define PLAYLIST_CONTAINER(x)		((PlaylistContainer *)(x))
+
 extern void playlist_container_register(PlaylistContainer *plc);
 extern void playlist_container_unregister(PlaylistContainer *plc);
+extern GList *playlist_container_read(char *filename, GList *list);
+extern void playlist_container_write(char *filename, GList *list);
+
 
 #endif