locales/loce32/collation/src/collation_hr.cpp
changeset 53 8f0f421d3d0f
equal deleted inserted replaced
50:c6286dcf6040 53:8f0f421d3d0f
       
     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 Colhrv locale.
       
    22 Generated by COLTAB.
       
    23 */
       
    24 
       
    25 #include <kernel/ls_std.h>
       
    26 #include <collate.h>
       
    27 
       
    28 const TUint KUidColhrvCollationMethod = 0x100059DD;
       
    29 
       
    30 static const TUint32 TheColhrvKey[] = 
       
    31 	{
       
    32 	0x6f82209,0x6f82221,0x6f91309,0x6f91321,0x7040109,0x7040121,0x7040121,0x7be0109,
       
    33 	0x7bf0121,0x7bf0121,0x7ee0109,0x7ee0121,0x7ee0121,0x85e2209,0x85e2221,0x8ca2209,
       
    34 	0x8ca2221,
       
    35 	};
       
    36 
       
    37 static const TUint16 TheColhrvStringElement[] = 
       
    38 	{
       
    39 	0x2,0x63,0x30c,0x2,0x43,0x30c,0x2,0x63,
       
    40 	0x301,0x2,0x43,0x301,0x2,0x64,0x17e,0x2,
       
    41 	0x44,0x17e,0x2,0x44,0x17d,0x2,0x6c,0x6a,
       
    42 	0x2,0x4c,0x6a,0x2,0x4c,0x4a,0x2,0x6e,
       
    43 	0x6a,0x2,0x4e,0x6a,0x2,0x4e,0x4a,0x2,
       
    44 	0x73,0x30c,0x2,0x53,0x30c,0x2,0x7a,0x30c,
       
    45 	0x2,0x5a,0x30c,
       
    46 	};
       
    47 
       
    48 static const TUint32 TheColhrvStringIndex[] = 
       
    49 	{
       
    50 	0x90003,0x30001,0x120006,0xf0005,0x1b0009,0x180008,0x24000c,0x21000b,
       
    51 	0x2a000e,0x300010,0x60002,0x0,0xc0004,0x150007,0x1e000a,0x27000d,
       
    52 	0x2d000f,
       
    53 	};
       
    54 
       
    55 static const TCollationKeyTable TheColhrvTable = 
       
    56 	{ TheColhrvKey, 0, 0, TheColhrvStringElement, TheColhrvStringIndex, 17 };
       
    57 
       
    58 static const TCollationMethod TheCollationMethod[] = 
       
    59 	{
       
    60 		{
       
    61 		KUidColhrvCollationMethod, // the method for the locale
       
    62 		NULL, // use the standard table as the main table
       
    63 		&TheColhrvTable, // 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 	};