home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Mark Pilgrim / Kant Generator Pro 1.0.1 / source / Shell ƒ / error.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-30  |  398 b   |  21 lines  |  [TEXT/MMCC]

  1. #ifndef __ERROR_H__
  2. #define __ERROR_H__
  3.  
  4. #include "program globals.h"
  5. #include <Notification.h>
  6.  
  7. typedef struct
  8. {
  9.     Boolean            isFatal;
  10.     Boolean            isSmall;
  11.     NMRec            notificationRec;
  12.     enum ErrorTypes    resultCode;
  13. } ErrorStateRec;
  14.  
  15. extern    ErrorStateRec        gPendingErrorRec;
  16.  
  17. void FailNilUPP(UniversalProcPtr theUPP);
  18. void HandleError(enum ErrorTypes resultCode, Boolean isFatal, Boolean isSmall);
  19.  
  20. #endif
  21.