diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-15 12:28:55 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-15 12:28:55 +0000 |
commit | 68eaec5cb4208ee80e7c0610361405fd01fc1b69 (patch) | |
tree | aea90291a5f6fe6e8848644d9fe712201d01eaf0 /beos/gui.cpp | |
parent | 0075eab1949e4de071b3649c68ba402b8ffce6fb (diff) | |
download | netsurf-68eaec5cb4208ee80e7c0610361405fd01fc1b69.tar.gz netsurf-68eaec5cb4208ee80e7c0610361405fd01fc1b69.tar.bz2 |
complete move of remaining core gui functions
Diffstat (limited to 'beos/gui.cpp')
-rw-r--r-- | beos/gui.cpp | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/beos/gui.cpp b/beos/gui.cpp index 45a0e6bc7..33337d8ff 100644 --- a/beos/gui.cpp +++ b/beos/gui.cpp @@ -346,7 +346,7 @@ static int32 bapp_thread(void *arg) return 0; } -nsurl *gui_get_resource_url(const char *path) +static nsurl *gui_get_resource_url(const char *path) { nsurl *url = NULL; BString u("rsrc:///"); @@ -784,13 +784,6 @@ static void gui_quit(void) } - -void gui_create_form_select_menu(struct browser_window *bw, - struct form_control *control) -{ - CALLED(); -} - /** * Send the source of a content to a text editor. */ @@ -888,7 +881,7 @@ void nsbeos_gui_view_source(struct hlcache_handle *content) * Broadcast an URL that we can't handle. */ -void gui_launch_url(const char *url) +static void gui_launch_url(const char *url) { status_t status; // try to open it as an URI @@ -949,13 +942,6 @@ void die(const char * const error) exit(EXIT_FAILURE); } -void gui_cert_verify(nsurl *url, const struct ssl_cert_info *certs, - unsigned long num, nserror (*cb)(bool proceed, void *pw), - void *cbpw) -{ - CALLED(); -} - static void nsbeos_create_ssl_verify_window(struct browser_window *bw, hlcache_handle *c, const struct ssl_cert_info *certs, unsigned long num) @@ -1076,6 +1062,12 @@ bool path_add_part(char *path, int length, const char *newpart) static struct gui_table beos_gui_table = { .poll = gui_poll, .quit = gui_quit, + + .get_resource_url = gui_get_resource_url, + .launch_url = gui_launch_url, + + .get_clipboard = gui_get_clipboard, + .set_clipboard = gui_set_clipboard, }; |