aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_sticker.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/song_sticker.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/song_sticker.h b/src/song_sticker.h
index df5b092db..3b27e91b6 100644
--- a/src/song_sticker.h
+++ b/src/song_sticker.h
@@ -24,6 +24,7 @@
#include <glib.h>
struct song;
+struct sticker;
/**
* Returns one value from a song's sticker record. The caller must
@@ -53,4 +54,13 @@ sticker_song_list_values(const struct song *song);
bool
sticker_song_delete(const struct song *song);
+/**
+ * Loads the sticker for the specified song.
+ *
+ * @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 struct song *song);
+
#endif