sl@0
|
1 |
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
//
|
sl@0
|
15 |
|
sl@0
|
16 |
#ifndef _LOCALE_REPOSITORY
|
sl@0
|
17 |
#define _LOCALE_REPOSITORY
|
sl@0
|
18 |
|
sl@0
|
19 |
#include <e32std.h>
|
sl@0
|
20 |
|
sl@0
|
21 |
const TUint32 KLocalePersistRepositoryUid = 0x1020E4D3 ;
|
sl@0
|
22 |
|
sl@0
|
23 |
const TUint KLocaleDllBase = 10 ;
|
sl@0
|
24 |
const TUint KLocaleLanguageDll = KLocaleDllBase ;
|
sl@0
|
25 |
const TUint KLocaleCollationDll = KLocaleDllBase + 1 ;
|
sl@0
|
26 |
const TUint KLocaleLocaleDll = KLocaleDllBase + 2 ;
|
sl@0
|
27 |
const TUint KLocaleTimeDateDll = KLocaleDllBase + 3 ;
|
sl@0
|
28 |
|
sl@0
|
29 |
|
sl@0
|
30 |
// ===============================================================
|
sl@0
|
31 |
// Individually customisable settings
|
sl@0
|
32 |
const TUint KLocaleTLocaleBase = 100 ;
|
sl@0
|
33 |
|
sl@0
|
34 |
// ===============================================================
|
sl@0
|
35 |
// Time and Date Settings
|
sl@0
|
36 |
const TUint KLocaleTimeAndDateSettingsBase = KLocaleTLocaleBase ;
|
sl@0
|
37 |
|
sl@0
|
38 |
const TUint KLocaleUtcOffset = KLocaleTimeAndDateSettingsBase ;
|
sl@0
|
39 |
const TUint KLocaleDateFormat = KLocaleTimeAndDateSettingsBase + 1 ;
|
sl@0
|
40 |
const TUint KLocaleTimeFormat = KLocaleTimeAndDateSettingsBase + 2 ;
|
sl@0
|
41 |
|
sl@0
|
42 |
// 4 Date Separators
|
sl@0
|
43 |
const TUint KLocaleDateSeparatorBase = KLocaleTimeAndDateSettingsBase + 3 ;
|
sl@0
|
44 |
const TUint KLocaleDateSeparator0 = KLocaleDateSeparatorBase ;
|
sl@0
|
45 |
const TUint KLocaleDateSeparator1 = KLocaleDateSeparatorBase + 1 ;
|
sl@0
|
46 |
const TUint KLocaleDateSeparator2 = KLocaleDateSeparatorBase + 2 ;
|
sl@0
|
47 |
const TUint KLocaleDateSeparator3 = KLocaleDateSeparatorBase + 3 ;
|
sl@0
|
48 |
|
sl@0
|
49 |
// 4 Time separators
|
sl@0
|
50 |
const TUint KLocaleTimeSeparatorBase = KLocaleTimeAndDateSettingsBase + 7 ;
|
sl@0
|
51 |
const TUint KLocaleTimeSeparator0 = KLocaleTimeSeparatorBase ;
|
sl@0
|
52 |
const TUint KLocaleTimeSeparator1 = KLocaleTimeSeparatorBase + 1 ;
|
sl@0
|
53 |
const TUint KLocaleTimeSeparator2 = KLocaleTimeSeparatorBase + 2 ;
|
sl@0
|
54 |
const TUint KLocaleTimeSeparator3 = KLocaleTimeSeparatorBase + 3 ;
|
sl@0
|
55 |
|
sl@0
|
56 |
const TUint KLocaleAmPmSpaceBetween = KLocaleTimeAndDateSettingsBase + 11 ;
|
sl@0
|
57 |
const TUint KLocaleAmPmSymbolPosition = KLocaleTimeAndDateSettingsBase + 12 ;
|
sl@0
|
58 |
const TUint KLocaleWorkDays = KLocaleTimeAndDateSettingsBase + 15 ;
|
sl@0
|
59 |
const TUint KLocaleStartOfWeek = KLocaleTimeAndDateSettingsBase + 16 ;
|
sl@0
|
60 |
const TUint KLocaleClockFormat = KLocaleTimeAndDateSettingsBase + 17 ;
|
sl@0
|
61 |
const TUint KLocaleDeviceTimeState = KLocaleTimeAndDateSettingsBase +18 ;
|
sl@0
|
62 |
|
sl@0
|
63 |
|
sl@0
|
64 |
// ===================================================================
|
sl@0
|
65 |
// Currency Settings
|
sl@0
|
66 |
const TUint KLocaleCurrencySettingsBase = KLocaleTLocaleBase +20;
|
sl@0
|
67 |
const TUint KLocaleCurrencySymbolPosition = KLocaleCurrencySettingsBase ;
|
sl@0
|
68 |
const TUint KLocaleCurrencySpaceBetween = KLocaleCurrencySettingsBase + 1 ;
|
sl@0
|
69 |
const TUint KLocaleCurrencyDecimalPlaces = KLocaleCurrencySettingsBase + 2 ;
|
sl@0
|
70 |
const TUint KLocaleCurrencyNegativeInBrackets = KLocaleCurrencySettingsBase + 3 ;
|
sl@0
|
71 |
const TUint KLocaleCurrencyTriadsAllowed = KLocaleCurrencySettingsBase + 4 ;
|
sl@0
|
72 |
const TUint KLocaleCurrencyNegativeFormat = KLocaleCurrencySettingsBase + 5 ;
|
sl@0
|
73 |
const TUint KLocaleCurrencyNegativeLoseSpace = KLocaleCurrencySettingsBase + 6 ;
|
sl@0
|
74 |
const TUint KLocaleCurrencySymbolOpposite = KLocaleCurrencySettingsBase + 7 ;
|
sl@0
|
75 |
const TUint KLocaleCurrencySymbol = KLocaleCurrencySettingsBase + 8 ;
|
sl@0
|
76 |
|
sl@0
|
77 |
|
sl@0
|
78 |
// ==================================================================
|
sl@0
|
79 |
// Units Settings
|
sl@0
|
80 |
const TUint KLocaleUnitsSettingsBase = KLocaleTLocaleBase +40;
|
sl@0
|
81 |
const TUint KLocaleUnitsGeneral = KLocaleUnitsSettingsBase ;
|
sl@0
|
82 |
const TUint KLocaleUnitsDistanceShort = KLocaleUnitsSettingsBase + 1 ;
|
sl@0
|
83 |
const TUint KLocaleUnitsDistanceLong = KLocaleUnitsSettingsBase + 2 ;
|
sl@0
|
84 |
|
sl@0
|
85 |
|
sl@0
|
86 |
|
sl@0
|
87 |
// ====================================================================
|
sl@0
|
88 |
// Numeric Settings
|
sl@0
|
89 |
const TUint KLocaleNumericSettingsBase = KLocaleTLocaleBase +50;
|
sl@0
|
90 |
const TUint KLocaleDigitType = KLocaleNumericSettingsBase ;
|
sl@0
|
91 |
const TUint KLocaleThousandsSeparator = KLocaleNumericSettingsBase + 1 ;
|
sl@0
|
92 |
const TUint KLocaleDecimalSeparator = KLocaleNumericSettingsBase + 2 ;
|
sl@0
|
93 |
|
sl@0
|
94 |
|
sl@0
|
95 |
// ====================================================================
|
sl@0
|
96 |
// Language related settings
|
sl@0
|
97 |
const TUint KLocaleLanguageSettingsBase = KLocaleTLocaleBase +60;
|
sl@0
|
98 |
// 3 language downgrade path entries
|
sl@0
|
99 |
const TUint KLocaleCountryCode = KLocaleLanguageSettingsBase ;
|
sl@0
|
100 |
const TUint KLocaleLanguageDowngradeBase = KLocaleLanguageSettingsBase + 1 ;
|
sl@0
|
101 |
const TUint KLocaleLanguageDowngrade0 = KLocaleLanguageDowngradeBase ;
|
sl@0
|
102 |
const TUint KLocaleLanguageDowngrade1 = KLocaleLanguageDowngradeBase + 1 ;
|
sl@0
|
103 |
const TUint KLocaleLanguageDowngrade2 = KLocaleLanguageDowngradeBase + 2 ;
|
sl@0
|
104 |
|
sl@0
|
105 |
|
sl@0
|
106 |
|
sl@0
|
107 |
#endif // _LOCALE_REPOSITORY
|