|
1 /* |
|
2 * Copyright (c) 2002-2004 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: Contains definitions for structures used in Top Character Set |
|
15 * resource files. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __TOPCHARACTERSET_RH__ |
|
22 #define __TOPCHARACTERSET_RH__ |
|
23 |
|
24 |
|
25 // INCLUDES |
|
26 #include "CharacterSet.hrh" // Enumerations |
|
27 |
|
28 // STRUCTURE DEFINITIONS |
|
29 |
|
30 // ----------------------------------------------------------------------------- |
|
31 // TOP_CHARACTER_SET |
|
32 // Structure for defining the top character sets for a particular language variant. |
|
33 // The top character set is used first in the auto detect function. If the characters |
|
34 // can be detected from this set, then auto detect stops; otherwise auto detect will |
|
35 // continue with the next character set. If the characters can be detected from this |
|
36 // set, auto detect stops; otherwise auto detect will continue with the remaining |
|
37 // character sets that is provided by the system. Note: the bigger these lists, the |
|
38 // longer the auto detect function. |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 STRUCT TOP_CHARACTER_SET |
|
42 { |
|
43 LONG id_top_character_set[]; // array of the top character set IDs |
|
44 LONG id_next_character_set[]; // array of the next character set IDs |
|
45 } |
|
46 |
|
47 |
|
48 // ----------------------------------------------------------------------------- |
|
49 // LANGUAGE_SET |
|
50 // Structure definition for a set of languages supported on the device. |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 STRUCT LANGUAGE_SET |
|
54 { |
|
55 LONG language_set_id[]; |
|
56 } |
|
57 |
|
58 // ----------------------------------------------------------------------------- |
|
59 // CHARACTER_SET |
|
60 // Structure definition character encoding |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 STRUCT CHARACTER_SET_ENCODING |
|
64 { |
|
65 LONG character_set_id[]; |
|
66 } |
|
67 |
|
68 #endif // __TOPCHARACTERSET_RH__ |
|
69 |
|
70 |
|
71 // End of File |