xref: /AOO41X/main/vcl/inc/unx/salstd.hxx (revision 161f4cd18255d886c4e915aa80ba7159d59cb848)
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 _SALSTD_HXX
25 #define _SALSTD_HXX
26 
27 // -=-= includes -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
28 #include <tools/ref.hxx>
29 #include <tools/string.hxx>
30 #include <tools/gen.hxx>
31 #include <vcl/sv.h>
32 
33 // -=-= X-Lib forwards -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
34 #ifndef _SVUNX_H
35 typedef unsigned long       Pixel;
36 typedef unsigned long       XID;
37 typedef unsigned long       XLIB_Time;
38 typedef unsigned long       XtIntervalId;
39 
40 typedef XID                 Colormap;
41 typedef XID                 Drawable;
42 typedef XID                 Pixmap;
43 typedef XID                 XLIB_Cursor;
44 typedef XID                 XLIB_Font;
45 typedef XID                 XLIB_Window;
46 
47 typedef struct  _XDisplay   Display;
48 typedef struct  _XGC       *GC;
49 typedef struct  _XImage     XImage;
50 typedef struct  _XRegion   *XLIB_Region;
51 
52 typedef union   _XEvent     XEvent;
53 
54 typedef struct  _XConfigureEvent    XConfigureEvent;
55 typedef struct  _XReparentEvent     XReparentEvent;
56 typedef struct  _XClientMessageEvent        XClientMessageEvent;
57 typedef struct  _XErrorEvent        XErrorEvent;
58 
59 struct  Screen;
60 struct  Visual;
61 struct  XColormapEvent;
62 struct  XFocusChangeEvent;
63 struct  XFontStruct;
64 struct  XKeyEvent;
65 struct  XPropertyEvent;
66 struct  XTextItem;
67 struct  XWindowChanges;
68 
69 #define None    0L
70 #endif
71 
72 #endif
73 
74