1 /* GIMP - The GNU Image Manipulation Program
2  * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3  *
4  * GimpConfig typedefs
5  * Copyright (C) 2001-2002  Sven Neumann <sven@gimp.org>
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef __CONFIG_TYPES_H__
22 #define __CONFIG_TYPES_H__
23 
24 
25 #include "libgimpconfig/gimpconfigtypes.h"
26 
27 #include "config/config-enums.h"
28 
29 
30 #define GIMP_OPACITY_TRANSPARENT      0.0
31 #define GIMP_OPACITY_OPAQUE           1.0
32 
33 
34 typedef struct _GimpGeglConfig       GimpGeglConfig;
35 typedef struct _GimpCoreConfig       GimpCoreConfig;
36 typedef struct _GimpDisplayConfig    GimpDisplayConfig;
37 typedef struct _GimpGuiConfig        GimpGuiConfig;
38 typedef struct _GimpDialogConfig     GimpDialogConfig;
39 typedef struct _GimpLangRc           GimpLangRc;
40 typedef struct _GimpPluginConfig     GimpPluginConfig;
41 typedef struct _GimpRc               GimpRc;
42 
43 typedef struct _GimpXmlParser        GimpXmlParser;
44 
45 typedef struct _GimpDisplayOptions   GimpDisplayOptions;
46 
47 /* should be in core/core-types.h */
48 typedef struct _GimpGrid             GimpGrid;
49 typedef struct _GimpTemplate         GimpTemplate;
50 
51 
52 /* for now these are defines, but can be turned into something
53  * fancier for nicer debugging
54  */
55 #define gimp_assert             g_assert
56 #define gimp_assert_not_reached g_assert_not_reached
57 
58 
59 #endif /* __CONFIG_TYPES_H__ */
60