locales/loce32/collation/src/collation_no.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 Colnor locale.
       
    22 Generated by COLTAB.
       
    23 */
       
    24 
       
    25 #include <kernel/ls_std.h>
       
    26 #include <collate.h>
       
    27 
       
    28 const TUint KUidColnorCollationMethod = 0x100059DD;
       
    29 
       
    30 static const TUint32 TheColnorKey[] = 
       
    31 	{
       
    32 	0x8d72809,0x8d72821,0x8d86f09,0x8d86f21,0x8d86f09,0x8d86f21,0x8d92809,0x8d92821,
       
    33 	0x8da2409,0x8da2421,0x6f09,0x8dc0109,0x8dc0121,0x8dc2209,0x8dc2221,0x8d60109,
       
    34 	0x8d60121,0x8d61309,0x8d61321,0x8d63b09,0x8d63b21,0x8d80109,0x8d80121,
       
    35 	};
       
    36 
       
    37 static const TUint32 TheColnorIndex[] = 
       
    38 	{
       
    39 	0xc60010,0xd80016,0xe6000f,0xf80015,0x1b7000c,0x1e20014,0x1e30013,0x1ee000e,
       
    40 	0x1ef000d,0x1fc0012,0x1fd0011,0x292000b,0x338000a,
       
    41 	};
       
    42 
       
    43 static const TUint16 TheColnorStringElement[] = 
       
    44 	{
       
    45 	0x2,0x61,0x308,0x2,0x41,0x308,0x2,0x6f,
       
    46 	0x335,0x2,0x4f,0x335,0x2,0x6f,0x338,0x2,
       
    47 	0x4f,0x338,0x2,0x6f,0x308,0x2,0x4f,0x308,
       
    48 	0x2,0x61,0x30a,0x2,0x41,0x30a,
       
    49 	};
       
    50 
       
    51 static const TUint32 TheColnorStringIndex[] = 
       
    52 	{
       
    53 	0x30001,0x1b0009,0x150007,0x90003,0xf0005,0x0,0x180008,0x120006,
       
    54 	0x60002,0xc0004,
       
    55 	};
       
    56 
       
    57 static const TCollationKeyTable TheColnorTable = 
       
    58 	{ TheColnorKey, TheColnorIndex, 13, TheColnorStringElement, TheColnorStringIndex, 10 };
       
    59 
       
    60 static const TCollationMethod TheCollationMethod[] = 
       
    61 	{
       
    62 		{
       
    63 		KUidColnorCollationMethod, // the method for the locale
       
    64 		NULL, // use the standard table as the main table
       
    65 		&TheColnorTable, // 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 	};