aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongLoader.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann2014-02-071-5/+8
| | | | Use Storage::MapUTF8() internally, don't use global variables.
* Instance: add Database attributeMax Kellermann2014-02-041-8/+5
| | | | Move from db/DatabaseGlue.cxx, eliminating global variable.
* db/DatabasePlaylist: pass Database reference aroundMax Kellermann2014-02-041-0/+19
| | | | Reduce global variable usage, move to frontend code.
* SongLoader: new class that merges duplicate codeMax Kellermann2014-02-031-0/+52
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.