summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/palmunits/src/localize.pp
blob: 1ddad29738e9285abe75e546b22dfa423eebe17e (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
(******************************************************************************
 *
 * Copyright (c) 1996-2000 Palm, Inc. or its subsidiaries.
 * All rights reserved.
 *
 * File: Localize.h
 *
 * Release: Palm OS SDK 4.0 (63220)
 *
 * Description:
 *    Functions to localize data.
 *
 * History:
 *    8/28/96  Roger - Initial version
 *
 *****************************************************************************)

unit localize;

interface

uses palmos, coretraps;

// The number format (thousands separator and decimal point).  This defines
// how numbers are formatted and not neccessarily currency numbers (i.e. Switzerland).
type
  NumberFormatType = Enum;

const
  nfCommaPeriod = 0;
  nfPeriodComma = Succ(nfCommaPeriod);
  nfSpaceComma = Succ(nfPeriodComma);
  nfApostrophePeriod = Succ(nfSpaceComma);
  nfApostropheComma = Succ(nfApostrophePeriod);

procedure LocGetNumberSeparators(numberFormat: NumberFormatType; thousandSeparator, decimalSeparator: PChar); syscall sysTrapLocGetNumberSeparators;

implementation

end.