Moved more code to the X11 driver.
diff --git a/include/clipboard.h b/include/clipboard.h
index 69ef1d7..4bda664 100644
--- a/include/clipboard.h
+++ b/include/clipboard.h
@@ -1,10 +1,33 @@
#ifndef __WINE_CLIPBOARD_H
#define __WINE_CLIPBOARD_H
-void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
-void CLIPBOARD_ResetOwner(WND* pWnd);
-void CLIPBOARD_ReadSelection(Window w, Atom prop);
-void CLIPBOARD_ReleaseSelection(Window w, HWND32 hwnd);
-BOOL32 CLIPBOARD_IsPresent(WORD wFormat);
+#include "win.h"
+#include "wintypes.h"
+
+typedef struct tagCLIPFORMAT {
+ WORD wFormatID;
+ WORD wRefCount;
+ WORD wDataPresent;
+ LPSTR Name;
+ HANDLE32 hData32;
+ DWORD BufSize;
+ struct tagCLIPFORMAT *PrevFormat;
+ struct tagCLIPFORMAT *NextFormat;
+ HANDLE16 hData16;
+} CLIPFORMAT, *LPCLIPFORMAT;
+
+typedef struct _CLIPBOARD_DRIVER
+{
+ void (*pEmptyClipboard)();
+ void (*pSetClipboardData)(UINT32);
+ BOOL32 (*pRequestSelection)();
+ void (*pResetOwner)(WND *);
+} CLIPBOARD_DRIVER;
+
+CLIPBOARD_DRIVER *CLIPBOARD_GetDriver();
+
+extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
+extern void CLIPBOARD_DeleteRecord(LPCLIPFORMAT lpFormat, BOOL32 bChange);
+extern BOOL32 CLIPBOARD_IsPresent(WORD wFormat);
#endif /* __WINE_CLIPBOARD_H */