diff options
Diffstat (limited to '')
-rw-r--r-- | src/SongSticker.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/SongSticker.hxx b/src/SongSticker.hxx index 0923f0c3a..2f977bd21 100644 --- a/src/SongSticker.hxx +++ b/src/SongSticker.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 The Music Player Daemon Project + * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -24,7 +24,7 @@ #include <string> -struct Song; +struct LightSong; struct Directory; struct sticker; @@ -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 LightSong &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 LightSong &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 LightSong &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 LightSong &song, const char *name); /** * Loads the sticker for the specified song. @@ -63,8 +63,8 @@ sticker_song_delete_value(const Song *song, const char *name); * @param song the song object * @return a sticker object, or NULL on error or if there is no sticker */ -struct sticker * -sticker_song_get(const Song *song); +sticker * +sticker_song_get(const LightSong &song); /** * Finds stickers with the specified name below the specified @@ -79,7 +79,7 @@ sticker_song_get(const Song *song); */ bool sticker_song_find(Directory &directory, const char *name, - void (*func)(Song &song, const char *value, + void (*func)(const LightSong &song, const char *value, void *user_data), void *user_data); |