diff options
author | Max Kellermann <max@duempel.org> | 2012-08-15 20:57:45 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-15 23:10:59 +0200 |
commit | e391f4b17b2fdd092b729f0dfec0b84265894e41 (patch) | |
tree | aaf52d9a958c811737d4fca9b046a5f90b0cc831 /src/song.h | |
parent | 2bd344549b5cfcb6d9a1e1e092c034e68d3071bc (diff) |
ProxyDatabase: pass "detached" objects to visitors
Fixes wrong object URIs with duplicate base names.
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(). |