home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2002 April / pcpro0402.iso / essentials / graphics / Gimp / gimp-src-20001226.exe / src / gimp / plug-ins / print / print_gimp.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-10-06  |  2.1 KB  |  75 lines

  1. /*
  2.  * "$Id: print_gimp.h,v 1.4 2000/10/04 01:47:59 mitch 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. #include <gtk/gtk.h>
  33.  
  34. /*
  35.  * We define GIMP_ENABLE_COMPAT_CRUFT here because we are still using
  36.  * the old API names. This is because we have to support 1.0 as well.
  37.  * This define is required as the default in Gimp was changed 24 Aug 00.
  38.  * This should be removed when we stop supporting 1.0.
  39.  */
  40.  
  41. #define GIMP_ENABLE_COMPAT_CRUFT
  42.  
  43. #include <libgimp/gimp.h>
  44. #include <libgimp/gimpui.h>
  45.  
  46. #include "print.h"
  47.  
  48. /*
  49.  * All Gimp-specific code is in this file.
  50.  */
  51.  
  52. #define PLUG_IN_VERSION        VERSION " - " RELEASE_DATE
  53. #define PLUG_IN_NAME        "Print"
  54.  
  55. /*
  56.  * Constants for GUI...
  57.  */
  58.  
  59. #if !defined(GIMP_MINOR_VERSION) || (GIMP_MAJOR_VERSION == 1 && GIMP_MINOR_VERSION == 0) || (GIMP_MAJOR_VERSION == 1 && GIMP_MINOR_VERSION == 1 && GIMP_MICRO_VERSION < 21)
  60. #define GIMP_1_0
  61. #endif
  62.  
  63. #if !defined(GIMP_PRINT_MAINT) && !defined(GIMP_1_0)
  64. #define NEW_UI_ONLY
  65. #endif
  66.  
  67. /*
  68.  * Function prototypes
  69.  */
  70.  
  71. /* How to create an Image wrapping a Gimp drawable */
  72. extern Image Image_GDrawable_new(GDrawable *drawable);
  73.  
  74. #endif  /* __PRINT_GIMP_H__ */
  75.