PlaylistFile: throw exception on spl_map_to_fs() failure
This commit is contained in:
@@ -47,7 +47,7 @@ bool
|
||||
spl_valid_name(const char *name_utf8);
|
||||
|
||||
AllocatedPath
|
||||
spl_map_to_fs(const char *name_utf8, Error &error);
|
||||
spl_map_to_fs(const char *name_utf8);
|
||||
|
||||
/**
|
||||
* Returns a list of stored_playlist_info struct pointers. Returns
|
||||
@@ -57,11 +57,10 @@ PlaylistVector
|
||||
ListPlaylistFiles(Error &error);
|
||||
|
||||
PlaylistFileContents
|
||||
LoadPlaylistFile(const char *utf8path, Error &error);
|
||||
LoadPlaylistFile(const char *utf8path);
|
||||
|
||||
bool
|
||||
spl_move_index(const char *utf8path, unsigned src, unsigned dest,
|
||||
Error &error);
|
||||
void
|
||||
spl_move_index(const char *utf8path, unsigned src, unsigned dest);
|
||||
|
||||
bool
|
||||
spl_clear(const char *utf8path, Error &error);
|
||||
@@ -69,11 +68,11 @@ spl_clear(const char *utf8path, Error &error);
|
||||
bool
|
||||
spl_delete(const char *name_utf8, Error &error);
|
||||
|
||||
bool
|
||||
spl_remove_index(const char *utf8path, unsigned pos, Error &error);
|
||||
void
|
||||
spl_remove_index(const char *utf8path, unsigned pos);
|
||||
|
||||
bool
|
||||
spl_append_song(const char *utf8path, const DetachedSong &song, Error &error);
|
||||
void
|
||||
spl_append_song(const char *utf8path, const DetachedSong &song);
|
||||
|
||||
bool
|
||||
spl_append_uri(const char *path_utf8,
|
||||
|
Reference in New Issue
Block a user