summaryrefslogtreecommitdiff
path: root/src/DetachedSong.hxx
AgeCommit message (Collapse)Author
2015-01-12DetachedSong: remove obsolete friend declarationMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-08-29Tag: use SignedSongTime for the song durationMax Kellermann
2014-08-28DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann
2014-02-07Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann
Use Storage::MapUTF8() internally, don't use global variables.
2014-01-23DetachedSong: un-inline the destructorMax Kellermann
Reduce bloat.
2014-01-21DetachedSong: add attribute "real_uri"Max Kellermann
Prepare for UPnP songs that retain there database identity.
2014-01-21DetachedSong: remove parameter names from "defaulted" constructorsMax Kellermann
Suppresses gcc warnings.
2014-01-21DetachedSong: use "default" copy/move constructorsMax Kellermann
Remove unnecessary explicit code.
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-17Mapper: add function map_song_detach()Max Kellermann
Make the DetachedSong(Song) conversion constructor private. Everybody should use map_song_detach() which will take over more responsibilities soon.
2014-01-15DetachedSong: add method Update()Max Kellermann
Don't create an intermediate Song instance when all we want is a DetachedSong.
2014-01-15DetachedSong: remove misplaced std::move()Max Kellermann
2014-01-09DetachedSong: fork of struct SongMax Kellermann
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.