diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-06 17:32:03 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-06 17:32:03 +0200 |
commit | 37e7691e7c1956586ff5c9302213cf1b37f235c9 (patch) | |
tree | 0ad49fa72fa65cc50bb99124239276aac1a4bb91 /plugins | |
parent | 0eb27da8f4f33b99b5574d3eb1094e0ee6515c7c (diff) |
added plugin versioning
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ape/ape.c | 1 | ||||
-rw-r--r-- | plugins/demac/demac.c | 1 | ||||
-rw-r--r-- | plugins/flac/flac.c | 1 | ||||
-rw-r--r-- | plugins/hotkeys/hotkeys.c | 1 | ||||
-rw-r--r-- | plugins/lastfm/lastfm.c | 1 | ||||
-rw-r--r-- | plugins/mpgmad/mpgmad.c | 1 | ||||
-rw-r--r-- | plugins/vorbis/vorbis.c | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/plugins/ape/ape.c b/plugins/ape/ape.c index 96608c73..4064666e 100644 --- a/plugins/ape/ape.c +++ b/plugins/ape/ape.c @@ -233,6 +233,7 @@ static const char *filetypes[] = { "APE", NULL }; // define plugin interface static DB_decoder_t plugin = { + DB_PLUGIN_SET_API_VERSION .plugin.version_major = 0, .plugin.version_minor = 1, .plugin.type = DB_PLUGIN_DECODER, diff --git a/plugins/demac/demac.c b/plugins/demac/demac.c index 0f9a8cc5..fed33841 100644 --- a/plugins/demac/demac.c +++ b/plugins/demac/demac.c @@ -628,6 +628,7 @@ static const char *filetypes[] = { "APE", NULL }; // define plugin interface static DB_decoder_t plugin = { + DB_PLUGIN_SET_API_VERSION .plugin.version_major = 0, .plugin.version_minor = 1, .plugin.type = DB_PLUGIN_DECODER, diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c index 580ae209..da28fa27 100644 --- a/plugins/flac/flac.c +++ b/plugins/flac/flac.c @@ -514,6 +514,7 @@ static const char *filetypes[] = { "FLAC", NULL }; // define plugin interface static DB_decoder_t plugin = { + DB_PLUGIN_SET_API_VERSION .plugin.version_major = 0, .plugin.version_minor = 1, .plugin.type = DB_PLUGIN_DECODER, diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c index dd37d07c..8b09ecd0 100644 --- a/plugins/hotkeys/hotkeys.c +++ b/plugins/hotkeys/hotkeys.c @@ -322,6 +322,7 @@ hotkeys_stop (void) { // define plugin interface static DB_misc_t plugin = { + DB_PLUGIN_SET_API_VERSION .plugin.type = DB_PLUGIN_MISC, .plugin.name = "Global Hotkeys", .plugin.descr = "Allows to control player using xlib global hotkeys", diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c index 7191a04a..030ca9a9 100644 --- a/plugins/lastfm/lastfm.c +++ b/plugins/lastfm/lastfm.c @@ -759,6 +759,7 @@ lastfm_stop (void) { // define plugin interface static DB_misc_t plugin = { + DB_PLUGIN_SET_API_VERSION .plugin.version_major = 0, .plugin.version_minor = 1, .plugin.type = DB_PLUGIN_MISC, diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c index 31d288ac..b10762eb 100644 --- a/plugins/mpgmad/mpgmad.c +++ b/plugins/mpgmad/mpgmad.c @@ -989,6 +989,7 @@ static const char *exts[] = { // define plugin interface static DB_decoder_t plugin = { + DB_PLUGIN_SET_API_VERSION .plugin.version_major = 0, .plugin.version_minor = 1, .plugin.type = DB_PLUGIN_DECODER, diff --git a/plugins/vorbis/vorbis.c b/plugins/vorbis/vorbis.c index 4e63642c..6daba52a 100644 --- a/plugins/vorbis/vorbis.c +++ b/plugins/vorbis/vorbis.c @@ -199,6 +199,7 @@ static const char *filetypes[] = { "OggVorbis", NULL }; // define plugin interface static DB_decoder_t plugin = { + DB_PLUGIN_SET_API_VERSION .plugin.version_major = 0, .plugin.version_minor = 1, .plugin.type = DB_PLUGIN_DECODER, |