comparison 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
comparison
equal deleted inserted replaced
1085:e1b24ffdc865 1086:cd854e8ced20
290 } 290 }
291 291
292 InputPlugin vtx_ip = { 292 InputPlugin vtx_ip = {
293 NULL, /* FILLED BY XMMS */ 293 NULL, /* FILLED BY XMMS */
294 NULL, /* FILLED BY XMMS */ 294 NULL, /* FILLED BY XMMS */
295 "VTX Plugin", /* Plugin description */ 295 "VTX Audio Plugin", /* Plugin description */
296 NULL, /* Initialization */ 296 NULL, /* Initialization */
297 vtx_about, /* Show aboutbox */ 297 vtx_about, /* Show aboutbox */
298 vtx_config, /* Show/edit configuration */ 298 vtx_config, /* Show/edit configuration */
299 vtx_is_our_file, /* Check file, return 1 if the plugin can handle this file */ 299 vtx_is_our_file, /* Check file, return 1 if the plugin can handle this file */
300 NULL, /* Scan directory */ 300 NULL, /* Scan directory */
318 NULL, /* Buffer */ 318 NULL, /* Buffer */
319 vtx_is_our_fd, /* VFS */ 319 vtx_is_our_fd, /* VFS */
320 vtx_fmts /* ext assist */ 320 vtx_fmts /* ext assist */
321 }; 321 };
322 322
323 /* called from xmms for plug */ 323 InputPlugin *vtx_iplist[] = { &vtx_ip, NULL };
324 InputPlugin * 324
325 get_iplugin_info (void) 325 DECLARE_PLUGIN(vtx, NULL, NULL, vtx_iplist, NULL, NULL, NULL, NULL);
326 {
327 vtx_ip.description = g_strdup (_("VTX Plugin"));
328 return &vtx_ip;
329 }
330