charconvfw/charconvplugins/src/shared/charconv_table_utilities.h
changeset 0 1fb32624e06b
equal deleted inserted replaced
-1:000000000000 0:1fb32624e06b
       
     1 /*
       
     2 * Copyright (c) 2005-2009 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: 
       
    15 * Utility functions and constants required to use automatically generated
       
    16 * lookup tables used by alternate charconv conversion implementation
       
    17 * Currently only used by ShiftJis_Shared and ShiftJis_Docomo shared.
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 // Functions used by lookup table driven charconv implementations
       
    25 // to access lookup tables 
       
    26 TUint16 lookupUnicodeChar(TUint aRow, TUint aColumn) ;
       
    27 TUint16 lookupForeignChar(TUint aRow, TUint aColumn) ; 
       
    28 TUint16 getUnicodeUnmappedCharacter(void) ;
       
    29 TUint16 getForeignUnmappedCharacter(void) ;
       
    30 
       
    31 // Offsets into lookup tables used by above functions.
       
    32 const TUint32 KlowestIndex = 0 ;
       
    33 const TUint32 KhighestIndex = 1 ;
       
    34 const TUint32 KFirstDataIndex = 2 ;
       
    35