1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
2 /*
3  * Copyright © 2011 – 2017 Red Hat, Inc.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General
16  * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #if !defined (__GOA_INSIDE_GOA_H__) && !defined (GOA_COMPILATION)
20 #error "Only <goa/goa.h> can be included directly."
21 #endif
22 
23 #ifndef __GOA_ERROR_H__
24 #define __GOA_ERROR_H__
25 
26 #include <glib.h>
27 
28 G_BEGIN_DECLS
29 
30 /**
31  * GOA_ERROR:
32  *
33  * Error domain for Goa. Errors in this domain will be form the
34  * #GoaError enumeration. See #GError for more information on error
35  * domains.
36  */
37 #define GOA_ERROR (goa_error_quark ())
38 
39 GQuark goa_error_quark (void);
40 
41 G_END_DECLS
42 
43 #endif /* __GOA_ERROR_H__ */
44