aboutsummaryrefslogtreecommitdiffstats
path: root/src/DetachedSong.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DetachedSong: add attribute "real_uri"Max Kellermann2014-01-211-3/+34
| | | | Prepare for UPnP songs that retain there database identity.
* DetachedSong: remove parameter names from "defaulted" constructorsMax Kellermann2014-01-211-2/+2
| | | Suppresses gcc warnings.
* DetachedSong: use "default" copy/move constructorsMax Kellermann2014-01-211-10/+2
| | | | Remove unnecessary explicit code.
* LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann2014-01-191-3/+3
| | | | | Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
* Mapper: add function map_song_detach()Max Kellermann2014-01-171-2/+4
| | | | | | Make the DetachedSong(Song) conversion constructor private. Everybody should use map_song_detach() which will take over more responsibilities soon.
* DetachedSong: add method Update()Max Kellermann2014-01-151-0/+7
| | | | | Don't create an intermediate Song instance when all we want is a DetachedSong.
* DetachedSong: remove misplaced std::move()Max Kellermann2014-01-151-1/+1
|
* DetachedSong: fork of struct SongMax Kellermann2014-01-091-0/+184
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.