summaryrefslogtreecommitdiff
path: root/frontends/windows/clipboard.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-05-09 23:11:05 +0100
committerVincent Sanders <vince@kyllikki.org>2019-05-09 23:11:05 +0100
commit95b8d129508ccdec5eadabf46eb313b49a6b4369 (patch)
treee4ff77582e49df9fa3de63f8a0519e6f620d5481 /frontends/windows/clipboard.h
parent896e531a7fb6874a0a52de746ea8f783a5f9b441 (diff)
downloadnetsurf-95b8d129508ccdec5eadabf46eb313b49a6b4369.tar.gz
netsurf-95b8d129508ccdec5eadabf46eb313b49a6b4369.tar.bz2
implement windows clipboard functionality
This allows clipboard to operate (cut, copy, paste and delete) in the win32 front end. The clipboard is set and read in windows unicode mode and then converted to/from utf-8 for the browser core.
Diffstat (limited to 'frontends/windows/clipboard.h')
-rw-r--r--frontends/windows/clipboard.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/frontends/windows/clipboard.h b/frontends/windows/clipboard.h
new file mode 100644
index 000000000..c707c2437
--- /dev/null
+++ b/frontends/windows/clipboard.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2019 Vincent Sanders <vince@netsurf-browser.org>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef NETSURF_WINDOWS_CLIPBOARD_H
+#define NETSURF_WINDOWS_CLIPBOARD_H
+
+/**
+ * The clipboard operation function table for win32
+ */
+struct gui_clipboard_table *win32_clipboard_table;
+
+#endif