locales/loce32/src/ls_col_vie_VN.cpp
branchRCL_3
changeset 107 9f95a5546443
parent 0 05e9090e2422
equal deleted inserted replaced
106:e4e3998ddda2 107:9f95a5546443
       
     1 /*
       
     2 * Copyright (c) 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 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <kernel/ls_std.h>
       
    20 #include <collate.h>
       
    21 
       
    22 const TUint KUidCol_vie_vnCollationMethod = 0x100059DD;
       
    23 
       
    24 static const TUint32 TheCol_vie_vnKey[] = 
       
    25 	{
       
    26 	0x6d01809,0x6d01821,0x6d11d09,0x6d11d21,0x7201d09,0x7201d21,0x8061d09,0x8061d21,
       
    27 	0x8074d09,0x8074d21,0x88e4d09,0x88e4d21,0x1309,0x1609,0x3009,0x4009,
       
    28 	0x5909,0x7040109,0x7040121,
       
    29 	};
       
    30 
       
    31 static const TUint32 TheCol_vie_vnIndex[] = 
       
    32 	{
       
    33 	0x1100012,0x1110011,0x300000c,0x301000f,0x303000e,0x309000d,0x3230010,
       
    34 	};
       
    35 
       
    36 static const TUint16 TheCol_vie_vnStringElement[] = 
       
    37 	{
       
    38 	0x2,0x61,0x306,0x2,0x41,0x306,0x2,0x61,
       
    39 	0x302,0x2,0x41,0x302,0x2,0x65,0x302,0x2,
       
    40 	0x45,0x302,0x2,0x6f,0x302,0x2,0x4f,0x302,
       
    41 	0x2,0x6f,0x31b,0x2,0x4f,0x31b,0x2,0x75,
       
    42 	0x31b,0x2,0x55,0x31b,
       
    43 	};
       
    44 
       
    45 static const TUint32 TheCol_vie_vnStringIndex[] = 
       
    46 	{
       
    47 	0x90003,0x30001,0xf0005,0x150007,0x1b0009,0x21000b,0x60002,0x0,
       
    48 	0xc0004,0x120006,0x180008,0x1e000a,
       
    49 	};
       
    50 
       
    51 static const TCollationKeyTable TheCol_vie_vnTable = 
       
    52 	{ TheCol_vie_vnKey, TheCol_vie_vnIndex, 7, TheCol_vie_vnStringElement, TheCol_vie_vnStringIndex, 12 };
       
    53 
       
    54 static const TCollationMethod TheCollationMethod[] = 
       
    55 	{
       
    56 		{
       
    57 		KUidCol_vie_vnCollationMethod, // the method for the locale
       
    58 		NULL, // use the standard table as the main table
       
    59 		&TheCol_vie_vnTable, // the locale values override the standard values
       
    60 		0 // the flags are standard
       
    61 		},
       
    62 		{
       
    63 		KUidBasicCollationMethod, // the standard unlocalised method
       
    64 		NULL, // null means use the standard table
       
    65 		NULL, // there's no override table
       
    66 		0 // the flags are standard
       
    67 		}
       
    68 	};
       
    69 
       
    70 static const TCollationDataSet TheCollationDataSet =
       
    71 	{
       
    72 	TheCollationMethod,
       
    73 	2
       
    74 	};
       
    75 
       
    76 // The one and only locale character set object.
       
    77 const LCharSet TheCharSet =
       
    78 	{
       
    79 	NULL,
       
    80 	&TheCollationDataSet
       
    81 	};