Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mapper: move map_song_detach() to db/DatabaseSong.cxx | Max Kellermann | 2014-02-07 | 1 | -0/+3 |
| | | | | Use Storage::MapUTF8() internally, don't use global variables. | ||||
* | DetachedSong: un-inline the destructor | Max Kellermann | 2014-01-23 | 1 | -0/+2 |
| | | | | Reduce bloat. | ||||
* | DetachedSong: add attribute "real_uri" | Max Kellermann | 2014-01-21 | 1 | -3/+34 |
| | | | | Prepare for UPnP songs that retain there database identity. | ||||
* | DetachedSong: remove parameter names from "defaulted" constructors | Max Kellermann | 2014-01-21 | 1 | -2/+2 |
| | | | Suppresses gcc warnings. | ||||
* | DetachedSong: use "default" copy/move constructors | Max Kellermann | 2014-01-21 | 1 | -10/+2 |
| | | | | Remove unnecessary explicit code. | ||||
* | LightSong: new class to be used by DatabasePlugin callbacks | Max Kellermann | 2014-01-19 | 1 | -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 Kellermann | 2014-01-17 | 1 | -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 Kellermann | 2014-01-15 | 1 | -0/+7 |
| | | | | | Don't create an intermediate Song instance when all we want is a DetachedSong. | ||||
* | DetachedSong: remove misplaced std::move() | Max Kellermann | 2014-01-15 | 1 | -1/+1 |
| | |||||
* | DetachedSong: fork of struct Song | Max Kellermann | 2014-01-09 | 1 | -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. |