locales/loce32/src/ls_coldan.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 Coldan locale.
       
    22 Generated by COLTAB.
       
    23 */
       
    24 
       
    25 #include <kernel/ls_std.h>
       
    26 #include <collate.h>
       
    27 
       
    28 const TUint KUidColdanCollationMethod = 0x100059DD;
       
    29 
       
    30 static const TUint32 TheColdanKey[] = 
       
    31 	{
       
    32 	0x8d72809,0x8d72821,0x8d86f09,0x8d86f21,0x8d86f09,0x8d86f21,0x8d92809,0x8d92821,
       
    33 	0x8da2409,0x8da2421,0x8db0109,0x8db0121,0x8db0125,0x6f09,0x8dc0109,0x8dc0121,
       
    34 	0x8dc2209,0x8dc2221,0x8d60109,0x8d60121,0x8d61309,0x8d61321,0x8d63b09,0x8d63b21,
       
    35 	0x8d80109,0x8d80121,
       
    36 	};
       
    37 
       
    38 static const TUint32 TheColdanIndex[] = 
       
    39 	{
       
    40 	0xc60013,0xd80019,0xe60012,0xf80018,0x1b7000f,0x1e20017,0x1e30016,0x1ee0011,
       
    41 	0x1ef0010,0x1fc0015,0x1fd0014,0x292000e,0x338000d,
       
    42 	};
       
    43 
       
    44 static const TUint16 TheColdanStringElement[] = 
       
    45 	{
       
    46 	0x2,0x61,0x308,0x2,0x41,0x308,0x2,0x6f,
       
    47 	0x335,0x2,0x4f,0x335,0x2,0x6f,0x338,0x2,
       
    48 	0x4f,0x338,0x2,0x6f,0x308,0x2,0x4f,0x308,
       
    49 	0x2,0x61,0x30a,0x2,0x41,0x30a,0x2,0x61,
       
    50 	0x61,0x2,0x41,0x41,0x2,0x41,0x61,
       
    51 	};
       
    52 
       
    53 static const TUint32 TheColdanStringIndex[] = 
       
    54 	{
       
    55 	0x21000b,0x24000c,0x30001,0x1b0009,0x150007,0x90003,0xf0005,0x1e000a,
       
    56 	0x0,0x180008,0x120006,0x60002,0xc0004,
       
    57 	};
       
    58 
       
    59 static const TCollationKeyTable TheColdanTable = 
       
    60 	{ TheColdanKey, TheColdanIndex, 13, TheColdanStringElement, TheColdanStringIndex, 13 };
       
    61 
       
    62 static const TCollationMethod TheCollationMethod[] = 
       
    63 	{
       
    64 		{
       
    65 		KUidColdanCollationMethod, // the method for the locale
       
    66 		NULL, // use the standard table as the main table
       
    67 		&TheColdanTable, // the locale values override the standard values
       
    68 		0 // the flags are standard
       
    69 		},
       
    70 		{
       
    71 		KUidBasicCollationMethod, // the standard unlocalised method
       
    72 		NULL, // null means use the standard table
       
    73 		NULL, // there's no override table
       
    74 		0 // the flags are standard
       
    75 		}
       
    76 	};
       
    77 
       
    78 static const TCollationDataSet TheCollationDataSet =
       
    79 	{
       
    80 	TheCollationMethod,
       
    81 	2
       
    82 	};
       
    83 
       
    84 // The one and only locale character set object.
       
    85 const LCharSet TheCharSet =
       
    86 	{
       
    87 	NULL,
       
    88 	&TheCollationDataSet
       
    89 	};