diff options
Diffstat (limited to 'SrcShared/Palm/Platform/Incs/Core/UI/FatalAlert.h')
-rw-r--r-- | SrcShared/Palm/Platform/Incs/Core/UI/FatalAlert.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/SrcShared/Palm/Platform/Incs/Core/UI/FatalAlert.h b/SrcShared/Palm/Platform/Incs/Core/UI/FatalAlert.h new file mode 100644 index 0000000..d550c5c --- /dev/null +++ b/SrcShared/Palm/Platform/Incs/Core/UI/FatalAlert.h @@ -0,0 +1,43 @@ +/****************************************************************************** + * + * Copyright (c) 1994-1999 Palm Computing, Inc. or its subsidiaries. + * All rights reserved. + * + * File: FatalAlert.h + * + * Description: + * This file defines the system Fatal Alert support. + * + * History: + * September 12, 1994 Created by Art Lamb + * + *****************************************************************************/ + +#ifndef __FATALALERT_H__ +#define __FATALALERT_H__ + +#include <PalmTypes.h> +#include <CoreTraps.h> + +// Value returned by SysFatalAlert +#define fatalReset 0 +#define fatalEnterDebugger 1 +#define fatalDoNothing 0xFFFFU + +#ifdef REMOVE_FOR_EMULATOR +#ifdef __cplusplus +extern "C" { +#endif + +UInt16 SysFatalAlert (const Char *msg) + SYS_TRAP(sysTrapSysFatalAlert); + +void SysFatalAlertInit (void) + SYS_TRAP(sysTrapSysFatalAlertInit); + +#ifdef __cplusplus +} +#endif +#endif + +#endif // __FATALALERT_H__ |