source: golgotha/src/i4/error/alert.hh @ 608

Last change on this file since 608 was 80, checked in by Sam Hocevar, 15 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 880 bytes
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9#ifndef ALERT_HH_
10#define ALERT_HH_
11
12
13#include "string/string.hh"
14
15typedef int (*i4_alert_function_type)(const i4_const_str &ret);
16
17void i4_set_alert_function(i4_alert_function_type fun);
18
19// max_length is the maximum length of the string when expanded
20void i4_alert(const i4_const_str &format, w32 max_length, ...);
21void i4_set_alert_function(i4_alert_function_type fun);
22
23#endif
Note: See TracBrowser for help on using the repository browser.