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 __PLUG_IN_ENUMS_H__
19 #define __PLUG_IN_ENUMS_H__
20 
21 
22 #define GIMP_TYPE_PLUG_IN_IMAGE_TYPE (gimp_plug_in_image_type_get_type ())
23 
24 GType gimp_plug_in_image_type_get_type (void) G_GNUC_CONST;
25 
26 typedef enum
27 {
28   GIMP_PLUG_IN_RGB_IMAGE      = 1 << 0,
29   GIMP_PLUG_IN_GRAY_IMAGE     = 1 << 1,
30   GIMP_PLUG_IN_INDEXED_IMAGE  = 1 << 2,
31   GIMP_PLUG_IN_RGBA_IMAGE     = 1 << 3,
32   GIMP_PLUG_IN_GRAYA_IMAGE    = 1 << 4,
33   GIMP_PLUG_IN_INDEXEDA_IMAGE = 1 << 5
34 } GimpPlugInImageType;
35 
36 
37 #define GIMP_TYPE_PLUG_CALL_MODE (gimp_plug_in_call_mode_get_type ())
38 
39 GType gimp_plug_in_call_mode_get_type (void) G_GNUC_CONST;
40 
41 typedef enum
42 {
43   GIMP_PLUG_IN_CALL_NONE,
44   GIMP_PLUG_IN_CALL_RUN,
45   GIMP_PLUG_IN_CALL_QUERY,
46   GIMP_PLUG_IN_CALL_INIT
47 } GimpPlugInCallMode;
48 
49 
50 #define GIMP_TYPE_FILE_PROCEDURE_GROUP (gimp_file_procedure_group_get_type ())
51 
52 GType gimp_file_procedure_group_get_type (void) G_GNUC_CONST;
53 
54 typedef enum
55 {
56   GIMP_FILE_PROCEDURE_GROUP_NONE,
57   GIMP_FILE_PROCEDURE_GROUP_ANY,
58   GIMP_FILE_PROCEDURE_GROUP_OPEN,
59   GIMP_FILE_PROCEDURE_GROUP_SAVE,
60   GIMP_FILE_PROCEDURE_GROUP_EXPORT
61 } GimpFileProcedureGroup;
62 
63 
64 #endif /* __PLUG_IN_ENUMS_H__ */
65