locales/loce32/src/ls_colhun.cpp
author andy simpson <andrews@symbian.org>
Thu, 02 Sep 2010 17:15:02 +0100
branchRCL_3
changeset 108 73fa3ba3e5e0
parent 0 05e9090e2422
permissions -rw-r--r--
Merge after removal of incorrect RCL_3 drop

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/


#include <kernel/ls_std.h>
#include <collate.h>

const TUint KUidColhunCollationMethod = 0x100059DD;

static const TUint32 TheColhunKey[] = 
	{
	0x6f80109,0x6f80121,0x6f80121,0x7040109,0x7040121,0x7040121,0x7050109,0x7050121,
	0x7050121,0x7540109,0x7540121,0x7540121,0x7be0109,0x7bf0121,0x7bf0121,0x7ee0109,
	0x7ee0121,0x7ee0121,0x85e0109,0x85e0121,0x85e0121,0x8760109,0x8760121,0x8760121,
	0x8ca0109,0x8ca0121,0x8ca0121,0x8062809,0x8062821,0x8062f09,0x8062f21,0x88e2809,
	0x88e2821,0x88e2f09,0x88e2f21,
	};

static const TUint16 TheColhunStringElement[] = 
	{
	0x2,0x63,0x73,0x2,0x43,0x73,0x2,0x43,
	0x53,0x2,0x64,0x7a,0x2,0x44,0x7a,0x2,
	0x44,0x5a,0x3,0x64,0x7a,0x73,0x3,0x44,
	0x7a,0x73,0x3,0x44,0x5a,0x53,0x2,0x67,
	0x79,0x2,0x47,0x79,0x2,0x47,0x59,0x2,
	0x6c,0x79,0x2,0x4c,0x79,0x2,0x4c,0x59,
	0x2,0x6e,0x79,0x2,0x4e,0x79,0x2,0x4e,
	0x59,0x2,0x73,0x7a,0x2,0x53,0x7a,0x2,
	0x53,0x5a,0x2,0x74,0x79,0x2,0x54,0x79,
	0x2,0x54,0x59,0x2,0x7a,0x73,0x2,0x5a,
	0x73,0x2,0x5a,0x53,0x2,0x6f,0x308,0x2,
	0x4f,0x308,0x2,0x6f,0x30b,0x2,0x4f,0x30b,
	0x2,0x75,0x308,0x2,0x55,0x308,0x2,0x75,
	0x30b,0x2,0x55,0x30b,
	};

static const TUint32 TheColhunStringIndex[] = 
	{
	0x60002,0x30001,0xf0005,0x1a0008,0xc0004,0x160007,0x24000b,0x21000a,
	0x2d000e,0x2a000d,0x360011,0x330010,0x57001c,0x5d001e,0x3f0014,0x3c0013,
	0x480017,0x450016,0x630020,0x690022,0x51001a,0x4e0019,0x0,0x90003,
	0x120006,0x1e0009,0x27000c,0x30000f,0x54001b,0x5a001d,0x390012,0x420015,
	0x60001f,0x660021,0x4b0018,
	};

static const TCollationKeyTable TheColhunTable = 
	{ TheColhunKey, 0, 0, TheColhunStringElement, TheColhunStringIndex, 35 };

static const TCollationMethod TheCollationMethod[] = 
	{
		{
		KUidColhunCollationMethod, // the method for the locale
		NULL, // use the standard table as the main table
		&TheColhunTable, // the locale values override the standard values
		0 // the flags are standard
		},
		{
		KUidBasicCollationMethod, // the standard unlocalised method
		NULL, // null means use the standard table
		NULL, // there's no override table
		0 // the flags are standard
		}
	};

static const TCollationDataSet TheCollationDataSet =
	{
	TheCollationMethod,
	2
	};

// The one and only locale character set object.
const LCharSet TheCharSet =
	{
	NULL,
	&TheCollationDataSet
	};