summaryrefslogtreecommitdiff
path: root/hw/xwin/winclipboard/internal.h
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2015-11-20 12:01:49 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2015-11-20 12:01:49 +0000
commit6b720d25a1c3f6f236630db380979b980cf5e21e (patch)
tree4f0a250cd97d0dbd1a5cda810443b05a6599d09e /hw/xwin/winclipboard/internal.h
parent43fb888bd01cf9d3d277e77a52a3d0c93ccff8bd (diff)
parentd394c14f032c71e2dcb1850d0528e184e484f51f (diff)
Merge branch 'cygwin-patches-for-1.18' into cygwin-release-1.18xserver-cygwin-1.18.0-1
Diffstat (limited to 'hw/xwin/winclipboard/internal.h')
-rw-r--r--hw/xwin/winclipboard/internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/xwin/winclipboard/internal.h b/hw/xwin/winclipboard/internal.h
index 6c26caf2e..d0d8fbda1 100644
--- a/hw/xwin/winclipboard/internal.h
+++ b/hw/xwin/winclipboard/internal.h
@@ -77,6 +77,14 @@ typedef struct
Atom atomTargets;
} ClipboardAtoms;
+/* Modern clipboard API functions */
+typedef wBOOL WINAPI (*ADDCLIPBOARDFORMATLISTENERPROC)(HWND hwnd);
+typedef wBOOL WINAPI (*REMOVECLIPBOARDFORMATLISTENERPROC)(HWND hwnd);
+
+extern Bool g_fHasModernClipboardApi;
+extern ADDCLIPBOARDFORMATLISTENERPROC g_fpAddClipboardFormatListener;
+extern REMOVECLIPBOARDFORMATLISTENERPROC g_fpRemoveClipboardFormatListener;
+
/*
* winclipboardwndproc.c
*/