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