From 64ae9e8693aaaf09cb4e35b63d029d446ef361b0 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Tue, 22 Jan 2013 08:51:58 +0000 Subject: Fix paste. Store clipboard as UTF-8 internally, to avoid unnecessary data loss when copying internally. --- riscos/textselection.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'riscos/textselection.h') 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); -- cgit v1.2.3