diff options
author | Max Kellermann <max@duempel.org> | 2014-02-07 00:29:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-07 00:42:14 +0100 |
commit | c13810ebaa7075284691eb2add089ba407dfd1ea (patch) | |
tree | 1ebeb2104ee4a3e73f49416267aec2e79943821b /src/DetachedSong.hxx | |
parent | 19a982cf693e660ce296a29a9830f1e94d9f1b4c (diff) |
Mapper: move map_song_detach() to db/DatabaseSong.cxx
Use Storage::MapUTF8() internally, don't use global variables.
Diffstat (limited to 'src/DetachedSong.hxx')
-rw-r--r-- | src/DetachedSong.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DetachedSong.hxx b/src/DetachedSong.hxx index c01f32ea5..7ea0bc8d8 100644 --- a/src/DetachedSong.hxx +++ b/src/DetachedSong.hxx @@ -30,9 +30,12 @@ #include <time.h> struct LightSong; +class Storage; class DetachedSong { friend DetachedSong map_song_detach(const LightSong &song); + friend DetachedSong DatabaseDetachSong(const Storage &db, + const LightSong &song); /** * An UTF-8-encoded URI referring to the song file. This can |