locales/loce32/collation/src/collation_es.cpp
changeset 124 a09c56e249b5
equal deleted inserted replaced
119:754f6eddbdc9 124:a09c56e249b5
       
     1 /*
       
     2 * Copyright (c) 2010 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 #include <kernel/ls_std.h>
       
    20 #include <collate.h>
       
    21 
       
    22 const TUint KUidColspaCollationMethod = 0x100059DD;
       
    23 
       
    24 static const TUint32 TheColspaKey[] = 
       
    25 	{	 // 2 keys
       
    26 	0x7ef3009,0x7ef3021,
       
    27 	};
       
    28 
       
    29 static const TUint16 TheColspaStringElement[] = 
       
    30 	{
       
    31 	0x2,0x6e,0x303,0x2,0x4e,0x303,
       
    32 	};
       
    33 
       
    34 static const TUint32 TheColspaStringIndex[] = 
       
    35 	{
       
    36 	0x30001,0x0,
       
    37 	};
       
    38 
       
    39 static const TCollationKeyTable TheColspaTable = 
       
    40 	{ TheColspaKey, 0, 0, TheColspaStringElement, TheColspaStringIndex, 2 };
       
    41 
       
    42 static const TCollationMethod TheCollationMethod[] = 
       
    43 	{
       
    44 		{
       
    45 		KUidColspaCollationMethod, // the method for the locale
       
    46 		NULL, // use the standard table as the main table
       
    47 		&TheColspaTable, // the locale values override the standard values
       
    48 		0 // the flags are standard
       
    49 		},
       
    50 		{
       
    51 		KUidBasicCollationMethod, // the standard unlocalised method
       
    52 		NULL, // null means use the standard table
       
    53 		NULL, // there's no override table
       
    54 		0 // the flags are standard
       
    55 		}
       
    56 	};
       
    57 
       
    58 static const TCollationDataSet TheCollationDataSet =
       
    59 	{
       
    60 	TheCollationMethod,
       
    61 	2
       
    62 	};
       
    63 
       
    64 // The one and only locale character set object.
       
    65 const LCharSet TheCharSet =
       
    66 	{
       
    67 	NULL,
       
    68 	&TheCollationDataSet
       
    69 	};