home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
source
/
luschsrc.sit
/
error.h
< prev
next >
Wrap
Text File
|
1990-05-23
|
868b
|
39 lines
/********************************************************************************
* error.h
*
* Error Handling Header
*
* Written by Paco Xander Nathan
* ⌐1990, Motorola Inc. Public domain source code.
********************************************************************************/
#define _H_error
typedef enum {
continueAlertID = 128,
yesnoAlertID, cancelAlertID, stationAlertID
} ErrAlertID;
typedef enum {
warnYes = 1, warnNo, warnCancel
} ErrWarnItems;
/* External Data Structures
*/
extern Handle
errAvatarHdl;
/* External Function Prototypes
*/
#ifdef PROTOTYPES
short ErrWarning (short nButtons, Boolean isFatal, StringPtr p1, StringPtr p2, StringPtr p3, StringPtr p4);
pascal long ErrGrowZone (long needed);
Ptr ErrNewPtr (Size theSize);
Handle ErrNewHandle (Size theSize);
void ErrFileMgr (OSErr errNum, StringPtr fileName);
#endif