xref: /trunk/main/vcl/inc/unx/salstd.hxx (revision cdf0e10c)
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef _SALSTD_HXX
29 #define _SALSTD_HXX
30 
31 // -=-= includes -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
32 #include <tools/ref.hxx>
33 #include <tools/string.hxx>
34 #include <tools/gen.hxx>
35 #include <vcl/sv.h>
36 
37 // -=-= X-Lib forwards -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
38 #ifndef _SVUNX_H
39 typedef unsigned long		Pixel;
40 typedef unsigned long		XID;
41 typedef unsigned long		XLIB_Time;
42 typedef unsigned long		XtIntervalId;
43 
44 typedef	XID					Colormap;
45 typedef XID					Drawable;
46 typedef XID					Pixmap;
47 typedef XID					XLIB_Cursor;
48 typedef XID					XLIB_Font;
49 typedef XID					XLIB_Window;
50 
51 typedef struct	_XDisplay	Display;
52 typedef struct	_XGC	   *GC;
53 typedef struct	_XImage		XImage;
54 typedef struct	_XRegion   *XLIB_Region;
55 
56 typedef union	_XEvent		XEvent;
57 
58 typedef struct 	_XConfigureEvent	XConfigureEvent;
59 typedef struct 	_XReparentEvent		XReparentEvent;
60 typedef struct 	_XClientMessageEvent		XClientMessageEvent;
61 typedef struct 	_XErrorEvent		XErrorEvent;
62 
63 struct	Screen;
64 struct	Visual;
65 struct	XColormapEvent;
66 struct	XFocusChangeEvent;
67 struct	XFontStruct;
68 struct	XKeyEvent;
69 struct	XPropertyEvent;
70 struct	XTextItem;
71 struct	XWindowChanges;
72 
73 #define None	0L
74 #endif
75 
76 #endif
77 
78