summaryrefslogtreecommitdiff
path: root/src/PlaylistFile.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-10-27 21:59:17 +0200
committerMax Kellermann <max@musicpd.org>2016-10-27 22:04:41 +0200
commit6961bd61cac50117872f6cf43585ed594e45abb1 (patch)
treedee3ec435f875867ac5e7255cde862b07f469dbe /src/PlaylistFile.hxx
parent726fc53e624a9b4005194cd57cba035e89b3331d (diff)
LocateUri: migrate from class Error to C++ exceptions
Diffstat (limited to 'src/PlaylistFile.hxx')
-rw-r--r--src/PlaylistFile.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/PlaylistFile.hxx b/src/PlaylistFile.hxx
index d86021b94..6fa846849 100644
--- a/src/PlaylistFile.hxx
+++ b/src/PlaylistFile.hxx
@@ -73,10 +73,12 @@ spl_remove_index(const char *utf8path, unsigned pos);
void
spl_append_song(const char *utf8path, const DetachedSong &song);
-bool
+/**
+ * Throws #std::runtime_error on error.
+ */
+void
spl_append_uri(const char *path_utf8,
- const SongLoader &loader, const char *uri_utf8,
- Error &error);
+ const SongLoader &loader, const char *uri_utf8);
void
spl_rename(const char *utf8from, const char *utf8to);