0
|
1 |
// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// The LCharSet object used by the Test locale.
|
|
15 |
// Generated by COLTAB.
|
|
16 |
//
|
|
17 |
//
|
|
18 |
|
|
19 |
#include "ls_std.h"
|
|
20 |
#include <collate.h>
|
|
21 |
|
|
22 |
const TUint KUidTestCollationMethod = 0x1000B07C;
|
|
23 |
|
|
24 |
static const TUint32 TheTestKey[] =
|
|
25 |
{
|
|
26 |
0x74b0109,0x74b0121,0x71f0109,0x71f0121,0x7030109,0x7030121,0x6f70109,0x6f70121,
|
|
27 |
0x6e30109,0x6e30121,0x6cf0109,0x6cf0121,
|
|
28 |
};
|
|
29 |
|
|
30 |
static const TUint32 TheTestIndex[] =
|
|
31 |
{
|
|
32 |
0x410001,0x420003,0x430005,0x440007,0x450009,0x46000b,0x610000,0x620002,
|
|
33 |
0x630004,0x640006,0x650008,0x66000a,
|
|
34 |
};
|
|
35 |
|
|
36 |
static const TCollationKeyTable TheTestTable =
|
|
37 |
{ TheTestKey, TheTestIndex, 12, NULL, NULL, 0 };
|
|
38 |
|
|
39 |
static const TCollationMethod TheCollationMethod[] =
|
|
40 |
{
|
|
41 |
{
|
|
42 |
KUidTestCollationMethod, // the method for the locale
|
|
43 |
NULL, // use the standard table as the main table
|
|
44 |
&TheTestTable, // the locale values override the standard values
|
|
45 |
0 // the flags are standard
|
|
46 |
},
|
|
47 |
{
|
|
48 |
KUidBasicCollationMethod, // the standard unlocalised method
|
|
49 |
NULL, // null means use the standard table
|
|
50 |
NULL, // there's no override table
|
|
51 |
0 // the flags are standard
|
|
52 |
}
|
|
53 |
};
|
|
54 |
|
|
55 |
static const TCollationDataSet TheCollationDataSet =
|
|
56 |
{
|
|
57 |
TheCollationMethod,
|
|
58 |
2
|
|
59 |
};
|
|
60 |
|
|
61 |
// The one and only locale character set object.
|
|
62 |
const LCharSet TheCharSet =
|
|
63 |
{
|
|
64 |
NULL,
|
|
65 |
&TheCollationDataSet
|
|
66 |
};
|