aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/PlaylistSong.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist/PlaylistSong.hxx')
-rw-r--r--src/playlist/PlaylistSong.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/playlist/PlaylistSong.hxx b/src/playlist/PlaylistSong.hxx
index 2a47b28db..278df46a8 100644
--- a/src/playlist/PlaylistSong.hxx
+++ b/src/playlist/PlaylistSong.hxx
@@ -20,18 +20,17 @@
#ifndef MPD_PLAYLIST_SONG_HXX
#define MPD_PLAYLIST_SONG_HXX
+class SongLoader;
class DetachedSong;
/**
* Verifies the song, returns false if it is unsafe. Translate the
* song to a song within the database, if it is a local file.
*
- * @param secure if true, then local files are only allowed if they
- * are relative to base_uri
* @return true on success, false if the song should not be used
*/
bool
playlist_check_translate_song(DetachedSong &song, const char *base_uri,
- bool secure);
+ const SongLoader &loader);
#endif