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 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 /* playlist_container.c */
00040 AUD_FUNC1 (void, playlist_container_register, PlaylistContainer *, container)
00041 AUD_FUNC1 (void, playlist_container_unregister, PlaylistContainer *, container)
00042 
00043 /* playlist-utils.c */
00044 AUD_FUNC0 (const gchar *, get_gentitle_format)
00045 AUD_FUNC0 (void, save_playlists)
00046 
00047 /* plugin-registry.c */
00048 AUD_FUNC2 (void, uri_set_plugin, const gchar *, scheme, InputPlugin *, ip)
00049 AUD_FUNC2 (void, mime_set_plugin, const gchar *, mimetype, InputPlugin *, ip)
00050 
00051 /* probe.c */
00052 AUD_FUNC2 (InputPlugin *, file_find_decoder, const gchar *, filename, gboolean,
00053  fast)
00054 AUD_FUNC2 (Tuple *, file_read_tuple, const gchar *, filename, InputPlugin *,
00055  decoder)
00056 AUD_FUNC4 (gboolean, file_read_image, const gchar *, filename, InputPlugin *,
00057  decoder, void * *, data, gint *, size)
00058 AUD_FUNC2 (gboolean, file_can_write_tuple, const gchar *, filename,
00059  InputPlugin *, decoder)
00060 AUD_FUNC3 (gboolean, file_write_tuple, const gchar *, filename, InputPlugin *,
00061  decoder, const Tuple *, tuple)
00062 AUD_FUNC2 (gboolean, custom_infowin, const gchar *, filename, InputPlugin *,
00063  decoder)
00064 
00065 /* ui_albumart.c */
00066 AUD_FUNC1 (gchar *, get_associated_image_file, const gchar *, filename)
00067 
00068 /* ui_plugin_menu.c */
00069 AUD_FUNC1 (/* GtkWidget * */ void *, get_plugin_menu, gint, id)
00070 AUD_FUNC2 (gint, menu_plugin_item_add, gint, menu, /* GtkWidget * */ void *,
00071  item)
00072 AUD_FUNC2 (gint, menu_plugin_item_remove, gint, menu, /* GtkWidget * */ void *,
00073  item)
00074 
00075 /* ui_preferences.c */
00076 AUD_FUNC4 (void, create_widgets_with_domain, /* GtkWidget * */ void *, box,
00077  PreferencesWidget *, widgets, gint, count, const gchar *, domain)
00078 
00079 /* util.c */
00080 AUD_FUNC0 (gchar *, util_get_localdir)
00081 AUD_FUNC1 (void, util_add_url_history_entry, const gchar *, url)
00082 AUD_FUNC2 (gchar *, construct_uri, const gchar *, base, const gchar *, reference)
00083 
00084 /* vis_runner.c */
00085 AUD_FUNC2 (void, vis_runner_add_hook, VisHookFunc, func, void *, user)
00086 AUD_FUNC1 (void, vis_runner_remove_hook, VisHookFunc, func)
00087 
00088 /* visualization.c */
00089 AUD_FUNC3 (void, calc_mono_freq, VisFreqData, buffer, const VisPCMData, data,
00090  gint, channels)
00091 AUD_FUNC3 (void, calc_mono_pcm, VisPCMData, buffer, const VisPCMData, data,
00092  gint, channels)
00093 AUD_FUNC3 (void, calc_stereo_pcm, VisPCMData, buffer, const VisPCMData, data,
00094  gint, channels)