changeset 4625:8c36787807de

remove some old unused functions from plugin API
author mf0102 <0102@gmx.at>
date Tue, 10 Jun 2008 00:51:39 +0200
parents 5523b30cb122
children 5ebedd1470c9
files src/audacious/plugin.h src/audacious/pluginenum.c
diffstat 2 files changed, 0 insertions(+), 36 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/plugin.h	Mon Jun 09 20:02:30 2008 +0200
+++ b/src/audacious/plugin.h	Tue Jun 10 00:51:39 2008 +0200
@@ -522,14 +522,6 @@
     gint (*hook_dissociate)(const gchar *name, HookFunction func);
     void (*hook_call)(const gchar *name, gpointer hook_data);
 
-    /* defunct xconvert API, not really supported. */
-    gpointer xmms_convert_buffers_new;
-    gpointer xmms_convert_buffers_free;
-    gpointer xmms_convert_buffers_destroy;
-    gpointer xmms_convert_get_func;
-    gpointer xmms_convert_get_channel_func;
-    gpointer xmms_convert_get_frequency_func;
-
     /* PluginMenu API */
     gint (*menu_plugin_item_add)(gint, GtkWidget *);
     gint (*menu_plugin_item_remove)(gint, GtkWidget *);
@@ -620,21 +612,8 @@
     void (*flow_link_element)(Flow *flow, FlowFunction func);
     void (*flow_unlink_element)(Flow *flow, FlowFunction func);
     void (*effect_flow)(FlowContext *context);
-    gpointer iir_flow;	/* old iir_flow */
     void (*volumecontrol_flow)(FlowContext *context);
     
-#if 0
-    /* Dock */
-    GList *(*get_dock_window_list)(void);
-    GList *(*dock_add_window)(GList * window_list, GtkWindow * window);
-    GList *(*dock_remove_window)(GList * window_list, GtkWindow * window);
-    void (*dock_move_press)(GList * window_list, GtkWindow * w,
-                         GdkEventButton * event, gboolean move_list);
-    void (*dock_move_motion)(GtkWindow * w, GdkEventMotion * event);
-    void (*dock_move_release)(GtkWindow * w);
-    gboolean (*dock_is_moving)(GtkWindow * w);
-#endif
-
     GList *(*get_output_list)(void);
 
     void (*input_get_volume)(gint * l, gint * r);
@@ -1161,8 +1140,6 @@
 
     /* Added in Audacious 1.1.0 */
     Tuple *(*get_song_tuple) (gchar * filename);
-    void (*set_song_tuple) (Tuple * tuple); /* stillborn, obsoleted by update_song_tuple, which must be used for tag writing */
-    void (*set_status_buffering) (gboolean status); /* unfunctional */
 
     /* Added in Audacious 1.3.0 */
     gint (*is_our_file_from_vfs) (gchar *filename, VFSFile *fd);
--- a/src/audacious/pluginenum.c	Mon Jun 09 20:02:30 2008 +0200
+++ b/src/audacious/pluginenum.c	Tue Jun 10 00:51:39 2008 +0200
@@ -232,7 +232,6 @@
     .playlist_fileinfo = ui_fileinfo_show,
 
     .playlist_delete_index = playlist_delete_index,
-    .playlist_delete_filenames = NULL, /* remove eventually --mf0102 */
 
     .playlist_get_entry_to_play = playlist_get_entry_to_play,
 
@@ -303,7 +302,6 @@
     .drct_eq_win_toggle = drct_eq_win_toggle,
     .drct_pl_win_is_visible = drct_pl_win_is_visible,
     .drct_pl_win_toggle = drct_pl_win_toggle,
-    .drct_set_skin = NULL, /* remove someday. --mf0102 */
     .drct_activate = drct_activate,
 
     .drct_initiate = drct_initiate,
@@ -373,16 +371,6 @@
 
     .util_menu_main_show = util_menu_main_show,
     
-#if 0
-    .get_dock_window_list = get_dock_window_list,
-    .dock_add_window = dock_add_window,
-    .dock_remove_window = dock_remove_window,
-    .dock_move_press = dock_move_press,
-    .dock_move_motion = dock_move_motion,
-    .dock_move_release = dock_move_release,
-    .dock_is_moving = dock_is_moving,
-#endif
-
     .get_output_list = get_output_list,
 
     .input_get_volume = input_get_volume,
@@ -559,7 +547,6 @@
        - descender */
     p->set_info = (void (*)(gchar *, gint, gint, gint, gint)) playlist_set_info_old_abi;
     p->set_info_text = input_set_info_text;
-    p->set_status_buffering = NULL; /* XXX: remove this someday --mf0102 */
 
     ip_data.input_list = g_list_append(ip_data.input_list, p);