diff options
author | Max Kellermann <max@duempel.org> | 2014-02-07 23:03:25 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-07 23:03:25 +0100 |
commit | 027b2063ba450e1d0049907f9c5f22abcc1236ac (patch) | |
tree | b2c930eb7ae3892cdfc5f8b463537836c5593cc5 /src/Mapper.hxx | |
parent | b531c4c2feb39b6c6d741d384fcc192c54b3a702 (diff) |
Mapper: remove unused functions
Diffstat (limited to 'src/Mapper.hxx')
-rw-r--r-- | src/Mapper.hxx | 34 |
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. |