Mercurial > audlegacy
comparison audacious/playlist_container.h @ 1548:d5be38600be5 trunk
[svn] - incomplete PlaylistContainer implementation
author | nenolod |
---|---|
date | Thu, 10 Aug 2006 18:10:25 -0700 |
parents | |
children | 854016a03129 |
comparison
equal
deleted
inserted
replaced
1547:697a073fd4f5 | 1548:d5be38600be5 |
---|---|
1 /* | |
2 * Audacious: A cross-platform multimedia player | |
3 * Copyright (c) 2006 William Pitcock, Tony Vroon, George Averill, | |
4 * Giacomo Lozito, Derek Pomery and Yoshiki Yazawa. | |
5 * | |
6 * This program is free software; you can redistribute it and/or modify | |
7 * it under the terms of the GNU General Public License as published by | |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
11 * This program is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with this program; if not, write to the Free Software | |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
19 */ | |
20 | |
21 #ifndef _PLAYLIST_CONTAINER_H_ | |
22 #define _PLAYLIST_CONTAINER_H_ | |
23 | |
24 struct _PlaylistContainer { | |
25 char *name; /* human-readable name */ | |
26 char *ext; /* extension */ | |
27 void (*plc_load)(char *filename, GList *pl); /* plc_load */ | |
28 void (*plc_write)(char *filename, GList *pl); /* plc_write */ | |
29 }; | |
30 | |
31 typedef struct _PlaylistContainer PlaylistContainer; | |
32 | |
33 extern void playlist_container_register(PlaylistContainer *plc); | |
34 extern void playlist_container_unregister(PlaylistContainer *plc); | |
35 | |
36 #endif |