summaryrefslogtreecommitdiff
path: root/src/Partition.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-27 17:27:23 +0100
committerMax Kellermann <max@duempel.org>2014-02-27 17:27:23 +0100
commit1c772ef69947127e01e7171b007a2295d51e7ae7 (patch)
tree1461d15b1f94e29ef23a750b97dcf16d77de9fd5 /src/Partition.hxx
parent809b89b5af5eaf7abc3240d786cda15f354b6624 (diff)
Playlist: use the Error library to return errors
Diffstat (limited to 'src/Partition.hxx')
-rw-r--r--src/Partition.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Partition.hxx b/src/Partition.hxx
index 7f7def4af..4341a9ed3 100644
--- a/src/Partition.hxx
+++ b/src/Partition.hxx
@@ -55,10 +55,10 @@ struct Partition final : private PlayerListener, private MixerListener {
playlist.Clear(pc);
}
- PlaylistResult AppendURI(const SongLoader &loader,
- const char *uri_utf8,
- unsigned *added_id=nullptr) {
- return playlist.AppendURI(pc, loader, uri_utf8, added_id);
+ unsigned AppendURI(const SongLoader &loader,
+ const char *uri_utf8,
+ Error &error) {
+ return playlist.AppendURI(pc, loader, uri_utf8, error);
}
PlaylistResult DeletePosition(unsigned position) {