Mercurial > audlegacy-plugins
comparison src/rootvis/rootvis.c @ 1144:359cd2c10405 trunk
[svn] - rootvis: convert to plugin2 architecture
| author | nenolod |
|---|---|
| date | Mon, 28 May 2007 03:05:08 -0700 |
| parents | 2cf4d0182a86 |
| children | 761e17b23e0c |
comparison
equal
deleted
inserted
replaced
| 1143:48aba1f78016 | 1144:359cd2c10405 |
|---|---|
| 33 | 33 |
| 34 rootvis_init, // Called when plugin is enabled | 34 rootvis_init, // Called when plugin is enabled |
| 35 rootvis_cleanup, // Called when plugin is disabled | 35 rootvis_cleanup, // Called when plugin is disabled |
| 36 NULL,//rootvis_about, // Show the about box | 36 NULL,//rootvis_about, // Show the about box |
| 37 rootvis_configure, // Show the configure box | 37 rootvis_configure, // Show the configure box |
| 38 0, // Called to disable plugin, filled in by xmms | 38 NULL, // Called to disable plugin, filled in by xmms |
| 39 rootvis_playback_start, // Called when playback starts | 39 rootvis_playback_start, // Called when playback starts |
| 40 rootvis_playback_stop, // Called when playback stops | 40 rootvis_playback_stop, // Called when playback stops |
| 41 0, // Render the PCM data, must return quickly | 41 NULL, // Render the PCM data, must return quickly |
| 42 rootvis_render_freq // Render the freq data, must return quickly | 42 rootvis_render_freq // Render the freq data, must return quickly |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 // XMMS entry point | 45 VisPlugin *rootvis_vplist[] = { &rootvis_vtable, NULL }; |
| 46 VisPlugin *get_vplugin_info(void) { | 46 |
| 47 return &rootvis_vtable; | 47 DECLARE_PLUGIN(rootvis, NULL, NULL, NULL, NULL, NULL, NULL, rootvis_vplist); |
| 48 } | |
| 49 | 48 |
| 50 // X related | 49 // X related |
| 51 struct rootvis_x { | 50 struct rootvis_x { |
| 52 int screen; | 51 int screen; |
| 53 Display *display; | 52 Display *display; |
