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/DatabaseVisitor.hxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/DatabaseVisitor.hxx') diff --git a/src/DatabaseVisitor.hxx b/src/DatabaseVisitor.hxx index e36933d7a..cd6a7c94d 100644 --- a/src/DatabaseVisitor.hxx +++ b/src/DatabaseVisitor.hxx @@ -20,19 +20,18 @@ #ifndef MPD_DATABASE_VISITOR_HXX #define MPD_DATABASE_VISITOR_HXX -#include "gerror.h" - #include struct Directory; struct Song; struct PlaylistInfo; +class Error; -typedef std::function VisitDirectory; -typedef std::function VisitSong; +typedef std::function VisitDirectory; +typedef std::function VisitSong; typedef std::function VisitPlaylist; + Error &)> VisitPlaylist; -typedef std::function VisitString; +typedef std::function VisitString; #endif -- cgit v1.2.3