aboutsummaryrefslogtreecommitdiffstats
path: root/src/StickerDatabase.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/StickerDatabase.hxx
parente452d1f5b42fac9acdd4d8e5d86eb28b73a3bbc6 (diff)
downloadmpd-c85af12d45928aecb20a087a009e1f5f19f980e2.tar.gz
mpd-c85af12d45928aecb20a087a009e1f5f19f980e2.tar.xz
mpd-c85af12d45928aecb20a087a009e1f5f19f980e2.zip
StickerDatabase: return std::string
Diffstat (limited to 'src/StickerDatabase.hxx')
-rw-r--r--src/StickerDatabase.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/StickerDatabase.hxx b/src/StickerDatabase.hxx
index 834d9a703..46a9ba52d 100644
--- a/src/StickerDatabase.hxx
+++ b/src/StickerDatabase.hxx
@@ -44,6 +44,8 @@
#include "Compiler.h"
+#include <string>
+
class Error;
class Path;
struct sticker;
@@ -72,10 +74,10 @@ bool
sticker_enabled(void);
/**
- * Returns one value from an object's sticker record. The caller must
- * free the return value with g_free().
+ * Returns one value from an object's sticker record. Returns an
+ * empty string if the value doesn't exist.
*/
-char *
+std::string
sticker_load_value(const char *type, const char *uri, const char *name);
/**