1/* 2 * "$Id: print_gimp.h,v 1.5 2006/07/04 02:57:59 rlk Exp $" 3 * 4 * Print plug-in for the GIMP. 5 * 6 * Copyright 1997-2000 Michael Sweet (mike@easysw.com), 7 * Robert Krawitz (rlk@alum.mit.edu). and Steve Miller (smiller@rni.net 8 * 9 * This program is free software; you can redistribute it and/or modify it 10 * under the terms of the GNU General Public License as published by the Free 11 * Software Foundation; either version 2 of the License, or (at your option) 12 * any later version. 13 * 14 * This program is distributed in the hope that it will be useful, but 15 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 16 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 17 * for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 22 * 23 * 24 * Revision History: 25 * 26 * See ChangeLog 27 */ 28 29#ifndef __PRINT_GIMP_H__ 30#define __PRINT_GIMP_H__ 31 32#ifdef __GNUC__ 33#define inline __inline__ 34#endif 35 36#include <gtk/gtk.h> 37#include <libgimp/gimp.h> 38#include <libgimp/gimpui.h> 39 40#include <gutenprint/gutenprint.h> 41#include <gutenprintui2/gutenprintui.h> 42 43/* How to create an Image wrapping a Gimp drawable */ 44extern stpui_image_t *Image_GimpDrawable_new(GimpDrawable *drawable, gint32); 45 46extern void do_gimp_install_procedure(const char *blurb, const char *help, 47 const char *auth, const char *copy, 48 const char *types, int n_args, 49 GimpParamDef *args); 50 51/* 52 * Work around GIMP library not being const-safe. This is a very ugly 53 * hack, but the excessive warnings generated can mask more serious 54 * problems. 55 */ 56 57#define BAD_CONST_CHAR char * 58 59#endif /* __PRINT_GIMP_H__ */ 60