localisation/localesupport/src/ls_unic.cpp
changeset 0 1fb32624e06b
equal deleted inserted replaced
-1:000000000000 0:1fb32624e06b
       
     1 /*
       
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * The LCharSet object used by the default locale in the Unicode build.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #include "ls_std.h"
       
    22 
       
    23 /*
       
    24 The whole file is protected by #ifdef _UNICODE so that it can be safely
       
    25 added to the non-Unicode build.
       
    26 This is done after the include files so that _UNICODE is defined if necessary.
       
    27 */
       
    28 #ifdef _UNICODE
       
    29 #include <collate.h>
       
    30 
       
    31 static const TCollationMethod TheCollationMethod[] =
       
    32 	{
       
    33 		{
       
    34 		KUidBasicCollationMethod,				// this is the standard unlocalised method
       
    35 		NULL,									// null means use the standard table
       
    36 		NULL,									// there's no override table
       
    37 		0										// the flags are standard
       
    38 		}
       
    39 	};
       
    40 
       
    41 static const TCollationDataSet TheCollationDataSet =
       
    42 	{
       
    43 	TheCollationMethod,
       
    44 	1
       
    45 	};
       
    46 
       
    47 // The one and only locale character set object.
       
    48 const LCharSet TheCharSet =
       
    49 	{
       
    50 	NULL,
       
    51 	&TheCollationDataSet
       
    52 	};
       
    53 
       
    54 #endif // _UNICODE