Update contrib.
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
18 #include <kernel/localise.h>
21 const TUint KUidTlocl_CollationMethod = 0x10888888;
22 const TUint KUidTlocl2_CollationMethod = 0x10999999;
26 static const TUint32 TheTlocl_Key[] =
31 static const TUint32 TheTlocl_Index[] =
36 static const TCollationKeyTable TheTlocl_Table =
37 { TheTlocl_Key, TheTlocl_Index, 2, 0, 0, 0 };
41 static const TUint32 TheTlocl2_Key[] =
43 0x6e30109,0x6cf0109,0x6cf0121,0x6e30121,
46 static const TUint32 TheTlocl2_Index[] =
48 0x410003,0x420002,0x610000,0x620001,
51 static const TCollationKeyTable TheTlocl2_Table =
52 { TheTlocl2_Key, TheTlocl2_Index, 4, 0, 0, 0 };
54 //Test CollationMethod
55 static const TCollationMethod TheCollationMethod[] =
58 KUidTlocl2_CollationMethod, // the method for the locale
59 NULL, // use the standard table as the main table
60 &TheTlocl2_Table, // the locale values override the standard values
61 0 // the flags are standard
64 KUidBasicCollationMethod, // the standard unlocalised method
65 NULL, // null means use the standard table
66 NULL, // there's no override table
67 0 // the flags are standard
70 KUidTlocl_CollationMethod, // the method for the locale
71 NULL, // use the standard table as the main table
72 &TheTlocl_Table, // the locale values override the standard values
73 TCollationMethod::EMatchingTable // add matching flag here
77 static const TCollationDataSet TheCollationDataSet =
83 // The one and only locale character set object.
84 const LCharSet TheCharSet =