1 /* GIMP - The GNU Image Manipulation Program
2  * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef __GIMP_PDB_ERROR_H__
19 #define __GIMP_PDB_ERROR_H__
20 
21 
22 typedef enum
23 {
24   GIMP_PDB_ERROR_FAILED,  /* generic error condition */
25   GIMP_PDB_ERROR_CANCELLED,
26   GIMP_PDB_ERROR_PROCEDURE_NOT_FOUND,
27   GIMP_PDB_ERROR_INVALID_ARGUMENT,
28   GIMP_PDB_ERROR_INVALID_RETURN_VALUE,
29   GIMP_PDB_ERROR_INTERNAL_ERROR
30 } GimpPdbErrorCode;
31 
32 
33 #define GIMP_PDB_ERROR (gimp_pdb_error_quark ())
34 
35 GQuark  gimp_pdb_error_quark (void) G_GNUC_CONST;
36 
37 
38 #endif /* __GIMP_PDB_ERROR_H__ */
39