author | John Imhofe <john.imhofe@nokia.com> |
Mon, 21 Dec 2009 16:14:42 +0000 | |
changeset 2 | 4122176ea935 |
parent 0 | a41df078684a |
permissions | -rw-r--r-- |
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
1 |
/* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
2 |
* Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
3 |
* All rights reserved. |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
8 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
9 |
* Initial Contributors: |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
11 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
12 |
* Contributors: |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
13 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
14 |
* Description: |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
15 |
* The LCharSet object used by the Test locale. |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
16 |
* Generated by COLTAB. |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
17 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
18 |
*/ |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
19 |
|
0 | 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 |
}; |