summaryrefslogtreecommitdiff
path: root/beos/gui.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-05-01 22:04:03 +0100
committerVincent Sanders <vince@kyllikki.org>2016-05-01 22:04:03 +0100
commit91515e2b566bee852f00ad9dbe68bc2beb8d1504 (patch)
tree15474113ebe9352398d76570b84b55020d5e8206 /beos/gui.h
parent4d18947adb21aa3e06f2431900111ad17b58d80d (diff)
downloadnetsurf-91515e2b566bee852f00ad9dbe68bc2beb8d1504.tar.gz
netsurf-91515e2b566bee852f00ad9dbe68bc2beb8d1504.tar.bz2
update beos frontend to remove useage of depricated warn_user API
Diffstat (limited to 'beos/gui.h')
-rw-r--r--beos/gui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/beos/gui.h b/beos/gui.h
index b9f560e8d..f77fe39dc 100644
--- a/beos/gui.h
+++ b/beos/gui.h
@@ -78,3 +78,11 @@ void nsbeos_update_system_ui_colors(void);
* \param error The message to display to the user.
*/
void die(const char * const error) __attribute__ ((noreturn));
+
+/**
+ * Display a warning for a serious problem (eg memory exhaustion).
+ *
+ * \param warning message key for warning message
+ * \param detail additional message, or 0
+ */
+nserror beos_warn_user(const char *warning, const char *detail)