1 /* xsane -- a graphical (X11, gtk) scanner-oriented SANE frontend
2 
3    xsane-gimp-1_0-compat.h
4 
5    Oliver Rauch <Oliver.Rauch@rauch-domain.de>
6    Copyright (C) 2000-2007 Oliver Rauch
7    This file is part of the XSANE package.
8 
9    This program is free software; you can redistribute it and/or modify
10    it under the terms of the GNU General Public License as published by
11    the Free Software Foundation; either version 2 of the License, or
12    (at your option) any later version.
13 
14    This program is distributed in the hope that it will be useful,
15    but WITHOUT ANY WARRANTY; without even the implied warranty of
16    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17    GNU General Public License 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., 675 Mass Ave, Cambridge, MA 02139, USA.  */
22 
23 #ifndef XSANE_GIMP_1_0_COMPAT_H
24 #define XSANE_GIMP_1_0_COMPAT_H
25 
26 #define GimpPlugInInfo GPlugInInfo
27 #define GimpParam GParam
28 #define GimpParamDef GParamDef
29 #define GimpDrawable GDrawable
30 #define GimpPixelRgn GPixelRgn
31 #define GimpRunModeType GRunModeType
32 #define GimpImageType GImageType
33 
34 #define GIMP_PDB_INT32 PARAM_INT32
35 #define GIMP_PDB_STATUS PARAM_STATUS
36 #define GIMP_PDB_CALLING_ERROR STATUS_CALLING_ERROR
37 #define GIMP_PDB_SUCCESS STATUS_SUCCESS
38 #define GIMP_RUN_INTERACTIVE RUN_INTERACTIVE
39 #define GIMP_RUN_NONINTERACTIVE RUN_NONINTERACTIVE
40 #define GIMP_RUN_WITH_LAST_VALS RUN_WITH_LAST_VALS
41 #define GIMP_EXTENSION PROC_EXTENSION
42 #define GIMP_RGB RGB
43 #define GIMP_RGB_IMAGE RGB_IMAGE
44 #define GIMP_GRAY GRAY
45 #define GIMP_GRAY_IMAGE GRAY_IMAGE
46 #define GIMP_RGBA_IMAGE RGBA_IMAGE
47 #define GIMP_NORMAL_MODE NORMAL_MODE
48 
49 #endif
50 
51