Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
[wine.git] / windows / x11drv / init.c
blobf3c5f65cd9bd5bb479b7cda49f7c30dac60ba198
1 /*
2 * X11 driver
4 * Copyright 1998 Patrik Stridvall
5 */
7 #include "config.h"
9 #ifndef X_DISPLAY_MISSING
11 #include "clipboard.h"
12 #include "desktop.h"
13 #include "keyboard.h"
14 #include "message.h"
15 #include "monitor.h"
16 #include "mouse.h"
17 #include "user.h"
18 #include "win.h"
19 #include "x11drv.h"
21 USER_DRIVER X11DRV_USER_Driver =
23 X11DRV_USER_Initialize,
24 X11DRV_USER_Finalize,
25 X11DRV_USER_BeginDebugging,
26 X11DRV_USER_EndDebugging
29 CLIPBOARD_DRIVER X11DRV_CLIPBOARD_Driver =
31 X11DRV_CLIPBOARD_Empty,
32 X11DRV_CLIPBOARD_SetData,
33 X11DRV_CLIPBOARD_GetData,
34 X11DRV_CLIPBOARD_ResetOwner
37 DESKTOP_DRIVER X11DRV_DESKTOP_Driver =
39 X11DRV_DESKTOP_Initialize,
40 X11DRV_DESKTOP_Finalize
43 EVENT_DRIVER X11DRV_EVENT_Driver =
45 X11DRV_EVENT_Init,
46 X11DRV_EVENT_AddIO,
47 X11DRV_EVENT_DeleteIO,
48 X11DRV_EVENT_WaitNetEvent,
49 X11DRV_EVENT_Synchronize,
50 X11DRV_EVENT_CheckFocus,
51 X11DRV_EVENT_QueryPointer,
52 X11DRV_EVENT_DummyMotionNotify,
53 X11DRV_EVENT_Pending,
54 X11DRV_EVENT_IsUserIdle,
55 X11DRV_EVENT_WakeUp
58 KEYBOARD_DRIVER X11DRV_KEYBOARD_Driver =
60 X11DRV_KEYBOARD_Init,
61 X11DRV_KEYBOARD_VkKeyScan,
62 X11DRV_KEYBOARD_MapVirtualKey,
63 X11DRV_KEYBOARD_GetKeyNameText,
64 X11DRV_KEYBOARD_ToAscii,
65 X11DRV_KEYBOARD_GetBeepActive,
66 X11DRV_KEYBOARD_SetBeepActive,
67 X11DRV_KEYBOARD_Beep
70 MONITOR_DRIVER X11DRV_MONITOR_Driver =
72 X11DRV_MONITOR_Initialize,
73 X11DRV_MONITOR_Finalize,
74 X11DRV_MONITOR_IsSingleWindow,
75 X11DRV_MONITOR_GetWidth,
76 X11DRV_MONITOR_GetHeight,
77 X11DRV_MONITOR_GetDepth,
78 X11DRV_MONITOR_GetScreenSaveActive,
79 X11DRV_MONITOR_SetScreenSaveActive,
80 X11DRV_MONITOR_GetScreenSaveTimeout,
81 X11DRV_MONITOR_SetScreenSaveTimeout
84 MOUSE_DRIVER X11DRV_MOUSE_Driver =
86 X11DRV_MOUSE_SetCursor,
87 X11DRV_MOUSE_MoveCursor,
88 X11DRV_MOUSE_EnableWarpPointer
91 WND_DRIVER X11DRV_WND_Driver =
93 X11DRV_WND_Initialize,
94 X11DRV_WND_Finalize,
95 X11DRV_WND_CreateDesktopWindow,
96 X11DRV_WND_CreateWindow,
97 X11DRV_WND_DestroyWindow,
98 X11DRV_WND_SetParent,
99 X11DRV_WND_ForceWindowRaise,
100 X11DRV_WND_SetWindowPos,
101 X11DRV_WND_SetText,
102 X11DRV_WND_SetFocus,
103 X11DRV_WND_PreSizeMove,
104 X11DRV_WND_PostSizeMove,
105 X11DRV_WND_SurfaceCopy,
106 X11DRV_WND_SetDrawable,
107 X11DRV_WND_SetHostAttr,
108 X11DRV_WND_IsSelfClipping
111 #endif /* !defined(X_DISPLAY_MISSING) */