From 027b2063ba450e1d0049907f9c5f22abcc1236ac Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Feb 2014 23:03:25 +0100 Subject: Mapper: remove unused functions --- src/Mapper.hxx | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'src/Mapper.hxx') 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); @@ -43,36 +39,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 -- cgit v1.2.3