Update contrib.
1 // Copyright (c) 2005-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 "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
18 #include "t_cputils_convdatastruct.h"
24 IMPORT_C static void ConvertFromUnicodeL(TDes8& aForeign, const TDesC16& aUnicode);
25 IMPORT_C static TInt ConvertFromUnicodeL(TDes8& aForeign, const TDesC16& aUnicode, TBool leaveWhenOverflow /*when overflow, ETrue: leave; EFalse: truncate*/);
26 IMPORT_C static void ConvertToUnicodeL(TDes16& aUnicode, const TDesC8& aForeign);
27 IMPORT_C static TInt ConvertToUnicodeL(TDes16& aUnicode, const TDesC8& aForeign, TBool leaveWhenOverflow /*when overflow, ETrue: leave; EFalse: truncate*/);
28 IMPORT_C static TBool IsLegalShortNameCharacter (TUint aCharacter);