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