aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongLoader.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;