DetachedSong: fork of struct Song
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
This commit is contained in:
@@ -76,8 +76,8 @@ struct Partition {
|
||||
return playlist.DeleteRange(pc, start, end);
|
||||
}
|
||||
|
||||
void DeleteSong(const Song &song) {
|
||||
playlist.DeleteSong(pc, song);
|
||||
void DeleteSong(const char *uri) {
|
||||
playlist.DeleteSong(pc, uri);
|
||||
}
|
||||
|
||||
void Shuffle(unsigned start, unsigned end) {
|
||||
|
Reference in New Issue
Block a user