equal
deleted
inserted
replaced
|
1 // Copyright (c) 1997-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 default locale in the Unicode build. |
|
15 // |
|
16 // |
|
17 |
|
18 |
|
19 #include "ls_std.h" |
|
20 |
|
21 /* |
|
22 The whole file is protected by #ifdef _UNICODE so that it can be safely |
|
23 added to the non-Unicode build. |
|
24 This is done after the include files so that _UNICODE is defined if necessary. |
|
25 */ |
|
26 #ifdef _UNICODE |
|
27 #include <collate.h> |
|
28 |
|
29 static const TCollationMethod TheCollationMethod[] = |
|
30 { |
|
31 { |
|
32 KUidBasicCollationMethod, // this is the standard unlocalised method |
|
33 NULL, // null means use the standard table |
|
34 NULL, // there's no override table |
|
35 0 // the flags are standard |
|
36 } |
|
37 }; |
|
38 |
|
39 static const TCollationDataSet TheCollationDataSet = |
|
40 { |
|
41 TheCollationMethod, |
|
42 1 |
|
43 }; |
|
44 |
|
45 // The one and only locale character set object. |
|
46 const LCharSet TheCharSet = |
|
47 { |
|
48 NULL, |
|
49 &TheCollationDataSet |
|
50 }; |
|
51 |
|
52 #endif // _UNICODE |