Mercurial > audlegacy-plugins
diff src/cue/cuesheet.c @ 1088:07914886d6aa trunk
[svn] - cue: convert to plugin API v2
| author | nenolod |
|---|---|
| date | Thu, 24 May 2007 23:13:01 -0700 |
| parents | 8f432e790cfb |
| children | 16413a86172c |
line wrap: on
line diff
--- a/src/cue/cuesheet.c Thu May 24 23:10:18 2007 -0700 +++ b/src/cue/cuesheet.c Thu May 24 23:13:01 2007 -0700 @@ -90,7 +90,7 @@ { NULL, /* handle */ NULL, /* filename */ - NULL, /* description */ + "Cuesheet Plugin", /* description */ cue_init, /* init */ NULL, /* about */ NULL, /* configure */ @@ -116,6 +116,10 @@ NULL }; +InputPlugin *cue_iplist[] = { &cue_ip, NULL }; + +DECLARE_PLUGIN(cue, NULL, NULL, cue_iplist, NULL, NULL, NULL, NULL); + static void cue_init(void) { cue_mutex = g_mutex_new(); @@ -490,12 +494,6 @@ #endif } -InputPlugin *get_iplugin_info(void) -{ - cue_ip.description = g_strdup_printf("Cuesheet Container Plugin"); - return &cue_ip; -} - /******************************************************* watchdog */ /*
