1 /* GIMP - The GNU Image Manipulation Program
2  *
3  * gimpoperationcagecoefcalc.h
4  * Copyright (C) 2010 Michael Muré <batolettre@gmail.com>
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef __GIMP_OPERATION_CAGE_COEF_CALC_H__
21 #define __GIMP_OPERATION_CAGE_COEF_CALC_H__
22 
23 
24 #include <gegl-plugin.h>
25 #include <operation/gegl-operation-source.h>
26 
27 
28 enum
29 {
30   GIMP_OPERATION_CAGE_COEF_CALC_PROP_0,
31   GIMP_OPERATION_CAGE_COEF_CALC_PROP_CONFIG
32 };
33 
34 
35 #define GIMP_TYPE_OPERATION_CAGE_COEF_CALC            (gimp_operation_cage_coef_calc_get_type ())
36 #define GIMP_OPERATION_CAGE_COEF_CALC(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_OPERATION_CAGE_COEF_CALC, GimpOperationCageCoefCalc))
37 #define GIMP_OPERATION_CAGE_COEF_CALC_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  GIMP_TYPE_OPERATION_CAGE_COEF_CALC, GimpOperationCageCoefCalcClass))
38 #define GIMP_IS_OPERATION_CAGE_COEF_CALC(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_OPERATION_CAGE_COEF_CALC))
39 #define GIMP_IS_OPERATION_CAGE_COEF_CALC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  GIMP_TYPE_OPERATION_CAGE_COEF_CALC))
40 #define GIMP_OPERATION_CAGE_COEF_CALC_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  GIMP_TYPE_OPERATION_CAGE_COEF_CALC, GimpOperationCageCoefCalcClass))
41 
42 
43 typedef struct _GimpOperationCageCoefCalc      GimpOperationCageCoefCalc;
44 typedef struct _GimpOperationCageCoefCalcClass GimpOperationCageCoefCalcClass;
45 
46 struct _GimpOperationCageCoefCalc
47 {
48   GeglOperationSource  parent_instance;
49 
50   GimpCageConfig      *config;
51 };
52 
53 struct _GimpOperationCageCoefCalcClass
54 {
55   GeglOperationSourceClass  parent_class;
56 };
57 
58 
59 GType   gimp_operation_cage_coef_calc_get_type (void) G_GNUC_CONST;
60 
61 
62 #endif /* __GIMP_OPERATION_CAGE_COEF_CALC_H__ */
63