comparison src/modplug/plugin.cxx @ 1081:1233d2efceab trunk

[svn] - modplug: transition to plugin API v2
author nenolod
date Thu, 24 May 2007 16:34:36 -0700
parents b1128efde471
children 761e17b23e0c
comparison
equal deleted inserted replaced
1080:b51246bc3fb3 1081:1233d2efceab
82 82
83 InputPlugin gModPlug = 83 InputPlugin gModPlug =
84 { 84 {
85 NULL, 85 NULL,
86 NULL, 86 NULL,
87 (gchar *)"ModPlug Player", 87 (gchar *)"ModPlug Audio Plugin",
88 Init, 88 Init,
89 ShowAboutBox, 89 ShowAboutBox,
90 ShowConfigureBox, 90 ShowConfigureBox,
91 NULL, 91 NULL,
92 NULL, 92 NULL,
111 NULL, 111 NULL,
112 CanPlayFileFromVFS, // vfs 112 CanPlayFileFromVFS, // vfs
113 (gchar **)fmts, 113 (gchar **)fmts,
114 }; 114 };
115 115
116 extern "C" 116 InputPlugin *modplug_iplist[] = { &gModPlug, NULL };
117 { 117
118 InputPlugin* get_iplugin_info (void) 118 DECLARE_PLUGIN(modplug, NULL, NULL, modplug_iplist, NULL, NULL, NULL, NULL);
119 {
120 return &gModPlug;
121 }
122 }