Fixed a bunch of compiler warnings.
[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 "x11drv.h"
12
13 WND_DRIVER X11DRV_WND_Driver =
14 {
15   X11DRV_WND_CreateDesktopWindow,
16   X11DRV_WND_CreateWindow,
17   X11DRV_WND_DestroyWindow,
18   X11DRV_WND_SetParent,
19   X11DRV_WND_ForceWindowRaise,
20   X11DRV_WND_SetWindowPos,
21   X11DRV_WND_SetText,
22   X11DRV_WND_SetFocus,
23   X11DRV_WND_PreSizeMove,
24   X11DRV_WND_PostSizeMove
25 };
26
27 CLIPBOARD_DRIVER X11DRV_CLIPBOARD_Driver =
28 {
29   X11DRV_CLIPBOARD_EmptyClipboard,
30   X11DRV_CLIPBOARD_SetClipboardData,
31   X11DRV_CLIPBOARD_RequestSelection,
32   X11DRV_CLIPBOARD_ResetOwner
33 };
34
35 KEYBOARD_DRIVER X11DRV_KEYBOARD_Driver =
36 {
37   X11DRV_KEYBOARD_Init,
38   X11DRV_KEYBOARD_VkKeyScan,
39   X11DRV_KEYBOARD_MapVirtualKey,
40   X11DRV_KEYBOARD_GetKeyNameText,
41   X11DRV_KEYBOARD_ToAscii
42 };
43
44 EVENT_DRIVER X11DRV_EVENT_Driver = 
45 {
46   X11DRV_EVENT_Init,
47   X11DRV_EVENT_AddIO,
48   X11DRV_EVENT_DeleteIO,
49   X11DRV_EVENT_WaitNetEvent,
50   X11DRV_EVENT_Synchronize,
51   X11DRV_EVENT_CheckFocus,
52   X11DRV_EVENT_QueryPointer,
53   X11DRV_EVENT_DummyMotionNotify,
54   X11DRV_EVENT_Pending,
55   X11DRV_EVENT_IsUserIdle
56 };
57
58 #if 0 
59 MOUSE_DRIVER X11DRV_MOUSE_Driver =
60 {
61 };
62 #endif
63
64 #endif /* !defined(X_DISPLAY_MISSING) */
65
66
67
68
69
70