summaryrefslogtreecommitdiff
path: root/riscos/textselection.h
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2013-01-22 08:51:58 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2013-01-22 08:51:58 +0000
commit64ae9e8693aaaf09cb4e35b63d029d446ef361b0 (patch)
treeb75a79a6c1bb836905b3ff9ec8e5929d97034055 /riscos/textselection.h
parentdef45f8e55c7cc88c292a7194454efc73a46b974 (diff)
downloadnetsurf-64ae9e8693aaaf09cb4e35b63d029d446ef361b0.tar.gz
netsurf-64ae9e8693aaaf09cb4e35b63d029d446ef361b0.tar.bz2
Fix paste. Store clipboard as UTF-8 internally, to avoid unnecessary data loss when copying internally.
Diffstat (limited to 'riscos/textselection.h')
-rw-r--r--riscos/textselection.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/riscos/textselection.h b/riscos/textselection.h
index 544636ec2..a3763b46e 100644
--- a/riscos/textselection.h
+++ b/riscos/textselection.h
@@ -26,6 +26,14 @@
#include "oslib/wimp.h"
#include "desktop/gui.h"
+typedef void (*ro_gui_selection_prepare_paste_cb)(void *pw);
+
+void ro_gui_selection_prepare_paste(wimp_w w,
+ ro_gui_selection_prepare_paste_cb cb, void *pw);
+bool ro_gui_selection_prepare_paste_datasave(
+ wimp_full_message_data_xfer *dataxfer);
+bool ro_gui_selection_prepare_paste_dataload(
+ wimp_full_message_data_xfer *dataxfer);
void ro_gui_selection_drag_end(struct gui_window *g, wimp_dragged *drag);
void ro_gui_selection_claim_entity(wimp_full_message_claim_entity *claim);