kerneltest/f32test/locl/localeutils/t_tls_unic.cpp
branchanywhere
changeset 41 d32f34975bbf
parent 40 04a1b74efd48
parent 37 a9bf1d2c555e
child 48 10816385149a
equal deleted inserted replaced
40:04a1b74efd48 41:d32f34975bbf
     1 // Copyright (c) 2007-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 "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-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 // This UK locale dll is created only for the purpose of instantiating FatUtilityFunctions
       
    16 // 
       
    17 //
       
    18 
       
    19 
       
    20 #include <kernel/localise.h>
       
    21 
       
    22 /*
       
    23 The whole file is protected by #ifdef _UNICODE so that it can be safely
       
    24 added to the non-Unicode build.
       
    25 This is done after the include files so that _UNICODE is defined if necessary.
       
    26 */
       
    27 #ifdef _UNICODE
       
    28 #include <collate.h>
       
    29 
       
    30 static const TCollationMethod TheCollationMethod[] =
       
    31 	{
       
    32 		{
       
    33 		KUidBasicCollationMethod,				// this is the standard unlocalised method
       
    34 		NULL,									// null means use the standard table
       
    35 		NULL,									// there's no override table
       
    36 		0										// the flags are standard
       
    37 		}
       
    38 	};
       
    39 
       
    40 static const TCollationDataSet TheCollationDataSet =
       
    41 	{
       
    42 	TheCollationMethod,
       
    43 	1
       
    44 	};
       
    45 
       
    46 // The one and only locale character set object.
       
    47 const LCharSet TheCharSet =
       
    48 	{
       
    49 	NULL,
       
    50 	&TheCollationDataSet
       
    51 	};
       
    52 
       
    53 #endif // _UNICODE