From 95b8d129508ccdec5eadabf46eb313b49a6b4369 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 9 May 2019 23:11:05 +0100 Subject: 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. --- frontends/windows/clipboard.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 frontends/windows/clipboard.h (limited to 'frontends/windows/clipboard.h') 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 + * + * 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 . + */ + +#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 -- cgit v1.2.3