lafagnosticuifoundation/uigraphicsutils/tulinc/languagespecificnumberconverter.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2006-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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef LANGUAGESPECIFICNUMBERCONVERTER_H
       
    21 #define LANGUAGESPECIFICNUMBERCONVERTER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32cmn.h>
       
    25 
       
    26 /*
       
    27 LanguageSpecificNumberConverter API offers methods for converting
       
    28 
       
    29 - European digits to Arabic-Indic, Eastern Arabic-Indic, Devanagari or Thai 
       
    30   digits based on existing digit type setting.
       
    31 - Arabic-Indic, Eastern Arabic-Indic and Devanagari digits to European digits.
       
    32 
       
    33 API also offers method for checking if conversion of digits needed.
       
    34 All methods are static.
       
    35 
       
    36 @internalComponent
       
    37 @released 
       
    38 */
       
    39 class LanguageSpecificNumberConverter
       
    40     {
       
    41 public:
       
    42     static void Convert(TDes &aDes);
       
    43     static void ConvertToWesternNumbers(TDes &aDes);
       
    44     static TBool IsConversionNeeded();
       
    45     };
       
    46 
       
    47 #endif      // LANGUAGESPECIFICNUMBERCONVERTER_H
       
    48             
       
    49 // End of File