PlaylistFile: convert more APIs from Error to std::exception

This commit is contained in:
Max Kellermann
2015-12-28 07:22:10 +01:00
parent 1f184f4aec
commit 37862f0f20
3 changed files with 44 additions and 63 deletions

View File

@@ -62,11 +62,11 @@ LoadPlaylistFile(const char *utf8path);
void
spl_move_index(const char *utf8path, unsigned src, unsigned dest);
bool
spl_clear(const char *utf8path, Error &error);
void
spl_clear(const char *utf8path);
bool
spl_delete(const char *name_utf8, Error &error);
void
spl_delete(const char *name_utf8);
void
spl_remove_index(const char *utf8path, unsigned pos);
@@ -79,7 +79,7 @@ spl_append_uri(const char *path_utf8,
const SongLoader &loader, const char *uri_utf8,
Error &error);
bool
spl_rename(const char *utf8from, const char *utf8to, Error &error);
void
spl_rename(const char *utf8from, const char *utf8to);
#endif