diff options
author | Max Kellermann <max@duempel.org> | 2014-01-29 17:45:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-29 17:45:07 +0100 |
commit | ff87145537f1d71388be8759688235a75fccf373 (patch) | |
tree | 252ef8a5faec7ead1ee2c817815a67571022a5da /src/sticker/SongSticker.hxx | |
parent | 667481c3719bfb1639d330154f82b58b16f26343 (diff) | |
download | mpd-ff87145537f1d71388be8759688235a75fccf373.tar.gz mpd-ff87145537f1d71388be8759688235a75fccf373.tar.xz mpd-ff87145537f1d71388be8759688235a75fccf373.zip |
sticker: don't use classes Directory and Song
Don't depend on the "simple" database plugin. This fixes an assertion
failure / crash and allows using stickers with other plugins.
Diffstat (limited to 'src/sticker/SongSticker.hxx')
-rw-r--r-- | src/sticker/SongSticker.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sticker/SongSticker.hxx b/src/sticker/SongSticker.hxx index 2f977bd21..a49674150 100644 --- a/src/sticker/SongSticker.hxx +++ b/src/sticker/SongSticker.hxx @@ -72,13 +72,13 @@ sticker_song_get(const LightSong &song); * * Caller must lock the #db_mutex. * - * @param directory the base directory to search in + * @param base_uri the base directory to search in * @param name the name of the sticker * @return true on success (even if no sticker was found), false on * failure */ bool -sticker_song_find(Directory &directory, const char *name, +sticker_song_find(const char *base_uri, const char *name, void (*func)(const LightSong &song, const char *value, void *user_data), void *user_data); |