locales/loce32/src/ls_colest.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 Colest locale.
       
    22 Generated by COLTAB.
       
    23 */
       
    24 
       
    25 #include <kernel/ls_std.h>
       
    26 #include <collate.h>
       
    27 
       
    28 const TUint KUidColestCollationMethod = 0x100059DD;
       
    29 
       
    30 static const TUint32 TheColestKey[] = 
       
    31 	{
       
    32 	0x8622221,0x8622209,0x8b23021,0x8b23009,0x8b32821,0x8b32809,0x8b42821,0x8b42809,
       
    33 	0x8b52821,0x8620121,0x8620109,0x8b80109,
       
    34 	};
       
    35 
       
    36 static const TUint32 TheColestIndex[] = 
       
    37 	{
       
    38 	0x5a0009,0x7a000a,0x28d000b,
       
    39 	};
       
    40 
       
    41 static const TUint16 TheColestStringElement[] = 
       
    42 	{
       
    43 	0x2,0x5a,0x30c,0x2,0x7a,0x30c,0x2,0x4f,
       
    44 	0x303,0x2,0x6f,0x303,0x2,0x41,0x308,0x2,
       
    45 	0x61,0x308,0x2,0x4f,0x308,0x2,0x6f,0x308,
       
    46 	0x2,0x55,0x308,
       
    47 	};
       
    48 
       
    49 static const TUint32 TheColestStringIndex[] = 
       
    50 	{
       
    51 	0xc0004,0x60002,0x120006,0x180008,0x0,0xf0005,0x90003,0x150007,
       
    52 	0x30001,
       
    53 	};
       
    54 
       
    55 static const TCollationKeyTable TheColestTable = 
       
    56 	{ TheColestKey, TheColestIndex, 3, TheColestStringElement, TheColestStringIndex, 9 };
       
    57 
       
    58 static const TCollationMethod TheCollationMethod[] = 
       
    59 	{
       
    60 		{
       
    61 		KUidColestCollationMethod, // the method for the locale
       
    62 		NULL, // use the standard table as the main table
       
    63 		&TheColestTable, // the locale values override the standard values
       
    64 		0 // the flags are standard
       
    65 		},
       
    66 		{
       
    67 		KUidBasicCollationMethod, // the standard unlocalised method
       
    68 		NULL, // null means use the standard table
       
    69 		NULL, // there's no override table
       
    70 		0 // the flags are standard
       
    71 		}
       
    72 	};
       
    73 
       
    74 static const TCollationDataSet TheCollationDataSet =
       
    75 	{
       
    76 	TheCollationMethod,
       
    77 	2
       
    78 	};
       
    79 
       
    80 // The one and only locale character set object.
       
    81 const LCharSet TheCharSet =
       
    82 	{
       
    83 	NULL,
       
    84 	&TheCollationDataSet
       
    85 	};