2 (c) Copyright 1996 Hewlett-Packard Company
3 (c) Copyright 1996 International Business Machines Corp.
4 (c) Copyright 1996 Sun Microsystems, Inc.
5 (c) Copyright 1996 Novell, Inc.
6 (c) Copyright 1996 Digital Equipment Corp.
7 (c) Copyright 1996 Fujitsu Limited
8 (c) Copyright 1996 Hitachi, Ltd.
10 Permission is hereby granted, free of charge, to any person obtaining a copy
11 of this software and associated documentation files (the "Software"), to deal
12 in the Software without restriction, including without limitation the rights
13 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14 copies of the Software, and to permit persons to whom the Software is
15 furnished to do so, subject to the following conditions:
17 The above copyright notice and this permission notice shall be included in
18 all copies or substantial portions of the Software.
20 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23 COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
24 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 Except as contained in this notice, the names of the copyright holders shall
28 not be used in advertising or otherwise to promote the sale, use or other
29 dealings in this Software without prior written authorization from said
33 #ifdef HAVE_DIX_CONFIG_H
34 #include <dix-config.h>
44 #if !defined(UNIXCPP) || defined(ANSICPP)
45 #define PCLNAME(subname) PclCr##subname
46 #define CATNAME(prefix,subname) prefix##Color##subname
48 #define PCLNAME(subname) PclCr/**/subname
49 #define CATNAME(prefix,subname) prefix/**/Color/**/subname
51 #endif /* XP_PCL_COLOR */
57 #if !defined(UNIXCPP) || defined(ANSICPP)
58 #define PCLNAME(subname) PclMn##subname
59 #define CATNAME(prefix,subname) prefix##Mono##subname
61 #define PCLNAME(subname) PclMn/**/subname
62 #define CATNAME(prefix,subname) prefix/**/Mono/**/subname
64 #endif /* XP_PCL_MONO */
70 #if !defined(UNIXCPP) || defined(ANSICPP)
71 #define PCLNAME(subname) PclLj3##subname
72 #define CATNAME(prefix,subname) prefix##Lj3##subname
74 #define PCLNAME(subname) PclLj3/**/subname
75 #define CATNAME(prefix,subname) prefix/**/Lj3/**/subname
77 #endif /* XP_PCL_LJ3 */
82 #define InitializePclDriver CATNAME(Initialize, PclDriver)
83 #define PclCloseScreen PCLNAME(CloseScreen)
84 #define PclGetContextFromWindow PCLNAME(GetContextFromWindow)
85 #define PclScreenPrivateIndex PCLNAME(ScreenPrivateIndex)
86 #define PclWindowPrivateIndex PCLNAME(WindowPrivateIndex)
87 #define PclContextPrivateIndex PCLNAME(ContextPrivateIndex)
88 #define PclPixmapPrivateIndex PCLNAME(PixmapPrivateIndex)
89 #define PclGCPrivateIndex PCLNAME(GCPrivateIndex)
92 #define PclStartJob PCLNAME(StartJob)
93 #define PclEndJob PCLNAME(EndJob)
94 #define PclStartPage PCLNAME(StartPage)
95 #define PclEndPage PCLNAME(EndPage)
96 #define PclStartDoc PCLNAME(StartDoc)
97 #define PclEndDoc PCLNAME(EndDoc)
98 #define PclDocumentData PCLNAME(DocumentData)
99 #define PclGetDocumentData PCLNAME(GetDocumentData)
102 #define PclCreateWindow PCLNAME(CreateWindow)
103 #define PclMapWindow PCLNAME(MapWindow)
104 #define PclPositionWindow PCLNAME(PositionWindow)
105 #define PclUnmapWindow PCLNAME(UnmapWindow)
106 #define PclCopyWindow PCLNAME(CopyWindow)
107 #define PclChangeWindowAttributes PCLNAME(ChangeWindowAttributes)
108 #define PclPaintWindow PCLNAME(PaintWindow)
109 #define PclDestroyWindow PCLNAME(DestroyWindow)
112 #define PclCreateGC PCLNAME(CreateGC)
113 #define PclDestroyGC PCLNAME(DestroyGC)
114 #define PclGetDrawablePrivateStuff PCLNAME(GetDrawablePrivateStuff)
115 #define PclSetDrawablePrivateGC PCLNAME(SetDrawablePrivateGC)
116 #define PclSendPattern PCLNAME(SendPattern)
117 #define PclUpdateDrawableGC PCLNAME(UpdateDrawableGC)
118 #define PclComputeCompositeClip PCLNAME(ComputeCompositeClip)
119 #define PclValidateGC PCLNAME(ValidateGC)
122 #define PclGetAttributes PCLNAME(GetAttributes)
123 #define PclGetOneAttribute PCLNAME(GetOneAttribute)
124 #define PclAugmentAttributes PCLNAME(AugmentAttributes)
125 #define PclSetAttributes PCLNAME(SetAttributes)
128 #define PclLookUp PCLNAME(LookUp)
129 #define PclCreateDefColormap PCLNAME(CreateDefColormap)
130 #define PclCreateColormap PCLNAME(CreateColormap)
131 #define PclDestroyColormap PCLNAME(DestroyColormap)
132 #define PclInstallColormap PCLNAME(InstallColormap)
133 #define PclUninstallColormap PCLNAME(UninstallColormap)
134 #define PclListInstalledColormaps PCLNAME(ListInstalledColormaps)
135 #define PclStoreColors PCLNAME(StoreColors)
136 #define PclResolveColor PCLNAME(ResolveColor)
137 #define PclFindPaletteMap PCLNAME(FindPaletteMap)
138 #define PclUpdateColormap PCLNAME(UpdateColormap)
139 #define PclReadMap PCLNAME(ReadMap)
142 #define PclCreatePixmap PCLNAME(CreatePixmap)
143 #define PclDestroyPixmap PCLNAME(DestroyPixmap)
146 #define PclDoArc PCLNAME(DoArc)
147 #define PclPolyArc PCLNAME(PolyArc)
148 #define PclPolyFillArc PCLNAME(PolyFillArc)
151 #define PclPutImage PCLNAME(PutImage)
152 #define PclCopyArea PCLNAME(CopyArea)
153 #define PclCopyPlane PCLNAME(CopyPlane)
156 #define PclPolyLine PCLNAME(PolyLine)
157 #define PclPolySegment PCLNAME(PolySegment)
160 #define PclPolyPoint PCLNAME(PolyPoint)
161 #define PclPushPixels PCLNAME(PushPixels)
164 #define PclPolyRectangle PCLNAME(PolyRectangle)
165 #define PclFillPolygon PCLNAME(FillPolygon)
166 #define PclPolyFillRect PCLNAME(PolyFillRect)
169 #define PclFillSpans PCLNAME(FillSpans)
170 #define PclSetSpans PCLNAME(SetSpans)
173 #define PclPolyText8 PCLNAME(PolyText8)
174 #define PclPolyText16 PCLNAME(PolyText16)
175 #define PclImageText8 PCLNAME(ImageText8)
176 #define PclImageText16 PCLNAME(ImageText16)
177 #define PclImageGlyphBlt PCLNAME(ImageGlyphBlt)
178 #define PclPolyGlyphBlt PCLNAME(PolyGlyphBlt)
179 #define PclPolyGlyphBlt PCLNAME(PolyGlyphBlt)
182 #define PclRealizeFont PCLNAME(RealizeFont)
183 #define PclUnrealizeFont PCLNAME(UnrealizeFont)
186 #define PclDownloadSoftFont8 PCLNAME(DownloadSoftFont8)
187 #define PclDownloadSoftFont16 PCLNAME(DownloadSoftFont16)
188 #define PclCreateSoftFontInfo PCLNAME(CreateSoftFontInfo)
189 #define PclDestroySoftFontInfo PCLNAME(DestroySoftFontInfo)
192 #define PclQueryBestSize PCLNAME(QueryBestSize)
193 #define GetPropString PCLNAME(GetPropString)
194 #define SystemCmd PCLNAME(SystemCmd)
195 #define PclGetMediumDimensions PCLNAME(GetMediumDimensions)
196 #define PclGetReproducibleArea PCLNAME(GetReproducibleArea)
197 #define PclSpoolFigs PCLNAME(SpoolFigs)
198 #define PclSendData PCLNAME(SendData)
201 #define PclConstrainCursor PCLNAME(ConstrainCursor)
202 #define PclCursorLimits PCLNAME(CursorLimits)
203 #define PclDisplayCursor PCLNAME(DisplayCursor)
204 #define PclRealizeCursor PCLNAME(RealizeCursor)
205 #define PclUnrealizeCursor PCLNAME(UnrealizeCursor)
206 #define PclRecolorCursor PCLNAME(RecolorCursor)
207 #define PclSetCursorPosition PCLNAME(SetCursorPosition)
211 #endif /* _PCLMAP_H_ */