aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/clipboard/capi.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/clipboard/capi.hpp')
-rw-r--r--ui/qt/clipboard/capi.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/ui/qt/clipboard/capi.hpp b/ui/qt/clipboard/capi.hpp
new file mode 100644
index 000000000..202613469
--- /dev/null
+++ b/ui/qt/clipboard/capi.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "clipboard.hpp"
+
+typedef void Clipboard_;
+
+Clipboard_ *initClipboard()
+{
+ Clipboard *clipboard = new(Clipboard);
+ return static_cast<Clipboard_*>(clipboard);
+}