locales/loce32/src/ls_colice.cpp
changeset 0 05e9090e2422
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 /*
       
     2 * Copyright (c) 2000 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 "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 /*
       
    21 The LCharSet object used by the Colice locale.
       
    22 Generated by COLTAB.
       
    23 */
       
    24 
       
    25 #include <kernel/ls_std.h>
       
    26 #include <collate.h>
       
    27 
       
    28 const TUint KUidColiceCollationMethod = 0x100059DD;
       
    29 
       
    30 static const TUint32 TheColiceKey[] = 
       
    31 	{
       
    32 	0x8eb2809,0x8eb2821,0x6d01309,0x6d01321,0x7201309,0x7201321,0x78f1309,0x78f1321,
       
    33 	0x8051309,0x8051321,0x8bd1309,0x8bd1321,0x8ea0109,0x8ea0121,0x8ea1309,0x8ea1321,
       
    34 	0x8ea3b09,0x8ea3b21,0x6cf0109,0x6cf0121,0x71f0109,0x71f0121,0x78d0109,0x78d0121,
       
    35 	0x8050109,0x8050121,0x8bd0109,0x8bd0121,0x1309,
       
    36 	};
       
    37 
       
    38 static const TUint32 TheColiceIndex[] = 
       
    39 	{
       
    40 	0x410013,0x450015,0x490017,0x4f0019,0x59001b,0x610012,0x650014,0x690016,
       
    41 	0x6f0018,0x79001a,0xc6000d,0xe6000c,0x1e20011,0x1e30010,0x1fc000f,0x1fd000e,
       
    42 	0x301001c,
       
    43 	};
       
    44 
       
    45 static const TUint16 TheColiceStringElement[] = 
       
    46 	{
       
    47 	0x2,0x6f,0x308,0x2,0x4f,0x308,0x2,0x61,
       
    48 	0x301,0x2,0x41,0x301,0x2,0x65,0x301,0x2,
       
    49 	0x45,0x301,0x2,0x69,0x301,0x2,0x49,0x301,
       
    50 	0x2,0x6f,0x301,0x2,0x4f,0x301,0x2,0x79,
       
    51 	0x301,0x2,0x59,0x301,
       
    52 	};
       
    53 
       
    54 static const TUint32 TheColiceStringIndex[] = 
       
    55 	{
       
    56 	0x90003,0xf0005,0x150007,0x1b0009,0x30001,0x21000b,0x60002,0xc0004,
       
    57 	0x120006,0x180008,0x0,0x1e000a,
       
    58 	};
       
    59 
       
    60 static const TCollationKeyTable TheColiceTable = 
       
    61 	{ TheColiceKey, TheColiceIndex, 17, TheColiceStringElement, TheColiceStringIndex, 12 };
       
    62 
       
    63 static const TCollationMethod TheCollationMethod[] = 
       
    64 	{
       
    65 		{
       
    66 		KUidColiceCollationMethod, // the method for the locale
       
    67 		NULL, // use the standard table as the main table
       
    68 		&TheColiceTable, // the locale values override the standard values
       
    69 		0 // the flags are standard
       
    70 		},
       
    71 		{
       
    72 		KUidBasicCollationMethod, // the standard unlocalised method
       
    73 		NULL, // null means use the standard table
       
    74 		NULL, // there's no override table
       
    75 		0 // the flags are standard
       
    76 		}
       
    77 	};
       
    78 
       
    79 static const TCollationDataSet TheCollationDataSet =
       
    80 	{
       
    81 	TheCollationMethod,
       
    82 	2
       
    83 	};
       
    84 
       
    85 // The one and only locale character set object.
       
    86 const LCharSet TheCharSet =
       
    87 	{
       
    88 	NULL,
       
    89 	&TheCollationDataSet
       
    90 	};