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