From c772bc45c60be3f559cdd42a9628f37f15da0a17 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 19:50:54 +0200 Subject: PlaylistError: convert playlist_result to a strictly-typed enum --- src/PlaylistQueue.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/PlaylistQueue.hxx') diff --git a/src/PlaylistQueue.hxx b/src/PlaylistQueue.hxx index 2860190f1..503b6bbb0 100644 --- a/src/PlaylistQueue.hxx +++ b/src/PlaylistQueue.hxx @@ -39,7 +39,7 @@ struct player_control; * @param start_index the index of the first song * @param end_index the index of the last song (excluding) */ -enum playlist_result +PlaylistResult playlist_load_into_queue(const char *uri, SongEnumerator &e, unsigned start_index, unsigned end_index, playlist &dest, player_control &pc, @@ -49,7 +49,7 @@ playlist_load_into_queue(const char *uri, SongEnumerator &e, * Opens a playlist with a playlist plugin and append to the specified * play queue. */ -enum playlist_result +PlaylistResult playlist_open_into_queue(const char *uri, unsigned start_index, unsigned end_index, playlist &dest, player_control &pc, -- cgit v1.2.3