comparison audacious/pluginenum.c @ 2098:425963ded156 trunk

[svn] - provide the old ABI for plugins (intermediate layer). Pointed out by yaz, pointy hat to me.
author nenolod
date Mon, 11 Dec 2006 05:49:54 -0800
parents 78002535143b
children f18a5b617c34
comparison
equal deleted inserted replaced
2097:75100f6b216a 2098:425963ded156
138 p->add_vis_pcm = input_add_vis_pcm; 138 p->add_vis_pcm = input_add_vis_pcm;
139 139
140 /* Pretty const casts courtesy of XMMS's plugin.h legacy. Anyone 140 /* Pretty const casts courtesy of XMMS's plugin.h legacy. Anyone
141 else thinks we could use a CONST macro to solve the warnings? 141 else thinks we could use a CONST macro to solve the warnings?
142 - descender */ 142 - descender */
143 p->set_info = (void (*)(gchar *, gint, gint, gint, gint)) playlist_set_info; 143 p->set_info = (void (*)(gchar *, gint, gint, gint, gint)) playlist_set_info_old_abi;
144 p->set_info_text = (void (*)(gchar *)) input_set_info_text; 144 p->set_info_text = (void (*)(gchar *)) input_set_info_text;
145 p->set_status_buffering = (void (*)(gboolean)) input_set_status_buffering; 145 p->set_status_buffering = (void (*)(gboolean)) input_set_status_buffering;
146 146
147 ip_data.input_list = g_list_append(ip_data.input_list, p); 147 ip_data.input_list = g_list_append(ip_data.input_list, p);
148 148