Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
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, int, type) 00028 AUD_FUNC2 (bool_t, plugin_enable, PluginHandle *, plugin, bool_t, enable) 00029 AUD_FUNC1 (PluginHandle *, plugin_by_widget, void /* GtkWidget */ *, widget) 00030 AUD_FUNC4 (int, plugin_send_message, PluginHandle *, plugin, 00031 const char *, code, const void *, data, int, size) 00032 00033 /* plugin-registry.c */ 00034 AUD_FUNC1 (int, plugin_get_type, PluginHandle *, plugin) 00035 AUD_FUNC1 (const char *, plugin_get_filename, PluginHandle *, plugin) 00036 AUD_FUNC1 (PluginHandle *, plugin_lookup, const char *, filename) 00037 AUD_FUNC1 (PluginHandle *, plugin_lookup_basename, const char *, basename) 00038 00039 AUD_FUNC1 (const void *, plugin_get_header, PluginHandle *, plugin) 00040 AUD_FUNC1 (PluginHandle *, plugin_by_header, const void *, header) 00041 00042 AUD_FUNC2 (int, plugin_compare, PluginHandle *, a, PluginHandle *, b) 00043 AUD_VFUNC3 (plugin_for_each, int, type, PluginForEachFunc, func, void *, 00044 data) 00045 00046 AUD_FUNC1 (bool_t, plugin_get_enabled, PluginHandle *, plugin) 00047 AUD_VFUNC3 (plugin_for_enabled, int, type, PluginForEachFunc, func, 00048 void *, data) 00049 00050 AUD_FUNC1 (const char *, plugin_get_name, PluginHandle *, plugin) 00051 AUD_FUNC1 (bool_t, plugin_has_about, PluginHandle *, plugin) 00052 AUD_FUNC1 (bool_t, plugin_has_configure, PluginHandle *, plugin) 00053 00054 AUD_VFUNC3 (plugin_add_watch, PluginHandle *, plugin, PluginForEachFunc, 00055 func, void *, data) 00056 AUD_VFUNC3 (plugin_remove_watch, PluginHandle *, plugin, PluginForEachFunc, 00057 func, void *, data)