summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/palmunits/src/libtraps.pp
blob: c50965a0e284e390137387f8a39934a320785fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
(******************************************************************************
 *
 * 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
 *
 *****************************************************************************)

unit libtraps;

interface

uses palmos;

//--------------------------------------------------------------------
// Define Library Trap Numbers
//--------------------------------------------------------------------
// Library traps start here and go up by 1's
const
  sysLibTrapBase = $A800;

type
  SysLibTrapNumber = WordEnum;

const
  sysLibTrapName = sysLibTrapBase;
  sysLibTrapOpen = Succ(sysLibTrapName);
  sysLibTrapClose = Succ(sysLibTrapOpen);
  sysLibTrapSleep = Succ(sysLibTrapClose);
  sysLibTrapWake = Succ(sysLibTrapSleep);
  sysLibTrapCustom = Succ(sysLibTrapWake);

implementation

end.