#include <string.h>
#include <gtk/gtk.h>
#include <libaudcore/hook.h>
#include "audconfig.h"
#include "config.h"
#include "debug.h"
#include "i18n.h"
#include "interface.h"
#include "plugins.h"
#include "ui_preferences.h"
Go to the source code of this file.
enum InterfaceHookID |
Definition at line 236 of file interface.c.
static gboolean delete_cb | ( | GtkWidget * | window, | |
GdkEvent * | event, | |||
PluginHandle * | plugin | |||
) | [static] |
Definition at line 189 of file interface.c.
Referenced by interface_add_plugin_widget().
void interface_add_plugin_widget | ( | PluginHandle * | plugin, | |
GtkWidget * | widget | |||
) |
Definition at line 196 of file interface.c.
Referenced by vis_load().
PluginHandle* interface_get_default | ( | void | ) |
Definition at line 54 of file interface.c.
Referenced by main().
void interface_hide_filebrowser | ( | void | ) |
Definition at line 129 of file interface.c.
Referenced by interface_hook_handler().
void interface_hide_jump_to_track | ( | void | ) |
Definition at line 165 of file interface.c.
Referenced by interface_hook_handler().
void interface_hook_handler | ( | gpointer | hook_data, | |
gpointer | user_data | |||
) |
Definition at line 250 of file interface.c.
gboolean interface_load | ( | PluginHandle * | plugin | ) |
Definition at line 84 of file interface.c.
Referenced by iface_plugin_set_active(), and main().
void interface_remove_plugin_widget | ( | PluginHandle * | plugin, | |
GtkWidget * | widget | |||
) |
Definition at line 210 of file interface.c.
Referenced by vis_unload().
void interface_run_filebrowser | ( | gboolean | play_button | ) |
Definition at line 120 of file interface.c.
Referenced by audacious_rc_eject(), and interface_hook_handler().
static gboolean interface_search_cb | ( | PluginHandle * | plugin, | |
PluginHandle ** | pluginp | |||
) | [static] |
Definition at line 47 of file interface.c.
Referenced by interface_get_default().
void interface_set_default | ( | PluginHandle * | plugin | ) |
Definition at line 74 of file interface.c.
Referenced by iface_plugin_set_active(), and interface_get_default().
void interface_show_about_window | ( | gboolean | show | ) |
Definition at line 174 of file interface.c.
Referenced by interface_hook_handler().
void interface_show_error_message | ( | const gchar * | markup | ) |
Definition at line 147 of file interface.c.
Referenced by import_winamp_eqf(), interface_hook_handler(), and playback_play_file().
void interface_show_jump_to_track | ( | void | ) |
Definition at line 156 of file interface.c.
Referenced by handle_cmd_line_options(), and interface_hook_handler().
void interface_show_prefs_window | ( | gboolean | show | ) |
Definition at line 106 of file interface.c.
Referenced by interface_hook_handler().
void interface_toggle_repeat | ( | void | ) |
Definition at line 228 of file interface.c.
Referenced by interface_hook_handler().
void interface_toggle_shuffle | ( | void | ) |
Definition at line 219 of file interface.c.
Referenced by interface_hook_handler().
void interface_toggle_visibility | ( | void | ) |
Definition at line 138 of file interface.c.
Referenced by audacious_rc_show_main_win(), handle_cmd_line_options(), and interface_hook_handler().
void interface_unload | ( | void | ) |
Definition at line 94 of file interface.c.
Referenced by iface_plugin_set_active(), and shut_down().
void register_interface_hooks | ( | void | ) |
Definition at line 307 of file interface.c.
Referenced by main().
Interface* current_interface = NULL [static] |
Definition at line 35 of file interface.c.
Referenced by interface_load(), and interface_unload().
InterfaceHooks hooks[] [static] |
{ {"prefswin show", HOOK_PREFSWIN_SHOW}, {"filebrowser show", HOOK_FILEBROWSER_SHOW}, {"filebrowser hide", HOOK_FILEBROWSER_HIDE}, {"interface toggle visibility", HOOK_TOGGLE_VISIBILITY}, {"interface show error", HOOK_SHOW_ERROR}, {"interface show jump to track", HOOK_JUMPTOTRACK_SHOW}, {"interface hide jump to track", HOOK_JUMPTOTRACK_HIDE}, {"aboutwin show", HOOK_ABOUTWIN_SHOW}, {"toggle shuffle", HOOK_TOGGLE_SHUFFLE}, {"toggle repeat", HOOK_TOGGLE_REPEAT}, }
Definition at line 293 of file interface.c.
InterfaceCbs interface_cbs = { NULL } [static] |
Definition at line 45 of file interface.c.
InterfaceOps interface_ops [static] |
{ .create_prefs_window = create_prefs_window, .show_prefs_window = show_prefs_window, .hide_prefs_window = hide_prefs_window, .destroy_prefs_window = destroy_prefs_window, .prefswin_page_new = prefswin_page_new, }
Definition at line 37 of file interface.c.