home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / oct93 / graphics / graphtal.lha / Graphtal / Error.h < prev    next >
C/C++ Source or Header  |  1992-11-20  |  873b  |  31 lines

  1. /*
  2.  * Error.h - general error reporting function.
  3.  *
  4.  * Copyright (C) 1992, Christoph Streit (streit@iam.unibe.ch)
  5.  *                     University of Berne, Switzerland
  6.  * Copyright (C) 1989, 1991, Craig E. Kolb
  7.  * All rights reserved.
  8.  *
  9.  * This software may be freely copied, modified, and redistributed
  10.  * provided that this copyright notice is preserved on all copies.
  11.  *
  12.  * You may not distribute this software, in whole or in part, as part of
  13.  * any commercial product without the express consent of the authors.
  14.  *
  15.  * There is no warranty or other guarantee of fitness of this software
  16.  * for any purpose.  It is provided solely "as is".
  17.  *
  18.  * Adapted from Craig Kolbs rayshade.
  19.  */
  20.  
  21. #ifndef Error_H
  22. # define Error_H
  23.  
  24. #include "rcString.h"
  25.  
  26. enum errorType { ERR_ADVISE, ERR_WARN, ERR_ABORT, ERR_PANIC };
  27.  
  28. void Error(errorType, const rcString&);
  29.  
  30. #endif // Error_H
  31.