1 /* |
|
2 * Copyright (c) 2000-2009 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 * The LCharSet object used by the Test locale. |
|
16 * Generated by COLTAB. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #include "ls_std.h" |
|
22 #include <collate.h> |
|
23 |
|
24 const TUint KUidTestCollationMethod = 0x1000B07C; |
|
25 |
|
26 static const TUint32 TheTestKey[] = |
|
27 { |
|
28 0x74b0109,0x74b0121,0x71f0109,0x71f0121,0x7030109,0x7030121,0x6f70109,0x6f70121, |
|
29 0x6e30109,0x6e30121,0x6cf0109,0x6cf0121, |
|
30 }; |
|
31 |
|
32 static const TUint32 TheTestIndex[] = |
|
33 { |
|
34 0x410001,0x420003,0x430005,0x440007,0x450009,0x46000b,0x610000,0x620002, |
|
35 0x630004,0x640006,0x650008,0x66000a, |
|
36 }; |
|
37 |
|
38 static const TCollationKeyTable TheTestTable = |
|
39 { TheTestKey, TheTestIndex, 12, NULL, NULL, 0 }; |
|
40 |
|
41 static const TCollationMethod TheCollationMethod[] = |
|
42 { |
|
43 { |
|
44 KUidTestCollationMethod, // the method for the locale |
|
45 NULL, // use the standard table as the main table |
|
46 &TheTestTable, // the locale values override the standard values |
|
47 0 // the flags are standard |
|
48 }, |
|
49 { |
|
50 KUidBasicCollationMethod, // the standard unlocalised method |
|
51 NULL, // null means use the standard table |
|
52 NULL, // there's no override table |
|
53 0 // the flags are standard |
|
54 } |
|
55 }; |
|
56 |
|
57 static const TCollationDataSet TheCollationDataSet = |
|
58 { |
|
59 TheCollationMethod, |
|
60 2 |
|
61 }; |
|
62 |
|
63 // The one and only locale character set object. |
|
64 const LCharSet TheCharSet = |
|
65 { |
|
66 NULL, |
|
67 &TheCollationDataSet |
|
68 }; |
|