palm-os-sdk/sdk-4/include/Core/UI/FatalAlert.h
2016-08-25 07:53:48 -03:00

44 lines
910 B
C

/******************************************************************************
*
* Copyright (c) 1994-2000 Palm, Inc. or its subsidiaries.
* All rights reserved.
*
* File: FatalAlert.h
*
* Release: Palm OS SDK 4.0 (63220)
*
* 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 __cplusplus
extern "C" {
#endif
UInt16 SysFatalAlert (const Char *msg)
SYS_TRAP(sysTrapSysFatalAlert);
void SysFatalAlertInit (void)
SYS_TRAP(sysTrapSysFatalAlertInit);
#ifdef __cplusplus
}
#endif
#endif // __FATALALERT_H__