diff options
author | Max Kellermann <max@duempel.org> | 2013-08-10 18:02:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-04 18:14:22 +0200 |
commit | 29030b54c98b0aee65fbc10ebf7ba36bed98c02c (patch) | |
tree | 79766830b55ebca38ddbce84d8d548227eedb69e /src/DatabaseHelpers.hxx | |
parent | c9fcc7f14860777458153eb2d13c773ccfa1daa2 (diff) | |
download | mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.tar.gz mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.tar.xz mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.zip |
util/Error: new error passing library
Replaces GLib's GError.
Diffstat (limited to 'src/DatabaseHelpers.hxx')
-rw-r--r-- | src/DatabaseHelpers.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/DatabaseHelpers.hxx b/src/DatabaseHelpers.hxx index 5b71fd2fb..479cc37c1 100644 --- a/src/DatabaseHelpers.hxx +++ b/src/DatabaseHelpers.hxx @@ -24,6 +24,7 @@ #include "TagType.h" #include "gcc.h" +class Error; class Database; struct DatabaseSelection; struct DatabaseStats; @@ -32,10 +33,10 @@ bool VisitUniqueTags(const Database &db, const DatabaseSelection &selection, enum tag_type tag_type, VisitString visit_string, - GError **error_r); + Error &error); bool GetStats(const Database &db, const DatabaseSelection &selection, - DatabaseStats &stats, GError **error_r); + DatabaseStats &stats, Error &error); #endif |