home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / source / luschsrc.sit / error.h < prev    next >
Text File  |  1990-05-23  |  868b  |  39 lines

  1. /********************************************************************************
  2.  *    error.h
  3.  *
  4.  *    Error Handling Header
  5.  *
  6.  *    Written by Paco Xander Nathan
  7.  *    ⌐1990, Motorola Inc.  Public domain source code.
  8.  ********************************************************************************/
  9.  
  10. #define _H_error
  11.  
  12.  
  13. typedef enum {
  14.     continueAlertID = 128, 
  15.     yesnoAlertID, cancelAlertID, stationAlertID
  16. } ErrAlertID;
  17.  
  18.  
  19. typedef enum {
  20.     warnYes = 1, warnNo, warnCancel
  21. } ErrWarnItems;
  22.  
  23.  
  24. /* External Data Structures
  25.  */
  26. extern Handle
  27.     errAvatarHdl;
  28.  
  29.  
  30. /* External Function Prototypes
  31.  */
  32. #ifdef PROTOTYPES
  33. short ErrWarning (short nButtons, Boolean isFatal, StringPtr p1, StringPtr p2, StringPtr p3, StringPtr p4);
  34. pascal long ErrGrowZone (long needed);
  35. Ptr ErrNewPtr (Size theSize);
  36. Handle ErrNewHandle (Size theSize);
  37. void ErrFileMgr (OSErr errNum, StringPtr fileName);
  38. #endif
  39.