aboutsummaryrefslogtreecommitdiffstats
path: root/src/Mapper.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-07 23:03:25 +0100
committerMax Kellermann <max@duempel.org>2014-02-07 23:03:25 +0100
commit027b2063ba450e1d0049907f9c5f22abcc1236ac (patch)
treeb2c930eb7ae3892cdfc5f8b463537836c5593cc5 /src/Mapper.hxx
parentb531c4c2feb39b6c6d741d384fcc192c54b3a702 (diff)
downloadmpd-027b2063ba450e1d0049907f9c5f22abcc1236ac.tar.gz
mpd-027b2063ba450e1d0049907f9c5f22abcc1236ac.tar.xz
mpd-027b2063ba450e1d0049907f9c5f22abcc1236ac.zip
Mapper: remove unused functions
Diffstat (limited to '')
-rw-r--r--src/Mapper.hxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/Mapper.hxx b/src/Mapper.hxx
index 0ef663b80..a535c5eec 100644
--- a/src/Mapper.hxx
+++ b/src/Mapper.hxx
@@ -31,10 +31,6 @@
#define PLAYLIST_FILE_SUFFIX ".m3u"
class AllocatedPath;
-struct Directory;
-struct Song;
-struct LightSong;
-class DetachedSong;
void
mapper_init(AllocatedPath &&music_dir, AllocatedPath &&playlist_dir);
@@ -44,36 +40,6 @@ void mapper_finish(void);
#ifdef ENABLE_DATABASE
/**
- * Return the absolute path of the music directory encoded in UTF-8 or
- * nullptr if no music directory was configured.
- */
-gcc_const
-const char *
-mapper_get_music_directory_utf8(void);
-
-/**
- * Return the absolute path of the music directory encoded in the
- * filesystem character set.
- */
-gcc_const
-const AllocatedPath &
-mapper_get_music_directory_fs(void);
-
-/**
- * Returns true if a music directory was configured.
- */
-gcc_const
-static inline bool
-mapper_has_music_directory(void)
-{
- return mapper_get_music_directory_utf8() != nullptr;
-}
-
-#endif
-
-#ifdef ENABLE_DATABASE
-
-/**
* Determines the absolute file system path of a relative URI. This
* is basically done by converting the URI to the file system charset
* and prepending the music directory.