diff src/vtx/vtx.c @ 1086:cd854e8ced20 trunk

[svn] - vtx: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:09:03 -0700
parents 26ff35aa9b2b
children 761e17b23e0c
line wrap: on
line diff
--- a/src/vtx/vtx.c	Thu May 24 23:07:22 2007 -0700
+++ b/src/vtx/vtx.c	Thu May 24 23:09:03 2007 -0700
@@ -292,7 +292,7 @@
 InputPlugin vtx_ip = {
 	NULL,			/* FILLED BY XMMS */
 	NULL,			/* FILLED BY XMMS */
-	"VTX Plugin",		/* Plugin description */
+	"VTX Audio Plugin",		/* Plugin description */
 	NULL,			/* Initialization */
 	vtx_about,		/* Show aboutbox */
 	vtx_config,		/* Show/edit configuration */
@@ -320,11 +320,6 @@
 	vtx_fmts		/* ext assist */
 };
 
-/* called from xmms for plug */
-InputPlugin *
-get_iplugin_info (void)
-{
-  vtx_ip.description = g_strdup (_("VTX Plugin"));
-  return &vtx_ip;
-}
+InputPlugin *vtx_iplist[] = { &vtx_ip, NULL };
 
+DECLARE_PLUGIN(vtx, NULL, NULL, vtx_iplist, NULL, NULL, NULL, NULL);