|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: This header file defines functions for conversion of pictograph. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 #ifndef PICTOGRAPHOBSERVER_H |
|
27 #define PICTOGRAPHOBSERVER_H |
|
28 #include <e32def.h> |
|
29 #include <e32std.h> |
|
30 #include <convutils.h> |
|
31 |
|
32 |
|
33 enum TOriginalCharset |
|
34 { |
|
35 ECharsetShiftJis, |
|
36 ECharsetEucJp, |
|
37 ECharsetOthers |
|
38 }; |
|
39 |
|
40 |
|
41 _LIT(KLitPictographConverterPath, "z:\\system\\libs\\"); |
|
42 _LIT(KLitPictographConverter, "CnvPictographShared.dll"); |
|
43 |
|
44 |
|
45 |
|
46 /** |
|
47 * It sets parameters to SCharacterSet array. |
|
48 * It called in ConvertFromUnicode(). |
|
49 * It makes possible that pictograph conversion is called from other |
|
50 * conversion plug-ins. |
|
51 * @since 2.6 |
|
52 * @param aArrayOfCharacterSets The conversion table array |
|
53 */ |
|
54 IMPORT_C void SetCharacterSetsForPictograph( |
|
55 RArray<CnvUtilities::SCharacterSet>& aArrayOfCharacterSets); |
|
56 |
|
57 /** |
|
58 * It sets parameters to SCharacterSet array. |
|
59 * It called in ConvertFromUnicode(). |
|
60 * It makes possible that pictograph conversion is called from other |
|
61 * conversion plug-ins. |
|
62 * @since 2.6 |
|
63 * @param aArrayOfCharacterSets The conversion table array |
|
64 * @param aOriginalCharset The character set |
|
65 */ |
|
66 IMPORT_C void SetCharacterSetsForPictograph( |
|
67 RArray<CnvUtilities::SCharacterSet>& aArrayOfCharacterSets, |
|
68 TOriginalCharset aOriginalCharset); |
|
69 |
|
70 /** |
|
71 * It sets parameters to SMethod array. |
|
72 * It called in ConvertToUnicode(). |
|
73 * It makes possible that pictograph conversion is called from other |
|
74 * conversion plug-ins. |
|
75 * @since 2.6 |
|
76 * @param aArrayOfMethods The conversion table array |
|
77 * @param aOriginalCharset The character set |
|
78 */ |
|
79 IMPORT_C void SetMethodsForPictograph( |
|
80 RArray<CnvUtilities::SMethod>& aArrayOfMethods, TOriginalCharset aOriginalCharset); |
|
81 |
|
82 /** |
|
83 * It sets parameters to SState array. |
|
84 * It called in ConvertToUnicode(). |
|
85 * It makes possible that pictograph conversion is called from other |
|
86 * conversion plug-ins. |
|
87 * @since 2.6 |
|
88 * @param aArrayOfMethods The conversion table array |
|
89 */ |
|
90 IMPORT_C void SetStatesForPictograph(RArray<CnvUtilities::SState>& aArrayOfStates); |
|
91 |
|
92 #endif // PICTOGRAPHOBSERVER_H |