From 297e2747f350aa0fbd941d4fccb0d3e09e3a49a9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Feb 2014 20:22:26 +0100 Subject: PlaylistMapper: use class Storage instead of Mapper.cxx --- src/SongLoader.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/SongLoader.hxx') diff --git a/src/SongLoader.hxx b/src/SongLoader.hxx index c8cd87024..229703972 100644 --- a/src/SongLoader.hxx +++ b/src/SongLoader.hxx @@ -60,6 +60,12 @@ public: :client(nullptr) {} #endif +#ifdef ENABLE_DATABASE + const Storage *GetStorage() const { + return storage; + } +#endif + gcc_nonnull_all DetachedSong *LoadSong(const char *uri_utf8, Error &error) const; -- cgit v1.2.3