aboutsummaryrefslogtreecommitdiffstats
path: root/src/Mapper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mapper.hxx')
-rw-r--r--src/Mapper.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Mapper.hxx b/src/Mapper.hxx
index 7ff41f239..ca5d29810 100644
--- a/src/Mapper.hxx
+++ b/src/Mapper.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2014 The Music Player Daemon Project
+ * Copyright (C) 2003-2015 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -30,12 +30,14 @@
#define PLAYLIST_FILE_SUFFIX ".m3u"
+class Path;
class AllocatedPath;
void
mapper_init(AllocatedPath &&playlist_dir);
-void mapper_finish(void);
+void
+mapper_finish();
#ifdef ENABLE_DATABASE
@@ -58,7 +60,7 @@ map_uri_fs(const char *uri);
*/
gcc_pure
std::string
-map_fs_to_utf8(const char *path_fs);
+map_fs_to_utf8(Path path_fs);
#endif
@@ -67,7 +69,7 @@ map_fs_to_utf8(const char *path_fs);
*/
gcc_const
const AllocatedPath &
-map_spl_path(void);
+map_spl_path();
/**
* Maps a playlist name (without the ".m3u" suffix) to a file system