Cleaned up the code so it would be easier to parse with the new C
[wine] / include / ts_xf86vmode.h
1 /*
2  * Thread safe wrappers around xf86vmode calls.
3  * Always include this file instead of <X11/xf86vmode.h>.
4  * This file was generated automatically by tools/make_X11wrappers
5  * DO NOT EDIT!
6  */
7
8 #ifndef __WINE_TS_XF86VMODE_H
9 #define __WINE_TS_XF86VMODE_H
10
11 #ifndef __WINE_CONFIG_H
12 # error You must include config.h to use this header
13 #endif
14
15 #include "windef.h"
16 #ifdef HAVE_LIBXXF86VM
17 #define XMD_H
18 #include "basetsd.h"
19
20 #include <X11/Xlib.h>
21 #include <X11/extensions/xf86vmode.h>
22
23 extern void (*wine_tsx11_lock)(void);
24 extern void (*wine_tsx11_unlock)(void);
25
26 extern Bool TSXF86VidModeQueryVersion(Display*,int*,int*);
27 extern Bool TSXF86VidModeQueryExtension(Display*,int*,int*);
28 extern Bool TSXF86VidModeGetModeLine(Display*,int,int*,XF86VidModeModeLine*);
29 extern Bool TSXF86VidModeGetAllModeLines(Display*,int,int*,XF86VidModeModeInfo***);
30 extern Bool TSXF86VidModeAddModeLine(Display*,int,XF86VidModeModeInfo*,XF86VidModeModeInfo*);
31 extern Bool TSXF86VidModeDeleteModeLine(Display*,int,XF86VidModeModeInfo*);
32 extern Bool TSXF86VidModeModModeLine(Display*,int,XF86VidModeModeLine*);
33 extern Status TSXF86VidModeValidateModeLine(Display*,int,XF86VidModeModeInfo*);
34 extern Bool TSXF86VidModeSwitchMode(Display*,int,int);
35 extern Bool TSXF86VidModeSwitchToMode(Display*,int,XF86VidModeModeInfo*);
36 extern Bool TSXF86VidModeLockModeSwitch(Display*,int,int);
37 extern Bool TSXF86VidModeGetMonitor(Display*,int,XF86VidModeMonitor*);
38 extern Bool TSXF86VidModeGetViewPort(Display*,int,int*,int*);
39 extern Bool TSXF86VidModeSetViewPort(Display*,int,int,int);
40
41 #endif /* defined(HAVE_LIBXXF86VM) */
42
43 #endif /* __WINE_TS_XF86VMODE_H */