equal
deleted
inserted
replaced
1 locale.h |
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Values appropriate for the formatting of monetary and other |
|
16 * numberic quantities. |
|
17 * |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 /** |
|
27 @file |
|
28 @publishedAll |
|
29 @released |
|
30 */ |
|
31 #ifndef _LOCALE_H_ |
|
32 #define _LOCALE_H_ |
|
33 #ifdef __cplusplus |
|
34 extern "C" { |
|
35 #endif |
|
36 |
|
37 #include "_ansi.h" |
|
38 |
|
39 #ifndef NULL |
|
40 #define NULL 0L |
|
41 #endif |
|
42 |
|
43 #define LC_ALL 0 |
|
44 #define LC_COLLATE 1 |
|
45 #define LC_CTYPE 2 |
|
46 #define LC_MONETARY 3 |
|
47 #define LC_NUMERIC 4 |
|
48 #define LC_TIME 5 |
|
49 |
|
50 struct lconv |
|
51 { |
|
52 char *decimal_point; |
|
53 char *thousands_sep; |
|
54 char *grouping; |
|
55 char *int_curr_symbol; |
|
56 char *currency_symbol; |
|
57 char *mon_decimal_point; |
|
58 char *mon_thousands_sep; |
|
59 char *mon_grouping; |
|
60 char *positive_sign; |
|
61 char *negative_sign; |
|
62 char int_frac_digits; |
|
63 char frac_digits; |
|
64 char p_cs_precedes; |
|
65 char p_sep_by_space; |
|
66 char n_cs_precedes; |
|
67 char n_sep_by_space; |
|
68 char p_sign_posn; |
|
69 char n_sign_posn; |
|
70 }; |
|
71 |
|
72 IMPORT_C char *setlocale(int category, const char *locale); |
|
73 IMPORT_C struct lconv *localeconv(void); |
|
74 |
|
75 #ifdef __cplusplus |
|
76 } |
|
77 #endif |
|
78 #endif /* _LOCALE_H_ */ |