diff options
author | Max Kellermann <max@duempel.org> | 2014-02-07 20:22:26 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-07 21:44:50 +0100 |
commit | 297e2747f350aa0fbd941d4fccb0d3e09e3a49a9 (patch) | |
tree | f858e3194276ce0347378c726ac251d0b9b616eb /src/playlist/PlaylistAny.cxx | |
parent | 77de23311792b6df7fb7b82ea5db3bc6643196fc (diff) |
PlaylistMapper: use class Storage instead of Mapper.cxx
Diffstat (limited to 'src/playlist/PlaylistAny.cxx')
-rw-r--r-- | src/playlist/PlaylistAny.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/playlist/PlaylistAny.cxx b/src/playlist/PlaylistAny.cxx index 457de18b3..7093fb99a 100644 --- a/src/playlist/PlaylistAny.cxx +++ b/src/playlist/PlaylistAny.cxx @@ -24,9 +24,17 @@ #include "util/UriUtil.hxx" SongEnumerator * -playlist_open_any(const char *uri, Mutex &mutex, Cond &cond) +playlist_open_any(const char *uri, +#ifdef ENABLE_DATABASE + const Storage *storage, +#endif + Mutex &mutex, Cond &cond) { return uri_has_scheme(uri) ? playlist_open_remote(uri, mutex, cond) - : playlist_mapper_open(uri, mutex, cond); + : playlist_mapper_open(uri, +#ifdef ENABLE_DATABASE + storage, +#endif + mutex, cond); } |