sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #ifndef _LOCALE_REPOSITORY sl@0: #define _LOCALE_REPOSITORY sl@0: sl@0: #include sl@0: sl@0: const TUint32 KLocalePersistRepositoryUid = 0x1020E4D3 ; sl@0: sl@0: const TUint KLocaleDllBase = 10 ; sl@0: const TUint KLocaleLanguageDll = KLocaleDllBase ; sl@0: const TUint KLocaleCollationDll = KLocaleDllBase + 1 ; sl@0: const TUint KLocaleLocaleDll = KLocaleDllBase + 2 ; sl@0: const TUint KLocaleTimeDateDll = KLocaleDllBase + 3 ; sl@0: sl@0: sl@0: // =============================================================== sl@0: // Individually customisable settings sl@0: const TUint KLocaleTLocaleBase = 100 ; sl@0: sl@0: // =============================================================== sl@0: // Time and Date Settings sl@0: const TUint KLocaleTimeAndDateSettingsBase = KLocaleTLocaleBase ; sl@0: sl@0: const TUint KLocaleUtcOffset = KLocaleTimeAndDateSettingsBase ; sl@0: const TUint KLocaleDateFormat = KLocaleTimeAndDateSettingsBase + 1 ; sl@0: const TUint KLocaleTimeFormat = KLocaleTimeAndDateSettingsBase + 2 ; sl@0: sl@0: // 4 Date Separators sl@0: const TUint KLocaleDateSeparatorBase = KLocaleTimeAndDateSettingsBase + 3 ; sl@0: const TUint KLocaleDateSeparator0 = KLocaleDateSeparatorBase ; sl@0: const TUint KLocaleDateSeparator1 = KLocaleDateSeparatorBase + 1 ; sl@0: const TUint KLocaleDateSeparator2 = KLocaleDateSeparatorBase + 2 ; sl@0: const TUint KLocaleDateSeparator3 = KLocaleDateSeparatorBase + 3 ; sl@0: sl@0: // 4 Time separators sl@0: const TUint KLocaleTimeSeparatorBase = KLocaleTimeAndDateSettingsBase + 7 ; sl@0: const TUint KLocaleTimeSeparator0 = KLocaleTimeSeparatorBase ; sl@0: const TUint KLocaleTimeSeparator1 = KLocaleTimeSeparatorBase + 1 ; sl@0: const TUint KLocaleTimeSeparator2 = KLocaleTimeSeparatorBase + 2 ; sl@0: const TUint KLocaleTimeSeparator3 = KLocaleTimeSeparatorBase + 3 ; sl@0: sl@0: const TUint KLocaleAmPmSpaceBetween = KLocaleTimeAndDateSettingsBase + 11 ; sl@0: const TUint KLocaleAmPmSymbolPosition = KLocaleTimeAndDateSettingsBase + 12 ; sl@0: const TUint KLocaleWorkDays = KLocaleTimeAndDateSettingsBase + 15 ; sl@0: const TUint KLocaleStartOfWeek = KLocaleTimeAndDateSettingsBase + 16 ; sl@0: const TUint KLocaleClockFormat = KLocaleTimeAndDateSettingsBase + 17 ; sl@0: const TUint KLocaleDeviceTimeState = KLocaleTimeAndDateSettingsBase +18 ; sl@0: sl@0: sl@0: // =================================================================== sl@0: // Currency Settings sl@0: const TUint KLocaleCurrencySettingsBase = KLocaleTLocaleBase +20; sl@0: const TUint KLocaleCurrencySymbolPosition = KLocaleCurrencySettingsBase ; sl@0: const TUint KLocaleCurrencySpaceBetween = KLocaleCurrencySettingsBase + 1 ; sl@0: const TUint KLocaleCurrencyDecimalPlaces = KLocaleCurrencySettingsBase + 2 ; sl@0: const TUint KLocaleCurrencyNegativeInBrackets = KLocaleCurrencySettingsBase + 3 ; sl@0: const TUint KLocaleCurrencyTriadsAllowed = KLocaleCurrencySettingsBase + 4 ; sl@0: const TUint KLocaleCurrencyNegativeFormat = KLocaleCurrencySettingsBase + 5 ; sl@0: const TUint KLocaleCurrencyNegativeLoseSpace = KLocaleCurrencySettingsBase + 6 ; sl@0: const TUint KLocaleCurrencySymbolOpposite = KLocaleCurrencySettingsBase + 7 ; sl@0: const TUint KLocaleCurrencySymbol = KLocaleCurrencySettingsBase + 8 ; sl@0: sl@0: sl@0: // ================================================================== sl@0: // Units Settings sl@0: const TUint KLocaleUnitsSettingsBase = KLocaleTLocaleBase +40; sl@0: const TUint KLocaleUnitsGeneral = KLocaleUnitsSettingsBase ; sl@0: const TUint KLocaleUnitsDistanceShort = KLocaleUnitsSettingsBase + 1 ; sl@0: const TUint KLocaleUnitsDistanceLong = KLocaleUnitsSettingsBase + 2 ; sl@0: sl@0: sl@0: sl@0: // ==================================================================== sl@0: // Numeric Settings sl@0: const TUint KLocaleNumericSettingsBase = KLocaleTLocaleBase +50; sl@0: const TUint KLocaleDigitType = KLocaleNumericSettingsBase ; sl@0: const TUint KLocaleThousandsSeparator = KLocaleNumericSettingsBase + 1 ; sl@0: const TUint KLocaleDecimalSeparator = KLocaleNumericSettingsBase + 2 ; sl@0: sl@0: sl@0: // ==================================================================== sl@0: // Language related settings sl@0: const TUint KLocaleLanguageSettingsBase = KLocaleTLocaleBase +60; sl@0: // 3 language downgrade path entries sl@0: const TUint KLocaleCountryCode = KLocaleLanguageSettingsBase ; sl@0: const TUint KLocaleLanguageDowngradeBase = KLocaleLanguageSettingsBase + 1 ; sl@0: const TUint KLocaleLanguageDowngrade0 = KLocaleLanguageDowngradeBase ; sl@0: const TUint KLocaleLanguageDowngrade1 = KLocaleLanguageDowngradeBase + 1 ; sl@0: const TUint KLocaleLanguageDowngrade2 = KLocaleLanguageDowngradeBase + 2 ; sl@0: sl@0: sl@0: sl@0: #endif // _LOCALE_REPOSITORY