diff options
author | Max Kellermann <max@duempel.org> | 2014-01-08 00:41:08 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-08 00:41:08 +0100 |
commit | 6a953394f49eb4c36f2170b83bd4da9b681222e1 (patch) | |
tree | 2d17f6b901502eaf674a7aa082004696b04afc80 /src/SongSticker.hxx | |
parent | c152a88ff60b0f3f2574860909edae20fdd8cf19 (diff) | |
download | mpd-6a953394f49eb4c36f2170b83bd4da9b681222e1.tar.gz mpd-6a953394f49eb4c36f2170b83bd4da9b681222e1.tar.xz mpd-6a953394f49eb4c36f2170b83bd4da9b681222e1.zip |
SongSticker: use Song references
Diffstat (limited to 'src/SongSticker.hxx')
-rw-r--r-- | src/SongSticker.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/SongSticker.hxx b/src/SongSticker.hxx index 7a63a64b4..a5de90517 100644 --- a/src/SongSticker.hxx +++ b/src/SongSticker.hxx @@ -34,28 +34,28 @@ struct sticker; */ gcc_pure std::string -sticker_song_get_value(const Song *song, const char *name); +sticker_song_get_value(const Song &song, const char *name); /** * Sets a sticker value in the specified song. Overwrites existing * values. */ bool -sticker_song_set_value(const Song *song, +sticker_song_set_value(const Song &song, const char *name, const char *value); /** * Deletes a sticker from the database. All values are deleted. */ bool -sticker_song_delete(const Song *song); +sticker_song_delete(const Song &song); /** * Deletes a sticker value. Does nothing if the sticker did not * exist. */ bool -sticker_song_delete_value(const Song *song, const char *name); +sticker_song_delete_value(const Song &song, const char *name); /** * Loads the sticker for the specified song. @@ -64,7 +64,7 @@ sticker_song_delete_value(const Song *song, const char *name); * @return a sticker object, or NULL on error or if there is no sticker */ sticker * -sticker_song_get(const Song *song); +sticker_song_get(const Song &song); /** * Finds stickers with the specified name below the specified |