3 * Just like the old one, only nicer.
7 * © 1991-1998 Straylight
10 /*----- Licensing note ----------------------------------------------------*
12 * This file is part of Straylight's Steel library.
14 * Steel is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2, or (at your option)
19 * Steel is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with Steel. If not, write to the Free Software Foundation,
26 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
33 * void werr_bleepy(void)
36 * Bleeps if and only if the appropriate WimpFlags bit is right for
40 void werr_bleepy(void);
43 * void werr_init(void)
46 * Sets up the werr system ready for action.
52 * void werr(int fatal,char *error,...)
55 * Compatibility with the old werr segment mainly.
58 * int fatal == 1 if the error is fatal, or 0 otherwise.
59 * char *error == printf()-type format string.
62 void werr(int fatal,char *error,...);
65 * int werr_error(int buttons,char *error,...)
68 * Reports an error. You can have two buttons, OK and Cancel if you really
72 * int buttons == 1 for 1 button, 2 for 2 buttons, or anything else for an
73 * unpredictable result.
74 * char *error == printf()-like format string.
77 * 1 for OK, 0 for cancel.
80 int werr_error(int buttons,char *error,...);