charconvfw/charconvplugins/src/shared/PictographObserver.h
changeset 0 1fb32624e06b
equal deleted inserted replaced
-1:000000000000 0:1fb32624e06b
       
     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 "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 
       
    27 
       
    28 
       
    29 #ifndef PICTOGRAPHOBSERVER_H
       
    30 
       
    31 #define PICTOGRAPHOBSERVER_H
       
    32 
       
    33 #include <e32def.h>
       
    34 
       
    35 #include <e32std.h>
       
    36 
       
    37 #include <convutils.h>
       
    38 
       
    39 
       
    40 
       
    41 
       
    42 
       
    43 enum TOriginalCharset
       
    44 
       
    45     {
       
    46 
       
    47     ECharsetShiftJis,
       
    48 
       
    49     ECharsetEucJp,
       
    50 
       
    51     ECharsetOthers
       
    52 
       
    53     };
       
    54 
       
    55 
       
    56 
       
    57 
       
    58 
       
    59 _LIT(KLitPictographConverterPath, "z:\\system\\libs\\");
       
    60 #ifndef KFeatureIdJapanesePicto
       
    61 #define KFeatureIdJapanesePicto 1079
       
    62 #endif
       
    63 _LIT(KLitPictographConverter, "CnvPictographShared.dll");
       
    64 
       
    65 
       
    66 
       
    67 
       
    68 
       
    69 
       
    70 
       
    71 /**
       
    72 
       
    73 * It sets parameters to SCharacterSet array.
       
    74 
       
    75 * It called in ConvertFromUnicode().
       
    76 
       
    77 * It makes possible that pictograph conversion is called from other
       
    78 
       
    79 * conversion plug-ins.
       
    80 
       
    81 * @since 2.6
       
    82 
       
    83 * @param aArrayOfCharacterSets The conversion table array
       
    84 
       
    85 */
       
    86 
       
    87 IMPORT_C void SetCharacterSetsForPictograph(
       
    88 
       
    89     RArray<CnvUtilities::SCharacterSet>& aArrayOfCharacterSets);
       
    90 
       
    91 
       
    92 
       
    93 /**
       
    94 
       
    95 * It sets parameters to SCharacterSet array.
       
    96 
       
    97 * It called in ConvertFromUnicode().
       
    98 
       
    99 * It makes possible that pictograph conversion is called from other
       
   100 
       
   101 * conversion plug-ins.
       
   102 
       
   103 * @since 2.6
       
   104 
       
   105 * @param aArrayOfCharacterSets The conversion table array
       
   106 
       
   107 * @param aOriginalCharset The character set
       
   108 
       
   109 */
       
   110 
       
   111 IMPORT_C void SetCharacterSetsForPictograph(
       
   112 
       
   113     RArray<CnvUtilities::SCharacterSet>& aArrayOfCharacterSets,
       
   114 
       
   115     TOriginalCharset aOriginalCharset);
       
   116 
       
   117 
       
   118 
       
   119 /**
       
   120 
       
   121 * It sets parameters to SMethod array.
       
   122 
       
   123 * It called in ConvertToUnicode().
       
   124 
       
   125 * It makes possible that pictograph conversion is called from other
       
   126 
       
   127 * conversion plug-ins.
       
   128 
       
   129 * @since 2.6
       
   130 
       
   131 * @param aArrayOfMethods The conversion table array
       
   132 
       
   133 * @param aOriginalCharset The character set
       
   134 
       
   135 */
       
   136 
       
   137 IMPORT_C void SetMethodsForPictograph(
       
   138 
       
   139     RArray<CnvUtilities::SMethod>& aArrayOfMethods, TOriginalCharset aOriginalCharset);
       
   140 
       
   141 
       
   142 
       
   143 /**
       
   144 
       
   145 * It sets parameters to SState array.
       
   146 
       
   147 * It called in ConvertToUnicode().
       
   148 
       
   149 * It makes possible that pictograph conversion is called from other
       
   150 
       
   151 * conversion plug-ins.
       
   152 
       
   153 * @since 2.6
       
   154 
       
   155 * @param aArrayOfMethods The conversion table array
       
   156 
       
   157 */
       
   158 
       
   159 IMPORT_C void SetStatesForPictograph(RArray<CnvUtilities::SState>& aArrayOfStates);
       
   160 
       
   161 
       
   162 
       
   163 #endif // PICTOGRAPHOBSERVER_H
       
   164