aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/PlaylistMapper.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist/PlaylistMapper.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/playlist/PlaylistMapper.hxx b/src/playlist/PlaylistMapper.hxx
index 01c982763..29ce45083 100644
--- a/src/playlist/PlaylistMapper.hxx
+++ b/src/playlist/PlaylistMapper.hxx
@@ -20,15 +20,22 @@
#ifndef MPD_PLAYLIST_MAPPER_HXX
#define MPD_PLAYLIST_MAPPER_HXX
+#include "check.h"
+
class Mutex;
class Cond;
class SongEnumerator;
+class Storage;
/**
* Opens a playlist from an URI relative to the playlist or music
* directory.
*/
SongEnumerator *
-playlist_mapper_open(const char *uri, Mutex &mutex, Cond &cond);
+playlist_mapper_open(const char *uri,
+#ifdef ENABLE_DATABASE
+ const Storage *storage,
+#endif
+ Mutex &mutex, Cond &cond);
#endif