aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongLoader.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-07 20:22:26 +0100
committerMax Kellermann <max@duempel.org>2014-02-07 21:44:50 +0100
commit297e2747f350aa0fbd941d4fccb0d3e09e3a49a9 (patch)
treef858e3194276ce0347378c726ac251d0b9b616eb /src/SongLoader.hxx
parent77de23311792b6df7fb7b82ea5db3bc6643196fc (diff)
downloadmpd-297e2747f350aa0fbd941d4fccb0d3e09e3a49a9.tar.gz
mpd-297e2747f350aa0fbd941d4fccb0d3e09e3a49a9.tar.xz
mpd-297e2747f350aa0fbd941d4fccb0d3e09e3a49a9.zip
PlaylistMapper: use class Storage instead of Mapper.cxx
Diffstat (limited to 'src/SongLoader.hxx')
-rw-r--r--src/SongLoader.hxx6
1 files changed, 6 insertions, 0 deletions
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;