kerneltest/f32test/locl/localeutils/unicodeconv.h
author Stephane Lenclud <tortoisehg@lenclud.com>
Mon, 04 Jan 2010 12:25:19 +0100
branchanywhere
changeset 20 d63d727ee0a6
parent 15 4122176ea935
permissions -rw-r--r--
Merge catch up

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

#include <e32std.h>
#include <e32def.h>
#include "convdatastruct.h"
#include <kernel/localise.h>


class UnicodeConv
	{
	public:
		static TInt ConvertFromUnicodeL(TDes8& aForeign, const TDesC16& aUnicode, const TDesC8& aReplacementChar, TFatUtilityFunctions::TOverflowAction aOA);
		static TInt ConvertToUnicodeL(TDes16& aUnicode, const TDesC8& aForeign, TFatUtilityFunctions::TOverflowAction aOA);
		static TBool IsLegalShortNameCharacter (TUint aCharacter);
		};