xref: /aoo4110/main/tools/inc/tools/postx.h (revision b1cdbd2c)
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 #if defined __cplusplus
28 }
29 #endif
30 
31 /* X-Types */
32 #undef Window
33 #undef BYTE
34 #undef INT8
35 #undef INT64
36 #undef BOOL
37 #undef Font
38 #undef Cursor
39 #undef String
40 #undef KeyCode
41 #undef Region
42 #undef Icon
43 #undef Time
44 #undef Boolean
45 
46 #undef Min
47 #undef Max
48 #undef DestroyAll
49 #undef Success
50 
51 #undef Printer
52 /* #undef FontInfo */
53 #undef Orientation
54 
55 #undef GetToken
56 #undef ReleaseToken
57 #undef InitializeToken
58 #undef NextRequest
59 
60 #ifdef KeyPress
61 #if KeyPress != 2
62 Error KeyPress must be Equal 2
63 #endif
64 #undef KeyPress
65 #endif
66 #define XLIB_KeyPress 2
67 
68 #endif
69 
70