Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 3436:a630ecae6708 | 3437:3092a8b3fe34 |
|---|---|
| 34 void plugin_system_cleanup(void); | 34 void plugin_system_cleanup(void); |
| 35 | 35 |
| 36 extern const gchar *plugin_dir_list[]; | 36 extern const gchar *plugin_dir_list[]; |
| 37 extern GHashTable *plugin_matrix; | 37 extern GHashTable *plugin_matrix; |
| 38 | 38 |
| 39 gboolean plugin_is_enabled(const gchar *filename); | |
| 40 void plugin_set_enabled(const gchar *filename, gboolean enabled); | |
| 41 Plugin *plugin_get_plugin(const gchar *filename); | |
| 42 | |
| 39 #endif | 43 #endif |
