aboutsummaryrefslogtreecommitdiffstats
path: root/src/DetachedSong.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-29Tag: use SignedSongTime for the song durationMax Kellermann1-1/+1
2014-08-28DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann1-16/+21
2014-02-07Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann1-0/+3
Use Storage::MapUTF8() internally, don't use global variables.
2014-01-23DetachedSong: un-inline the destructorMax Kellermann1-0/+2
Reduce bloat.
2014-01-21DetachedSong: add attribute "real_uri"Max Kellermann1-3/+34
Prepare for UPnP songs that retain there database identity.
2014-01-21DetachedSong: remove parameter names from "defaulted" constructorsMax Kellermann1-2/+2
Suppresses gcc warnings.
2014-01-21DetachedSong: use "default" copy/move constructorsMax Kellermann1-10/+2
Remove unnecessary explicit code.
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-3/+3
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 Kellermann1-2/+4
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 Kellermann1-0/+7
Don't create an intermediate Song instance when all we want is a DetachedSong.
2014-01-15DetachedSong: remove misplaced std::move()Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-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.