palm-os-sdk/sdk-4/include/Libraries/LibTraps.h
2016-08-25 07:53:48 -03:00

43 lines
1.1 KiB
C

/******************************************************************************
*
* Copyright (c) 1999-2000 Palm, Inc. or its subsidiaries.
* All rights reserved.
*
* File: LibTraps.h
*
* Release: Palm OS SDK 4.0 (63220)
*
* Description:
* Palm OS Shared Library 'default' traps.
*
* History:
* 7/15/99 Created by Bob Ebert
* mm/dd/yy initials - brief revision comment
*
*****************************************************************************/
#ifndef __LIBTRAPS_H_
#define __LIBTRAPS_H_
// Include elementary types
#include <PalmTypes.h>
#if CPU_TYPE == CPU_68K
#include <M68KHwr.h>
#endif
//--------------------------------------------------------------------
// Define Library Trap Numbers
//--------------------------------------------------------------------
// Library traps start here and go up by 1's
#define sysLibTrapBase 0xA800
#define sysLibTrapName 0xA800
#define sysLibTrapOpen 0xA801
#define sysLibTrapClose 0xA802
#define sysLibTrapSleep 0xA803
#define sysLibTrapWake 0xA804
#define sysLibTrapCustom 0xA805
#endif //__LIBTRAPS_H_