Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
plugins-api.h
Go to the documentation of this file.
00001 /*
00002  * plugins-api.h
00003  * Copyright 2010 John Lindgren
00004  *
00005  * This file is part of Audacious.
00006  *
00007  * Audacious is free software: you can redistribute it and/or modify it under
00008  * the terms of the GNU General Public License as published by the Free Software
00009  * Foundation, version 2 or version 3 of the License.
00010  *
00011  * Audacious is distributed in the hope that it will be useful, but WITHOUT ANY
00012  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
00013  * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License along with
00016  * Audacious. If not, see <http://www.gnu.org/licenses/>.
00017  *
00018  * The Audacious team does not consider modular code linking to Audacious or
00019  * using our public API to be a derived work.
00020  */
00021 
00022 /* Do not include this file directly; use misc.h instead. */
00023 
00024 /* CAUTION: These functions are not thread safe. */
00025 
00026 /* plugin-init.c */
00027 AUD_FUNC1 (PluginHandle *, plugin_get_current, gint, type)
00028 AUD_FUNC2 (gboolean, plugin_enable, PluginHandle *, plugin, gboolean, enable)
00029 
00030 /* plugin-registry.c */
00031 AUD_FUNC1 (gint, plugin_get_type, PluginHandle *, plugin)
00032 AUD_FUNC1 (const gchar *, plugin_get_filename, PluginHandle *, plugin)
00033 AUD_FUNC1 (gint, plugin_get_number, PluginHandle *, plugin)
00034 AUD_FUNC3 (PluginHandle *, plugin_lookup, gint, type, const gchar *, filename,
00035  gint, number)
00036 
00037 AUD_FUNC1 (const void *, plugin_get_header, PluginHandle *, plugin)
00038 AUD_FUNC1 (PluginHandle *, plugin_by_header, const void *, header)
00039 
00040 AUD_FUNC2 (gint, plugin_compare, PluginHandle *, a, PluginHandle *, b)
00041 AUD_FUNC3 (void, plugin_for_each, gint, type, PluginForEachFunc, func, void *,
00042  data)
00043 
00044 AUD_FUNC1 (gboolean, plugin_get_enabled, PluginHandle *, plugin)
00045 AUD_FUNC3 (void, plugin_for_enabled, gint, type, PluginForEachFunc, func,
00046  void *, data)
00047 
00048 AUD_FUNC1 (const gchar *, plugin_get_name, PluginHandle *, plugin)
00049 AUD_FUNC1 (gboolean, plugin_has_about, PluginHandle *, plugin)
00050 AUD_FUNC1 (gboolean, plugin_has_configure, PluginHandle *, plugin)
00051 
00052 AUD_FUNC3 (void, plugin_add_watch, PluginHandle *, plugin, PluginForEachFunc,
00053  func, void *, data)
00054 AUD_FUNC3 (void, plugin_remove_watch, PluginHandle *, plugin, PluginForEachFunc,
00055  func, void *, data)
00056 
00057 /* New in 2.5-alpha2 */
00058 AUD_FUNC1 (PluginHandle *, plugin_by_widget, /* GtkWidget * */ void *, widget)