locales/loce32/src/ls_colswe.cpp
branchRCL_3
changeset 107 9f95a5546443
parent 0 05e9090e2422
equal deleted inserted replaced
106:e4e3998ddda2 107:9f95a5546443
       
     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 Colswe locale.
       
    22 Generated by COLTAB.
       
    23 */
       
    24 
       
    25 #include <kernel/ls_std.h>
       
    26 #include <collate.h>
       
    27 
       
    28 const TUint KUidColsweCollationMethod = 0x100059DD;
       
    29 
       
    30 static const TUint32 TheColsweKey[] = 
       
    31 	{
       
    32 	0x8d62409,0x8d62421,0x8d72809,0x8d72821,0x8d92809,0x8d92821,0x8d96f09,0x8d96f21,
       
    33 	0x8d96f09,0x8dc0109,0x8dc0121,0x8dc2209,0x8dc2221,0x8d80109,0x8d80121,0x8d81309,
       
    34 	0x8d81321,0x8d83b09,0x8d83b21,
       
    35 	};
       
    36 
       
    37 static const TUint32 TheColsweIndex[] = 
       
    38 	{
       
    39 	0xc6000e,0xe6000d,0xf80008,0x1b7000a,0x1e20012,0x1e30011,0x1ee000c,0x1ef000b,
       
    40 	0x1fc0010,0x1fd000f,0x2920009,
       
    41 	};
       
    42 
       
    43 static const TUint16 TheColsweStringElement[] = 
       
    44 	{
       
    45 	0x2,0x61,0x30a,0x2,0x41,0x30a,0x2,0x61,
       
    46 	0x308,0x2,0x41,0x308,0x2,0x6f,0x308,0x2,
       
    47 	0x4f,0x308,0x2,0x6f,0x335,0x2,0x4f,0x335,
       
    48 	0x2,0x6f,0x338,
       
    49 	};
       
    50 
       
    51 static const TUint32 TheColsweStringIndex[] = 
       
    52 	{
       
    53 	0x90003,0x30001,0xf0005,0x150007,0x60002,0x0,0xc0004,0x120006,
       
    54 	0x180008,
       
    55 	};
       
    56 
       
    57 static const TCollationKeyTable TheColsweTable = 
       
    58 	{ TheColsweKey, TheColsweIndex, 11, TheColsweStringElement, TheColsweStringIndex, 9 };
       
    59 
       
    60 static const TCollationMethod TheCollationMethod[] = 
       
    61 	{
       
    62 		{
       
    63 		KUidColsweCollationMethod, // the method for the locale
       
    64 		NULL, // use the standard table as the main table
       
    65 		&TheColsweTable, // the locale values override the standard values
       
    66 		0 // the flags are standard
       
    67 		},
       
    68 		{
       
    69 		KUidBasicCollationMethod, // the standard unlocalised method
       
    70 		NULL, // null means use the standard table
       
    71 		NULL, // there's no override table
       
    72 		0 // the flags are standard
       
    73 		}
       
    74 	};
       
    75 
       
    76 static const TCollationDataSet TheCollationDataSet =
       
    77 	{
       
    78 	TheCollationMethod,
       
    79 	2
       
    80 	};
       
    81 
       
    82 // The one and only locale character set object.
       
    83 const LCharSet TheCharSet =
       
    84 	{
       
    85 	NULL,
       
    86 	&TheCollationDataSet
       
    87 	};