Mapper: remove unused functions

This commit is contained in:
Max Kellermann
2014-02-07 23:03:25 +01:00
parent b531c4c2fe
commit 027b2063ba
2 changed files with 1 additions and 65 deletions

View File

@@ -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