Update contrib.
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Implement the dummy charconv plugin CTIS1620aImplementation
20 #include <convgeneratedcpp.h>
21 #include <ecom/implementationproxy.h>
26 const TDesC8& CTIS1620aImplementation::ReplacementForUnconvertibleUnicodeCharacters()
28 return CnvShiftJis::ReplacementForUnconvertibleUnicodeCharacters();
31 TInt CTIS1620aImplementation::ConvertFromUnicode(CCnvCharacterSetConverter::TEndianness /*aDefaultEndiannessOfForeignCharacters*/,
32 const TDesC8& /*aReplacementForUnconvertibleUnicodeCharacters*/, TDes8& /*aForeign*/, const TDesC16& /*aUnicode*/,
33 CCnvCharacterSetConverter::TArrayOfAscendingIndices& /*aIndicesOfUnconvertibleCharacters*/)
38 TInt CTIS1620aImplementation::ConvertToUnicode(CCnvCharacterSetConverter::TEndianness /*aDefaultEndiannessOfForeignCharacters*/,
39 TDes16& /*aUnicode*/, const TDesC8& /*aForeign*/, TInt&, TInt& /*aNumberOfUnconvertibleCharacters*/, TInt& /*aIndexOfFirstByteOfFirstUnconvertibleCharacter*/)
44 TBool CTIS1620aImplementation::IsInThisCharacterSetL(TBool& /*aSetToTrue*/, TInt& /*aConfidenceLevel*/, const TDesC8&)
49 CTIS1620aImplementation* CTIS1620aImplementation::NewL()
51 CTIS1620aImplementation* self = new (ELeave) CTIS1620aImplementation;
56 CTIS1620aImplementation::CTIS1620aImplementation()
58 //default constructor.. do nothing
61 CTIS1620aImplementation::~ CTIS1620aImplementation()
63 //default destructor .. do nothing
66 // THE FOLLOWING FROM ECOM CREATION FUNCTION
68 const TImplementationProxy ImplementationTable[] =
70 IMPLEMENTATION_PROXY_ENTRY(KTIS1620aImplUid, CTIS1620aImplementation::NewL),
71 IMPLEMENTATION_PROXY_ENTRY(KTIS1620bImplUid, CTIS1620bImplementation::NewL)
74 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
76 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
78 return ImplementationTable;