From 0de8cfc9d40214370ed499e465ebc56e88c4d24f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 22 Sep 2014 17:52:53 +0100 Subject: add flag to allow gtk loop to be signalled to exit --- gtk/gui.h | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) (limited to 'gtk/gui.h') diff --git a/gtk/gui.h b/gtk/gui.h index 32f864f71..26f51eebf 100644 --- a/gtk/gui.h +++ b/gtk/gui.h @@ -1,12 +1,5 @@ /* - * Copyright 2004-2010 James Bursa - * Copyright 2010 Vincent Sanders - * Copyright 2004-2009 John-Mark Bell - * Copyright 2009 Paul Blokus - * Copyright 2006-2009 Daniel Silverstone - * Copyright 2006-2008 Rob Kendrick - * Copyright 2008 John Tytgat - * Copyright 2008 Adam Blokus + * Copyright 2014 Vincent Sanders * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -32,6 +25,7 @@ #include "utils/nsurl.h" +/** glade file paths. */ struct glade_file_location_s { char *netsurf; char *tabcontents; @@ -51,22 +45,34 @@ struct glade_file_location_s { /** location of all glade files. */ extern struct glade_file_location_s *glade_file_location; +/** language list file path. */ extern char *languages_file_location; + +/** toolbar arrangement file path. */ extern char *toolbar_indices_file_location; + +/** Resource directory path. */ extern char *res_dir_location; + +/** Theme location. */ extern char *themelist_file_location; /** Directory where all configuration files are held. */ extern char *nsgtk_config_home; -extern GdkPixbuf *favicon_pixbuf; /* favicon default pixbuf */ +/** favicon default pixbuf */ +extern GdkPixbuf *favicon_pixbuf; -extern char **respaths; /** resource search path vector */ +/** resource search path vector */ +extern char **respaths; -uint32_t gtk_gui_gdkkey_to_nskey(GdkEventKey *); +/** input conversion. */ +uint32_t gtk_gui_gdkkey_to_nskey(GdkEventKey *eventkey); -extern void gui_401login_open(nsurl *url, const char *realm, - nserror (*cb)(bool proceed, void *pw), void *cbpw); +/** login window request. */ +extern void gui_401login_open(nsurl *url, const char *realm, nserror (*cb)(bool proceed, void *pw), void *cbpw); -#endif /* GTK_GUI_H */ +/** set when no windows remain open. */ +extern bool nsgtk_complete; +#endif /* GTK_GUI_H */ -- cgit v1.2.3