From 29030b54c98b0aee65fbc10ebf7ba36bed98c02c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 10 Aug 2013 18:02:44 +0200 Subject: util/Error: new error passing library Replaces GLib's GError. --- src/OutputAll.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/OutputAll.hxx') diff --git a/src/OutputAll.hxx b/src/OutputAll.hxx index 10f8196aa..fc27a4c6e 100644 --- a/src/OutputAll.hxx +++ b/src/OutputAll.hxx @@ -27,12 +27,12 @@ #define OUTPUT_ALL_H #include "replay_gain_info.h" -#include "gerror.h" struct AudioFormat; struct music_buffer; struct music_chunk; struct player_control; +class Error; /** * Global initialization: load audio outputs from the configuration @@ -84,7 +84,7 @@ audio_output_all_enable_disable(void); bool audio_output_all_open(AudioFormat audio_format, struct music_buffer *buffer, - GError **error_r); + Error &error); /** * Closes all audio outputs. @@ -111,7 +111,7 @@ audio_output_all_set_replay_gain_mode(enum replay_gain_mode mode); * (all closed then) */ bool -audio_output_all_play(struct music_chunk *chunk, GError **error_r); +audio_output_all_play(struct music_chunk *chunk, Error &error); /** * Checks if the output devices have drained their music pipe, and -- cgit v1.2.3