diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-03-13 14:32:06 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-03-13 14:32:06 +0000 |
commit | 8525c857da966580c57aa595ec44ba1c4fc2326a (patch) | |
tree | 952b61909ac17ad4666f82c005e4470ea20ff3f4 /windows/main.c | |
parent | a487f7e611550b0058a780cf673480eb8de6f799 (diff) | |
download | netsurf-8525c857da966580c57aa595ec44ba1c4fc2326a.tar.gz netsurf-8525c857da966580c57aa595ec44ba1c4fc2326a.tar.bz2 |
Clean up more windows frontend issues and split out more functionality
Diffstat (limited to 'windows/main.c')
-rw-r--r-- | windows/main.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/windows/main.c b/windows/main.c index c2feeffa6..c762c52db 100644 --- a/windows/main.c +++ b/windows/main.c @@ -31,6 +31,7 @@ #include "utils/nsoption.h" #include "desktop/browser.h" #include "desktop/gui_fetch.h" +#include "desktop/gui_misc.h" #include "desktop/netsurf.h" #include "windows/findfile.h" @@ -38,6 +39,10 @@ #include "windows/download.h" #include "windows/localhistory.h" #include "windows/window.h" +#include "windows/schedule.h" +#include "windows/font.h" +#include "windows/filetype.h" +#include "windows/pointers.h" #include "windows/gui.h" static char **respaths; /** resource search path vector. */ @@ -98,6 +103,10 @@ static nserror set_defaults(struct nsoption_s *defaults) } +static struct gui_browser_table win32_browser_table = { + .schedule = win32_schedule, +}; + /** * Entry point from operating system @@ -114,7 +123,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hLastInstance, LPSTR lpcli, int ncmd) const char *addr; nsurl *url; struct netsurf_table win32_table = { - .browser = win32_browser_table, + .browser = &win32_browser_table, .window = win32_window_table, .clipboard = win32_clipboard_table, .download = win32_download_table, |