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/TagId3.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/TagId3.hxx')
-rw-r--r-- | src/TagId3.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/TagId3.hxx b/src/TagId3.hxx index d359306e9..ca288754b 100644 --- a/src/TagId3.hxx +++ b/src/TagId3.hxx @@ -22,11 +22,11 @@ #include "check.h" #include "gcc.h" -#include "gerror.h" struct tag_handler; struct Tag; struct id3_tag; +class Error; #ifdef HAVE_ID3TAG @@ -42,10 +42,10 @@ tag_id3_import(struct id3_tag *); * return value must be freed with id3_tag_delete(). * * @return NULL on error or if no ID3 tag was found in the file (no - * GError will be set) + * Error will be set) */ struct id3_tag * -tag_id3_load(const char *path_fs, GError **error_r); +tag_id3_load(const char *path_fs, Error &error); /** * Import all tags from the provided id3_tag *tag |