Mercurial > audlegacy
diff src/audacious/pluginenum.h @ 3437:3092a8b3fe34 trunk
Big plugin system changes (part 1 of who knows, it's still a big mess):
- remove plugin_matrix, replacing it with a mowgli.dictionary of all loaded plugins pointing back to their handles
- input_is_enabled() craq -> gboolean plugin::enabled (this craq was pointed out by ccr)
- consolidate a lot of crap in ui_preferences.c (a LOT more to come)
- introduce probably countless loads of bugs and SIGSEGVs.
- you WILL need to recompile plugins after this, and some which do not use C99-style struct initialisers will likely fail to build.
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Fri, 07 Sep 2007 03:20:28 -0500 |
| parents | f1c756f39e6c |
| children | 2b7a74fce100 |
line wrap: on
line diff
--- a/src/audacious/pluginenum.h Fri Sep 07 02:02:53 2007 -0500 +++ b/src/audacious/pluginenum.h Fri Sep 07 03:20:28 2007 -0500 @@ -36,4 +36,8 @@ extern const gchar *plugin_dir_list[]; extern GHashTable *plugin_matrix; +gboolean plugin_is_enabled(const gchar *filename); +void plugin_set_enabled(const gchar *filename, gboolean enabled); +Plugin *plugin_get_plugin(const gchar *filename); + #endif
