aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongSticker.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-17 19:37:51 +0200
committerMax Kellermann <max@duempel.org>2013-10-17 19:39:23 +0200
commitc85af12d45928aecb20a087a009e1f5f19f980e2 (patch)
tree1f9fa24bcd5b5e795b4651e30fe3283c42d9b4a2 /src/SongSticker.hxx
parente452d1f5b42fac9acdd4d8e5d86eb28b73a3bbc6 (diff)
downloadmpd-c85af12d45928aecb20a087a009e1f5f19f980e2.tar.gz
mpd-c85af12d45928aecb20a087a009e1f5f19f980e2.tar.xz
mpd-c85af12d45928aecb20a087a009e1f5f19f980e2.zip
StickerDatabase: return std::string
Diffstat (limited to 'src/SongSticker.hxx')
-rw-r--r--src/SongSticker.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/SongSticker.hxx b/src/SongSticker.hxx
index 0f3e0bf41..f3b818de4 100644
--- a/src/SongSticker.hxx
+++ b/src/SongSticker.hxx
@@ -20,6 +20,10 @@
#ifndef MPD_SONG_STICKER_HXX
#define MPD_SONG_STICKER_HXX
+#include "Compiler.h"
+
+#include <string>
+
struct Song;
struct Directory;
struct sticker;
@@ -28,7 +32,8 @@ struct sticker;
* Returns one value from a song's sticker record. The caller must
* free the return value with g_free().
*/
-char *
+gcc_pure
+std::string
sticker_song_get_value(const Song *song, const char *name);
/**