comparison audacious/playlist_container.h @ 1738:f157e22c70c4 trunk

[svn] - C++ friendliness
author nenolod
date Mon, 18 Sep 2006 01:59:07 -0700
parents 9a1e4bca7d8b
children 329fb2453c87
comparison
equal deleted inserted replaced
1737:73f4c2c89c23 1738:f157e22c70c4
19 */ 19 */
20 20
21 #ifndef _PLAYLIST_CONTAINER_H_ 21 #ifndef _PLAYLIST_CONTAINER_H_
22 #define _PLAYLIST_CONTAINER_H_ 22 #define _PLAYLIST_CONTAINER_H_
23 23
24 G_BEGIN_DECLS
25
24 struct _PlaylistContainer { 26 struct _PlaylistContainer {
25 char *name; /* human-readable name */ 27 char *name; /* human-readable name */
26 char *ext; /* extension */ 28 char *ext; /* extension */
27 void (*plc_read)(const gchar *filename, gint pos); /* plc_load */ 29 void (*plc_read)(const gchar *filename, gint pos); /* plc_load */
28 void (*plc_write)(const gchar *filename, gint pos); /* plc_write */ 30 void (*plc_write)(const gchar *filename, gint pos); /* plc_write */
36 extern void playlist_container_unregister(PlaylistContainer *plc); 38 extern void playlist_container_unregister(PlaylistContainer *plc);
37 extern void playlist_container_read(char *filename, gint pos); 39 extern void playlist_container_read(char *filename, gint pos);
38 extern void playlist_container_write(char *filename, gint pos); 40 extern void playlist_container_write(char *filename, gint pos);
39 extern PlaylistContainer *playlist_container_find(char *ext); 41 extern PlaylistContainer *playlist_container_find(char *ext);
40 42
43 G_END_DECLS
44
41 #endif 45 #endif