StickerDatabase: return std::string

This commit is contained in:
Max Kellermann
2013-10-17 19:37:51 +02:00
parent e452d1f5b4
commit c85af12d45
5 changed files with 26 additions and 23 deletions

View File

@@ -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);
/**