Mercurial > audlegacy
annotate src/audacious/general.h @ 4516:9fbb55542e73
hookified many function calls
author | mf0102 <0102@gmx.at> |
---|---|
date | Wed, 23 Apr 2008 20:11:10 +0200 |
parents | f6b25d4d2245 |
children | 2eee464379dc |
rev | line source |
---|---|
2313 | 1 /* BMP - Cross-platform multimedia player |
2 * Copyright (C) 2003-2004 BMP development team. | |
3 * | |
4 * Based on XMMS: | |
5 * Copyright (C) 1998-2003 XMMS development team. | |
6 * | |
7 * This program is free software; you can redistribute it and/or modify | |
8 * it under the terms of the GNU General Public License as published by | |
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2313
diff
changeset
|
9 * the Free Software Foundation; under version 3 of the License. |
2313 | 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 | |
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2313
diff
changeset
|
17 * along with this program. If not, see <http://www.gnu.org/licenses>. |
3123
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
18 * |
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
19 * The Audacious team does not consider modular code linking to |
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
20 * Audacious or using our public API to be a derived work. |
2313 | 21 */ |
22 | |
23 #ifndef GENERIC_H | |
24 #define GENERIC_H | |
25 | |
26 #include <glib.h> | |
27 | |
28 typedef struct _GeneralPluginData GeneralPluginData; | |
29 | |
30 struct _GeneralPluginData { | |
31 GList *general_list; | |
32 GList *enabled_list; | |
33 }; | |
34 | |
35 GList *get_general_list(void); | |
36 GList *get_general_enabled_list(void); | |
37 void enable_general_plugin(gint i, gboolean enable); | |
38 gchar *general_stringify_enabled_list(void); | |
39 void general_enable_from_stringified_list(const gchar * list); | |
40 | |
41 extern GeneralPluginData gp_data; | |
42 | |
43 #endif |