xref: /trunk/main/tools/inc/tools/postx.h (revision 6fa1fa2b88cbceb204fac1b1eeed6c94026ee988)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _POSTX_H
25 #define _POSTX_H
26 
27 
28 /* X-Types */
29 #undef Window
30 #undef BYTE
31 #undef INT8
32 #undef INT64
33 #undef BOOL
34 #undef Font
35 #undef Cursor
36 #undef String
37 #undef KeyCode
38 #undef Region
39 #undef Icon
40 #undef Time
41 #undef Boolean
42 
43 #undef Min
44 #undef Max
45 #undef DestroyAll
46 #undef Success
47 
48 #undef Printer
49 /* #undef FontInfo */
50 #undef Orientation
51 
52 #undef GetToken
53 #undef ReleaseToken
54 #undef InitializeToken
55 #undef NextRequest
56 
57 #ifdef KeyPress
58 #if KeyPress != 2
59 Error KeyPress must be Equal 2
60 #endif
61 #undef KeyPress
62 #endif
63 #define XLIB_KeyPress 2
64 
65 #endif
66