diff options
Diffstat (limited to 'SrcShared/Palm/Platform/Incs/Libraries/LibTraps.h')
-rw-r--r-- | SrcShared/Palm/Platform/Incs/Libraries/LibTraps.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/SrcShared/Palm/Platform/Incs/Libraries/LibTraps.h b/SrcShared/Palm/Platform/Incs/Libraries/LibTraps.h new file mode 100644 index 0000000..cd0b63b --- /dev/null +++ b/SrcShared/Palm/Platform/Incs/Libraries/LibTraps.h @@ -0,0 +1,43 @@ +/****************************************************************************** + * + * Copyright (c) 1999 Palm Computing, Inc. or its subsidiaries. + * All rights reserved. + * + * File: LibTraps.h + * + * 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 +typedef enum { + sysLibTrapName = sysLibTrapBase, + sysLibTrapOpen, + sysLibTrapClose, + sysLibTrapSleep, + sysLibTrapWake, + sysLibTrapCustom + } SysLibTrapNumber; + + + +#endif //__LIBTRAPS_H_ |