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 AUD_FUNC1 (PluginHandle *, plugin_by_widget, void /* GtkWidget */ *, widget)
00030 
00031 /* plugin-registry.c */
00032 AUD_FUNC1 (gint, plugin_get_type, PluginHandle *, plugin)
00033 AUD_FUNC1 (const gchar *, plugin_get_filename, PluginHandle *, plugin)
00034 AUD_FUNC1 (PluginHandle *, plugin_lookup, const gchar *, filename)
00035 
00036 AUD_FUNC1 (const void *, plugin_get_header, PluginHandle *, plugin)
00037 AUD_FUNC1 (PluginHandle *, plugin_by_header, const void *, header)
00038 
00039 AUD_FUNC2 (gint, plugin_compare, PluginHandle *, a, PluginHandle *, b)
00040 AUD_FUNC3 (void, plugin_for_each, gint, type, PluginForEachFunc, func, void *,
00041  data)
00042 
00043 AUD_FUNC1 (gboolean, plugin_get_enabled, PluginHandle *, plugin)
00044 AUD_FUNC3 (void, plugin_for_enabled, gint, type, PluginForEachFunc, func,
00045  void *, data)
00046 
00047 AUD_FUNC1 (const gchar *, plugin_get_name, PluginHandle *, plugin)
00048 AUD_FUNC1 (gboolean, plugin_has_about, PluginHandle *, plugin)
00049 AUD_FUNC1 (gboolean, plugin_has_configure, PluginHandle *, plugin)
00050 
00051 AUD_FUNC3 (void, plugin_add_watch, PluginHandle *, plugin, PluginForEachFunc,
00052  func, void *, data)
00053 AUD_FUNC3 (void, plugin_remove_watch, PluginHandle *, plugin, PluginForEachFunc,
00054  func, void *, data)