diff options
author | Max Kellermann <max@duempel.org> | 2014-02-04 01:15:08 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-04 01:15:08 +0100 |
commit | 9c637df77ec245518922c5aeb076ae52c89598d0 (patch) | |
tree | 904a90b1135d070347c1e2ff0e935ccbada358cc /src/sticker/SongSticker.hxx | |
parent | 29072797ca5a397b2878e458db22cb5dcc7dfe4d (diff) | |
download | mpd-9c637df77ec245518922c5aeb076ae52c89598d0.tar.gz mpd-9c637df77ec245518922c5aeb076ae52c89598d0.tar.xz mpd-9c637df77ec245518922c5aeb076ae52c89598d0.zip |
SongSticker: add Database reference parameter
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 a49674150..5956cd6f9 100644 --- a/src/sticker/SongSticker.hxx +++ b/src/sticker/SongSticker.hxx @@ -25,8 +25,8 @@ #include <string> struct LightSong; -struct Directory; struct sticker; +class Database; /** * Returns one value from a song's sticker record. The caller must @@ -78,7 +78,7 @@ sticker_song_get(const LightSong &song); * failure */ bool -sticker_song_find(const char *base_uri, const char *name, +sticker_song_find(const Database &db, const char *base_uri, const char *name, void (*func)(const LightSong &song, const char *value, void *user_data), void *user_data); |