diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-01-14 23:31:54 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-01-14 23:31:54 +0000 |
commit | 0075eab1949e4de071b3649c68ba402b8ffce6fb (patch) | |
tree | 9eddbda0fba82159038811dcfff763285ccde925 /windows/gui.c | |
parent | 667d4a0a4938e1bfe54eb5b56cd4313b6579534d (diff) | |
download | netsurf-0075eab1949e4de071b3649c68ba402b8ffce6fb.tar.gz netsurf-0075eab1949e4de071b3649c68ba402b8ffce6fb.tar.bz2 |
move remaining gui operations to table
Diffstat (limited to 'windows/gui.c')
-rw-r--r-- | windows/gui.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/windows/gui.c b/windows/gui.c index c813c8b46..fc0af679e 100644 --- a/windows/gui.c +++ b/windows/gui.c @@ -1729,7 +1729,7 @@ static void gui_window_remove_caret(struct gui_window *w) * \param buffer UTF-8 text, allocated by front end, ownership yeilded to core * \param length Byte length of UTF-8 text in buffer */ -void gui_get_clipboard(char **buffer, size_t *length) +static void gui_get_clipboard(char **buffer, size_t *length) { /* TODO: Implement this */ HANDLE clipboard_handle; @@ -1751,7 +1751,7 @@ void gui_get_clipboard(char **buffer, size_t *length) * \param styles Array of styles given to text runs, owned by core, or NULL * \param n_styles Number of text run styles in array */ -void gui_set_clipboard(const char *buffer, size_t length, +static void gui_set_clipboard(const char *buffer, size_t length, nsclipboard_styles styles[], int n_styles) { /* TODO: Implement this */ @@ -1777,19 +1777,6 @@ void gui_set_clipboard(const char *buffer, size_t length, } -void gui_create_form_select_menu(struct browser_window *bw, - struct form_control *control) -{ -} - - -void gui_cert_verify(nsurl *url, const struct ssl_cert_info *certs, - unsigned long num, - nserror (*cb)(bool proceed, void *pw), void *cbpw) -{ - cb(false, cbpw); -} - /** * Create the main window class. */ @@ -1844,6 +1831,8 @@ static struct gui_window_table win32_window_table = { static struct gui_table gui_table = { .poll = gui_poll, + .get_clipboard = gui_get_clipboard, + .set_clipboard = gui_set_clipboard, .window = &win32_window_table, }; |