diff options
Diffstat (limited to 'src/song.h')
-rw-r--r-- | src/song.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/song.h b/src/song.h index a09b69df2..39f916a6a 100644 --- a/src/song.h +++ b/src/song.h @@ -94,6 +94,12 @@ struct song * song_replace_uri(struct song *song, const char *uri); /** + * Creates a "detached" song object. + */ +struct song * +song_detached_new(const char *uri); + +/** * Creates a duplicate of the song object. If the object is in the * database, it creates a "detached" copy of this song, see * song_is_detached(). |