From 7bd51ba0ba97a56bdee4cefecf3c1db68c53b0b8 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Fri, 14 Jan 2011 17:50:11 +0000 Subject: Implementing selection and clipboard functions. svn path=/trunk/netsurf/; revision=11319 --- cocoa/gui.m | 39 ++------------------------------------- 1 file changed, 2 insertions(+), 37 deletions(-) (limited to 'cocoa/gui.m') diff --git a/cocoa/gui.m b/cocoa/gui.m index 09c80c7b2..a2b254d75 100644 --- a/cocoa/gui.m +++ b/cocoa/gui.m @@ -25,6 +25,8 @@ #import "desktop/netsurf.h" #import "desktop/browser.h" #import "desktop/options.h" +#import "desktop/textinput.h" +#import "desktop/selection.h" char *default_stylesheet_url; char *adblock_stylesheet_url; @@ -261,43 +263,6 @@ void gui_drag_save_selection(struct selection *s, struct gui_window *g) { } -void gui_start_selection(struct gui_window *g) -{ -} - -void gui_clear_selection(struct gui_window *g) -{ -} - - -void gui_paste_from_clipboard(struct gui_window *g, int x, int y) -{ - UNIMPL(); -} - -bool gui_empty_clipboard(void) -{ - return false; -} - -bool gui_add_to_clipboard(const char *text, size_t length, bool space) -{ - UNIMPL(); - return false; -} - -bool gui_commit_clipboard(void) -{ - UNIMPL(); - return false; -} - -bool gui_copy_to_clipboard(struct selection *s) -{ - UNIMPL(); - return false; -} - void gui_create_form_select_menu(struct browser_window *bw, struct form_control *control) -- cgit v1.2.3