Added Swiss German keyboard layout.
[wine] / windows / x11drv / init.c
1 /*
2  * X11 driver
3  *
4  * Copyright 1998 Patrik Stridvall
5  */
6
7 #include "config.h"
8
9 #ifndef X_DISPLAY_MISSING
10
11 #include "clipboard.h"
12 #include "desktop.h"
13 #include "display.h"
14 #include "keyboard.h"
15 #include "message.h"
16 #include "monitor.h"
17 #include "win.h"
18 #include "x11drv.h"
19
20 CLIPBOARD_DRIVER X11DRV_CLIPBOARD_Driver =
21 {
22   X11DRV_CLIPBOARD_EmptyClipboard,
23   X11DRV_CLIPBOARD_SetClipboardData,
24   X11DRV_CLIPBOARD_RequestSelection,
25   X11DRV_CLIPBOARD_ResetOwner
26 };
27
28 DESKTOP_DRIVER X11DRV_DESKTOP_Driver =
29 {
30   X11DRV_DESKTOP_Initialize,
31   X11DRV_DESKTOP_Finalize
32 };
33
34 EVENT_DRIVER X11DRV_EVENT_Driver = 
35 {
36   X11DRV_EVENT_Init,
37   X11DRV_EVENT_AddIO,
38   X11DRV_EVENT_DeleteIO,
39   X11DRV_EVENT_WaitNetEvent,
40   X11DRV_EVENT_Synchronize,
41   X11DRV_EVENT_CheckFocus,
42   X11DRV_EVENT_QueryPointer,
43   X11DRV_EVENT_DummyMotionNotify,
44   X11DRV_EVENT_Pending,
45   X11DRV_EVENT_IsUserIdle,
46   X11DRV_EVENT_WakeUp
47 };
48
49 KEYBOARD_DRIVER X11DRV_KEYBOARD_Driver =
50 {
51   X11DRV_KEYBOARD_Init,
52   X11DRV_KEYBOARD_VkKeyScan,
53   X11DRV_KEYBOARD_MapVirtualKey,
54   X11DRV_KEYBOARD_GetKeyNameText,
55   X11DRV_KEYBOARD_ToAscii
56 };
57
58 MONITOR_DRIVER X11DRV_MONITOR_Driver =
59 {
60   X11DRV_MONITOR_Initialize,
61   X11DRV_MONITOR_Finalize,
62   X11DRV_MONITOR_GetWidth,
63   X11DRV_MONITOR_GetHeight,
64   X11DRV_MONITOR_GetDepth
65 };
66
67 MOUSE_DRIVER X11DRV_MOUSE_Driver =
68 {
69   X11DRV_MOUSE_SetCursor,
70   X11DRV_MOUSE_MoveCursor
71 };
72
73 WND_DRIVER X11DRV_WND_Driver =
74 {
75   X11DRV_WND_Initialize,
76   X11DRV_WND_Finalize,
77   X11DRV_WND_CreateDesktopWindow,
78   X11DRV_WND_CreateWindow,
79   X11DRV_WND_DestroyWindow,
80   X11DRV_WND_SetParent,
81   X11DRV_WND_ForceWindowRaise,
82   X11DRV_WND_SetWindowPos,
83   X11DRV_WND_SetText,
84   X11DRV_WND_SetFocus,
85   X11DRV_WND_PreSizeMove,
86   X11DRV_WND_PostSizeMove,
87   X11DRV_WND_SurfaceCopy,
88   X11DRV_WND_SetDrawable,
89   X11DRV_WND_SetHostAttr,
90   X11DRV_WND_IsSelfClipping
91 };
92
93 #endif /* !defined(X_DISPLAY_MISSING) */
94
95