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/PlaylistError.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/PlaylistError.hxx')
-rw-r--r-- | src/PlaylistError.hxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/PlaylistError.hxx b/src/PlaylistError.hxx index 2750b82ba..7a3dad749 100644 --- a/src/PlaylistError.hxx +++ b/src/PlaylistError.hxx @@ -20,9 +20,7 @@ #ifndef MPD_PLAYLIST_ERROR_HXX #define MPD_PLAYLIST_ERROR_HXX -#include "gcc.h" - -#include <glib.h> +class Domain; enum playlist_result { PLAYLIST_RESULT_SUCCESS, @@ -38,14 +36,6 @@ enum playlist_result { PLAYLIST_RESULT_DISABLED, }; -/** - * Quark for GError.domain; the code is an enum #playlist_result. - */ -gcc_const -static inline GQuark -playlist_quark(void) -{ - return g_quark_from_static_string("playlist"); -} +extern const Domain playlist_domain; #endif |