1 /* GIMP - The GNU Image Manipulation Program 2 * Copyright (C) 1995 Spencer Kimball and Peter Mattis 3 * 4 * gimptemporaryprocedure.h 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_TEMPORARY_PROCEDURE_H__ 21 #define __GIMP_TEMPORARY_PROCEDURE_H__ 22 23 24 #include "gimppluginprocedure.h" 25 26 27 #define GIMP_TYPE_TEMPORARY_PROCEDURE (gimp_temporary_procedure_get_type ()) 28 #define GIMP_TEMPORARY_PROCEDURE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_TEMPORARY_PROCEDURE, GimpTemporaryProcedure)) 29 #define GIMP_TEMPORARY_PROCEDURE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_TEMPORARY_PROCEDURE, GimpTemporaryProcedureClass)) 30 #define GIMP_IS_TEMPORARY_PROCEDURE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_TEMPORARY_PROCEDURE)) 31 #define GIMP_IS_TEMPORARY_PROCEDURE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_TEMPORARY_PROCEDURE)) 32 #define GIMP_TEMPORARY_PROCEDURE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_TEMPORARY_PROCEDURE, GimpTemporaryProcedureClass)) 33 34 35 typedef struct _GimpTemporaryProcedureClass GimpTemporaryProcedureClass; 36 37 struct _GimpTemporaryProcedure 38 { 39 GimpPlugInProcedure parent_instance; 40 41 GimpPlugIn *plug_in; 42 }; 43 44 struct _GimpTemporaryProcedureClass 45 { 46 GimpPlugInProcedureClass parent_class; 47 }; 48 49 50 GType gimp_temporary_procedure_get_type (void) G_GNUC_CONST; 51 52 GimpProcedure * gimp_temporary_procedure_new (GimpPlugIn *plug_in); 53 54 55 #endif /* __GIMP_TEMPORARY_PROCEDURE_H__ */ 56