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