sl@0: /* sl@0: * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: This header file defines functions for conversion of pictograph.* sl@0: */ sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: #ifndef PICTOGRAPHOBSERVER_H sl@0: sl@0: #define PICTOGRAPHOBSERVER_H sl@0: sl@0: #include <e32def.h> sl@0: sl@0: #include <e32std.h> sl@0: sl@0: #include <convutils.h> sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: enum TOriginalCharset sl@0: sl@0: { sl@0: sl@0: ECharsetShiftJis, sl@0: sl@0: ECharsetEucJp, sl@0: sl@0: ECharsetOthers sl@0: sl@0: }; sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: _LIT(KLitPictographConverterPath, "z:\\system\\libs\\"); sl@0: #ifndef KFeatureIdJapanesePicto sl@0: #define KFeatureIdJapanesePicto 1079 sl@0: #endif sl@0: _LIT(KLitPictographConverter, "CnvPictographShared.dll"); sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: /** sl@0: sl@0: * It sets parameters to SCharacterSet array. sl@0: sl@0: * It called in ConvertFromUnicode(). sl@0: sl@0: * It makes possible that pictograph conversion is called from other sl@0: sl@0: * conversion plug-ins. sl@0: sl@0: * @since 2.6 sl@0: sl@0: * @param aArrayOfCharacterSets The conversion table array sl@0: sl@0: */ sl@0: sl@0: IMPORT_C void SetCharacterSetsForPictograph( sl@0: sl@0: RArray<CnvUtilities::SCharacterSet>& aArrayOfCharacterSets); sl@0: sl@0: sl@0: sl@0: /** sl@0: sl@0: * It sets parameters to SCharacterSet array. sl@0: sl@0: * It called in ConvertFromUnicode(). sl@0: sl@0: * It makes possible that pictograph conversion is called from other sl@0: sl@0: * conversion plug-ins. sl@0: sl@0: * @since 2.6 sl@0: sl@0: * @param aArrayOfCharacterSets The conversion table array sl@0: sl@0: * @param aOriginalCharset The character set sl@0: sl@0: */ sl@0: sl@0: IMPORT_C void SetCharacterSetsForPictograph( sl@0: sl@0: RArray<CnvUtilities::SCharacterSet>& aArrayOfCharacterSets, sl@0: sl@0: TOriginalCharset aOriginalCharset); sl@0: sl@0: sl@0: sl@0: /** sl@0: sl@0: * It sets parameters to SMethod array. sl@0: sl@0: * It called in ConvertToUnicode(). sl@0: sl@0: * It makes possible that pictograph conversion is called from other sl@0: sl@0: * conversion plug-ins. sl@0: sl@0: * @since 2.6 sl@0: sl@0: * @param aArrayOfMethods The conversion table array sl@0: sl@0: * @param aOriginalCharset The character set sl@0: sl@0: */ sl@0: sl@0: IMPORT_C void SetMethodsForPictograph( sl@0: sl@0: RArray<CnvUtilities::SMethod>& aArrayOfMethods, TOriginalCharset aOriginalCharset); sl@0: sl@0: sl@0: sl@0: /** sl@0: sl@0: * It sets parameters to SState array. sl@0: sl@0: * It called in ConvertToUnicode(). sl@0: sl@0: * It makes possible that pictograph conversion is called from other sl@0: sl@0: * conversion plug-ins. sl@0: sl@0: * @since 2.6 sl@0: sl@0: * @param aArrayOfMethods The conversion table array sl@0: sl@0: */ sl@0: sl@0: IMPORT_C void SetStatesForPictograph(RArray<CnvUtilities::SState>& aArrayOfStates); sl@0: sl@0: sl@0: sl@0: #endif // PICTOGRAPHOBSERVER_H sl@0: