localisation/localesupport/new_locale_dll/language/share/locl_language.h
changeset 0 a41df078684a
child 15 4122176ea935
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #if !defined __LOCL_LANGUAGE_H__
       
    17 #define __LOCL_LANGUAGE_H__
       
    18 
       
    19 #if !defined(__E32STD_H__)
       
    20 #include <E32std.h>
       
    21 #endif
       
    22 
       
    23 #ifdef _UNICODE
       
    24 #define TLocaleText TText16
       
    25 #else
       
    26 #define TLocaleText TText8
       
    27 #endif
       
    28 
       
    29 class LanguageAspect
       
    30 	{
       
    31 	public:
       
    32 	static const TLanguage Language;
       
    33 	static const TLanguage LanguageDowngrade[3];
       
    34 	static const TDigitType DigitType;
       
    35 	static const TFatUtilityFunctions* const FatUtilityFunctions;
       
    36 	static const TLocaleText * const MsgTable[ELocaleMessages_LastMsg];
       
    37 	static const TLocaleText * const DateSuffixTable[KMaxSuffixes];
       
    38 	static const TLocaleText * const DayTable[KMaxDays];
       
    39 	static const TLocaleText * const DayAbbTable[KMaxDays];
       
    40 	static const TLocaleText * const MonthTable[KMaxMonths];
       
    41 	static const TLocaleText * const MonthAbbTable[KMaxMonths];
       
    42 	static const TLocaleText * const AmPmTable[KMaxAmPms];
       
    43 	};
       
    44 
       
    45 
       
    46 class LoclLanguage
       
    47 	{
       
    48 public:
       
    49 	IMPORT_C static TLanguage Language();
       
    50 	IMPORT_C static const TLanguage* LanguageDowngrade();
       
    51 	IMPORT_C static TDigitType DigitType();	
       
    52 	IMPORT_C static const TFatUtilityFunctions* FatUtilityFunctions();
       
    53 	IMPORT_C static const TLocaleText* const *DateSuffixTable();
       
    54 	IMPORT_C static const TLocaleText* const *DayTable();
       
    55 	IMPORT_C static const TLocaleText* const *DayAbbTable();
       
    56 	IMPORT_C static const TLocaleText* const *MonthTable();
       
    57 	IMPORT_C static const TLocaleText* const *MonthAbbTable();
       
    58 	IMPORT_C static const TLocaleText* const *AmPmTable();
       
    59 	IMPORT_C static const TLocaleText* const *MsgTable();
       
    60 	};
       
    61 
       
    62 #endif  /* __LOCL_LANGUAGE_H__ */
       
    63 
       
    64