Add some more frontend stubs and fix up some others

This commit is contained in:
Daniel Silverstone 2014-01-05 17:33:08 +00:00
parent 692d4a328c
commit f97c1fc605
4 changed files with 16 additions and 1 deletions

View File

@ -32,6 +32,7 @@
#import "desktop/textinput.h"
#import "desktop/401login.h"
#import "utils/utils.h"
#import "utils/log.h"
#import "image/ico.h"
#import "content/fetchers/resource.h"

View File

@ -1988,6 +1988,13 @@ gui_cert_verify(nsurl *url,
cb(false, cbpw);
}
void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl,
struct form_control *gadget)
{
LOG(("File open dialog rquest for %p/%p", g, gadget));
/* browser_window_set_gadget_filename(bw, gadget, "filename"); */
}
/*
* Local Variables:
* c-basic-offset:8

View File

@ -390,7 +390,7 @@ gui_window_save_link(struct gui_window *g, const char *url,
g->win_num, url, title);
}
void gui_file_gadget_open(struct gui_browser *g, hlcache_handle *hl,
void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl,
struct form_control *gadget)
{
LOG(("File open dialog rquest for %p/%p", g, gadget));

View File

@ -73,6 +73,13 @@ static const char windowclassname_main[] = "nswsmainwindow";
static struct nsws_pointers nsws_pointer;
void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl,
struct form_control *gadget)
{
LOG(("File open dialog rquest for %p/%p", g, gadget));
/* browser_window_set_gadget_filename(bw, gadget, "filename"); */
}
void gui_poll(bool active)
{
MSG Msg; /* message from system */