From caac2628a7b3dafd707c385a50d98a3028085b60 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 23 Oct 2003 00:09:17 +0000 Subject: [project @ 2003-10-23 00:09:16 by jmb] Enable logging into sites which require Basic Authentication Has a couple of issues: 1) Opens the page in the first window in the list 2) Doesn't save the login details so you have to log in to each page. 3) The call to ro_gui_401login_open shouldn't be there. svn path=/import/netsurf/; revision=372 --- riscos/gui.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'riscos/gui.h') diff --git a/riscos/gui.h b/riscos/gui.h index 83cb15a2a..3ad54ed0a 100644 --- a/riscos/gui.h +++ b/riscos/gui.h @@ -120,6 +120,11 @@ void ro_gui_start_selection(wimp_pointer *pointer, wimp_window_state *state, gui_window *g); void ro_gui_drag_end(wimp_dragged* drag); +/* in 401login.c */ +void ro_gui_401login_init(void); +void ro_gui_401login_open(char* host, char * realm, char* fetchurl); +void ro_gui_401login_click(wimp_pointer *pointer); + /* icon numbers */ #define ICON_CONFIG_SAVE 0 #define ICON_CONFIG_CANCEL 1 @@ -159,4 +164,11 @@ void ro_gui_drag_end(wimp_dragged* drag); #define ICON_DOWNLOAD_PATH 3 #define ICON_DOWNLOAD_ABORT 4 +#define ICON_401LOGIN_LOGIN 0 +#define ICON_401LOGIN_CANCEL 1 +#define ICON_401LOGIN_HOST 2 +#define ICON_401LOGIN_REALM 3 +#define ICON_401LOGIN_USERNAME 4 +#define ICON_401LOGIN_PASSWORD 5 + #endif -- cgit v1.2.3