Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
misc-api.h
Go to the documentation of this file.
00001 /*
00002  * misc-api.h
00003  * Copyright 2010-2011 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: Many of these functions are not thread safe. */
00025 
00026 /* credits.c */
00027 AUD_FUNC3 (void, get_audacious_credits, const gchar * *, brief,
00028  const gchar * * *, credits, const gchar * * *, translators)
00029 
00030 /* equalizer_preset.c */
00031 AUD_FUNC1 (GList *, equalizer_read_presets, const gchar *, basename)
00032 AUD_FUNC2 (gboolean, equalizer_write_preset_file, GList *, list, const gchar *,
00033  basename)
00034 AUD_FUNC1 (EqualizerPreset *, load_preset_file, const gchar *, filename)
00035 AUD_FUNC2 (gboolean, save_preset_file, EqualizerPreset *, preset, const gchar *,
00036  filename)
00037 AUD_FUNC1 (GList *, import_winamp_eqf, VFSFile *, file)
00038 
00039 /* main.c */
00040 AUD_FUNC1 (const gchar *, get_path, gint, path)
00041 
00042 /* playlist-utils.c */
00043 AUD_FUNC0 (const gchar *, get_gentitle_format)
00044 AUD_FUNC0 (void, save_playlists)
00045 
00046 /* probe.c */
00047 AUD_FUNC2 (PluginHandle *, file_find_decoder, const gchar *, filename, gboolean,
00048  fast)
00049 AUD_FUNC2 (Tuple *, file_read_tuple, const gchar *, filename, PluginHandle *,
00050  decoder)
00051 AUD_FUNC4 (gboolean, file_read_image, const gchar *, filename, PluginHandle *,
00052  decoder, void * *, data, gint *, size)
00053 AUD_FUNC2 (gboolean, file_can_write_tuple, const gchar *, filename,
00054  PluginHandle *, decoder)
00055 AUD_FUNC3 (gboolean, file_write_tuple, const gchar *, filename, PluginHandle *,
00056  decoder, const Tuple *, tuple)
00057 AUD_FUNC2 (gboolean, custom_infowin, const gchar *, filename, PluginHandle *,
00058  decoder)
00059 
00060 /* ui_albumart.c */
00061 AUD_FUNC1 (gchar *, get_associated_image_file, const gchar *, filename)
00062 
00063 /* ui_plugin_menu.c */
00064 AUD_FUNC1 (/* GtkWidget * */ void *, get_plugin_menu, gint, id)
00065 AUD_FUNC4 (void, plugin_menu_add, gint, id, MenuFunc, func, const gchar *, name,
00066  const gchar *, icon)
00067 AUD_FUNC2 (void, plugin_menu_remove, gint, id, MenuFunc, func)
00068 
00069 /* ui_preferences.c */
00070 AUD_FUNC4 (void, create_widgets_with_domain, /* GtkWidget * */ void *, box,
00071  PreferencesWidget *, widgets, gint, count, const gchar *, domain)
00072 AUD_FUNC0 (void, show_prefs_window)
00073 
00074 /* util.c */
00075 AUD_FUNC0 (gchar *, util_get_localdir)
00076 AUD_FUNC1 (void, util_add_url_history_entry, const gchar *, url)
00077 AUD_FUNC2 (gchar *, construct_uri, const gchar *, base, const gchar *, reference)
00078 
00079 /* vis_runner.c */
00080 AUD_FUNC2 (void, vis_runner_add_hook, VisHookFunc, func, void *, user)
00081 AUD_FUNC1 (void, vis_runner_remove_hook, VisHookFunc, func)
00082 
00083 /* visualization.c */
00084 AUD_FUNC3 (void, calc_mono_freq, VisFreqData, buffer, const VisPCMData, data,
00085  gint, channels)
00086 AUD_FUNC3 (void, calc_mono_pcm, VisPCMData, buffer, const VisPCMData, data,
00087  gint, channels)
00088 AUD_FUNC3 (void, calc_stereo_pcm, VisPCMData, buffer, const VisPCMData, data,
00089  gint, channels)
00090 
00091 /* New in 2.5-alpha2 */
00092 AUD_FUNC1 (void, interface_install_toolbar, void *, button)
00093 AUD_FUNC1 (void, interface_uninstall_toolbar, void *, button)