Mercurial > audlegacy
annotate src/audacious/pluginenum.h @ 4624:5523b30cb122
- don't export dock functions to plugins anymore
- some cleanups (sorry, i couldn't help it :P)
| author | mf0102 <0102@gmx.at> |
|---|---|
| date | Mon, 09 Jun 2008 20:02:30 +0200 |
| parents | 2eee464379dc |
| children |
| rev | line source |
|---|---|
| 2313 | 1 /* Audacious - Cross-platform multimedia player |
| 2 * Copyright (C) 2005-2007 Audacious development team | |
| 3 * | |
| 4 * Based on BMP: | |
| 5 * Copyright (C) 2003-2004 BMP development team | |
| 6 * | |
| 7 * Based on XMMS: | |
| 8 * Copyright (C) 1998-2003 XMMS development team | |
| 9 * | |
| 10 * This program is free software; you can redistribute it and/or modify | |
| 11 * 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
|
12 * the Free Software Foundation; under version 3 of the License. |
| 2313 | 13 * |
| 14 * This program is distributed in the hope that it will be useful, | |
| 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 * GNU General Public License for more details. | |
| 18 * | |
| 19 * 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
|
20 * 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
|
21 * |
|
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
22 * 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
|
23 * Audacious or using our public API to be a derived work. |
| 2313 | 24 */ |
|
4557
2eee464379dc
Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents:
4531
diff
changeset
|
25 #ifndef AUDACIOUS_PLUGINENUM_H |
|
2eee464379dc
Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents:
4531
diff
changeset
|
26 #define AUDACIOUS_PLUGINENUM_H |
| 2313 | 27 |
|
4624
5523b30cb122
- don't export dock functions to plugins anymore
mf0102 <0102@gmx.at>
parents:
4557
diff
changeset
|
28 #include "config.h" |
|
5523b30cb122
- don't export dock functions to plugins anymore
mf0102 <0102@gmx.at>
parents:
4557
diff
changeset
|
29 |
| 2313 | 30 #include <glib.h> |
|
4624
5523b30cb122
- don't export dock functions to plugins anymore
mf0102 <0102@gmx.at>
parents:
4557
diff
changeset
|
31 |
|
5523b30cb122
- don't export dock functions to plugins anymore
mf0102 <0102@gmx.at>
parents:
4557
diff
changeset
|
32 #include "plugin.h" |
| 2313 | 33 |
|
4531
cbb1f66d8971
Fix PLUGIN_FILENAME() behaviour to not include lib on the front.
William Pitcock <nenolod@atheme.org>
parents:
4266
diff
changeset
|
34 #define PLUGIN_FILENAME(name) (name SHARED_SUFFIX) |
| 2313 | 35 |
| 36 void plugin_system_init(void); | |
| 37 void plugin_system_cleanup(void); | |
| 38 | |
| 39 extern const gchar *plugin_dir_list[]; | |
| 40 extern GHashTable *plugin_matrix; | |
| 41 | |
|
3437
3092a8b3fe34
Big plugin system changes (part 1 of who knows, it's still a big mess):
William Pitcock <nenolod@atheme.org>
parents:
3123
diff
changeset
|
42 gboolean plugin_is_enabled(const gchar *filename); |
|
3092a8b3fe34
Big plugin system changes (part 1 of who knows, it's still a big mess):
William Pitcock <nenolod@atheme.org>
parents:
3123
diff
changeset
|
43 void plugin_set_enabled(const gchar *filename, gboolean enabled); |
|
3092a8b3fe34
Big plugin system changes (part 1 of who knows, it's still a big mess):
William Pitcock <nenolod@atheme.org>
parents:
3123
diff
changeset
|
44 Plugin *plugin_get_plugin(const gchar *filename); |
|
3092a8b3fe34
Big plugin system changes (part 1 of who knows, it's still a big mess):
William Pitcock <nenolod@atheme.org>
parents:
3123
diff
changeset
|
45 |
|
4266
2b7a74fce100
Implemented support for multiple subplugins inside a plugin (see bug #148) and PluginHeader finalization
stefano@zanga
parents:
3437
diff
changeset
|
46 void plugin_set_current(Plugin *plugin); |
|
2b7a74fce100
Implemented support for multiple subplugins inside a plugin (see bug #148) and PluginHeader finalization
stefano@zanga
parents:
3437
diff
changeset
|
47 |
|
4557
2eee464379dc
Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents:
4531
diff
changeset
|
48 #endif /* AUDACIOUS_PLUGINENUM_H */ |
