Mercurial > audlegacy-plugins
diff src/song_change/song_change.c @ 2149:cf20f1bd2f1e
- updated German translation
- cleaned up alarm, mtp_up and song_change plugins
author | mf0102 <0102@gmx.at> |
---|---|
date | Thu, 01 Nov 2007 21:20:20 +0100 |
parents | b8da6a0b0da2 |
children | c44b90b6322e |
line wrap: on
line diff
--- a/src/song_change/song_change.c Thu Nov 01 15:38:07 2007 +0100 +++ b/src/song_change/song_change.c Thu Nov 01 21:20:20 2007 +0100 @@ -51,17 +51,13 @@ GeneralPlugin sc_gp = { - NULL, /* handle */ - NULL, /* filename */ - "Song Change " PACKAGE_VERSION, /* Description */ - init, - NULL, - NULL, - cleanup, + .description = "Song Change " PACKAGE_VERSION, + .init = init, + .cleanup = cleanup, }; GeneralPlugin *songchange_gplist[] = { &sc_gp, NULL }; -DECLARE_PLUGIN(songchange, NULL, NULL, NULL, NULL, NULL, songchange_gplist, NULL, NULL); +SIMPLE_GENERAL_PLUGIN(songchange, songchange_gplist); static void bury_child(int signal) {