1 /* GIMP - The GNU Image Manipulation Program 2 * Copyright (C) 1995 Spencer Kimball and Peter Mattis 3 * 4 * gimpplugindebug.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_PLUG_IN_DEBUG_H__ 21 #define __GIMP_PLUG_IN_DEBUG_H__ 22 23 24 typedef enum 25 { 26 GIMP_DEBUG_WRAP_QUERY = 1 << 0, 27 GIMP_DEBUG_WRAP_INIT = 1 << 1, 28 GIMP_DEBUG_WRAP_RUN = 1 << 2, 29 30 GIMP_DEBUG_WRAP_DEFAULT = GIMP_DEBUG_WRAP_RUN 31 } GimpDebugWrapFlag; 32 33 34 GimpPlugInDebug * gimp_plug_in_debug_new (void); 35 void gimp_plug_in_debug_free (GimpPlugInDebug *debug); 36 37 gchar ** gimp_plug_in_debug_argv (GimpPlugInDebug *debug, 38 const gchar *name, 39 GimpDebugWrapFlag flag, 40 const gchar **args); 41 42 43 #endif /* __GIMP_PLUG_IN_DEBUG_H__ */ 44