os/textandloc/charconvfw/charconvplugins/src/shared/charconv_table_utilities.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/textandloc/charconvfw/charconvplugins/src/shared/charconv_table_utilities.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +/*
     1.5 +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description: 
    1.18 +* Utility functions and constants required to use automatically generated
    1.19 +* lookup tables used by alternate charconv conversion implementation
    1.20 +* Currently only used by ShiftJis_Shared and ShiftJis_Docomo shared.
    1.21 +*
    1.22 +*/
    1.23 +
    1.24 +
    1.25 +#include <e32std.h>
    1.26 +
    1.27 +// Functions used by lookup table driven charconv implementations
    1.28 +// to access lookup tables 
    1.29 +TUint16 lookupUnicodeChar(TUint aRow, TUint aColumn) ;
    1.30 +TUint16 lookupForeignChar(TUint aRow, TUint aColumn) ; 
    1.31 +TUint16 getUnicodeUnmappedCharacter(void) ;
    1.32 +TUint16 getForeignUnmappedCharacter(void) ;
    1.33 +
    1.34 +// Offsets into lookup tables used by above functions.
    1.35 +const TUint32 KlowestIndex = 0 ;
    1.36 +const TUint32 KhighestIndex = 1 ;
    1.37 +const TUint32 KFirstDataIndex = 2 ;
    1.38 +