comparison audacious/playlist_container.h @ 1559:9a1e4bca7d8b trunk

[svn] - m3u works again
author nenolod
date Thu, 10 Aug 2006 19:35:03 -0700
parents f4ece39e4252
children f157e22c70c4
comparison
equal deleted inserted replaced
1558:a6793cf239e9 1559:9a1e4bca7d8b
22 #define _PLAYLIST_CONTAINER_H_ 22 #define _PLAYLIST_CONTAINER_H_
23 23
24 struct _PlaylistContainer { 24 struct _PlaylistContainer {
25 char *name; /* human-readable name */ 25 char *name; /* human-readable name */
26 char *ext; /* extension */ 26 char *ext; /* extension */
27 GList *(*plc_read)(char *filename, gint pos); /* plc_load */ 27 void (*plc_read)(const gchar *filename, gint pos); /* plc_load */
28 void (*plc_write)(char *filename, gint pos); /* plc_write */ 28 void (*plc_write)(const gchar *filename, gint pos); /* plc_write */
29 }; 29 };
30 30
31 typedef struct _PlaylistContainer PlaylistContainer; 31 typedef struct _PlaylistContainer PlaylistContainer;
32 32
33 #define PLAYLIST_CONTAINER(x) ((PlaylistContainer *)(x)) 33 #define PLAYLIST_CONTAINER(x) ((PlaylistContainer *)(x))