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

55 lines
1.1 KiB
C

/******************************************************************************
*
* 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
*
*****************************************************************************/
#ifndef __LOCALIZE_H__
#define __LOCALIZE_H__
// Include elementary types
#include <PalmTypes.h> // Basic types
#include <CoreTraps.h> // Trap Numbers.
// The number format (thousands separator and decimal point). This defines
// how numbers are formatted and not neccessarily currency numbers (i.e. Switzerland).
typedef enum {
nfCommaPeriod,
nfPeriodComma,
nfSpaceComma,
nfApostrophePeriod,
nfApostropheComma
} NumberFormatType;
#ifdef __cplusplus
extern "C" {
#endif
void LocGetNumberSeparators(NumberFormatType numberFormat,
Char *thousandSeparator, Char *decimalSeparator)
SYS_TRAP(sysTrapLocGetNumberSeparators);
#ifdef __cplusplus
}
#endif
#endif // __LOCALIZE_H__