|
1 /* |
|
2 * Copyright (c) 2006 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: Resource headers for PIM API Localization plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef PIMPLUGIN_RH |
|
20 #define PIMPLUGIN_RH |
|
21 |
|
22 // --------------------------------------------------------------------------- |
|
23 // PIM_LIST_ARRAY |
|
24 // Array of PIM lists |
|
25 // --------------------------------------------------------------------------- |
|
26 // |
|
27 STRUCT PIM_LIST_ARRAY |
|
28 { |
|
29 /** |
|
30 * Array of lists |
|
31 * @see PIM_LIST |
|
32 */ |
|
33 STRUCT lists[]; |
|
34 } |
|
35 |
|
36 // --------------------------------------------------------------------------- |
|
37 // PIM_LABEL_ARRAY |
|
38 // Localization label array |
|
39 // --------------------------------------------------------------------------- |
|
40 // |
|
41 STRUCT PIM_LABEL_ARRAY |
|
42 { |
|
43 /** |
|
44 * Array of fields |
|
45 * @see PIM_LABEL_PAIR |
|
46 * @see PIM_LABEL_PAIR_WITH_SUBELEMENTS |
|
47 */ |
|
48 STRUCT labels[]; |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // PIM_LIST |
|
53 // PIM list information structure |
|
54 // --------------------------------------------------------------------------- |
|
55 // |
|
56 STRUCT PIM_LIST |
|
57 { |
|
58 /** |
|
59 * Type of the sublist if this is a sublist |
|
60 * @see TPIMLocalizationData |
|
61 */ |
|
62 BYTE list_subtype = 0; |
|
63 |
|
64 /** |
|
65 * Link to the name of the list |
|
66 */ |
|
67 LLINK list_name; |
|
68 |
|
69 /** |
|
70 * Array of fields |
|
71 * @see PIM_LABEL_ARRAY |
|
72 */ |
|
73 LLINK field_array_id; |
|
74 |
|
75 /** |
|
76 * Array of attributes |
|
77 * @see PIM_LABEL_ARRAY |
|
78 */ |
|
79 LLINK attribute_array_id = 0; |
|
80 } |
|
81 |
|
82 // --------------------------------------------------------------------------- |
|
83 // PIM_LABEL_PAIR |
|
84 // Localization label pair |
|
85 // --------------------------------------------------------------------------- |
|
86 // |
|
87 STRUCT PIM_LABEL_PAIR |
|
88 { |
|
89 /** |
|
90 * Label id. Can be field, attribute or array element |
|
91 */ |
|
92 LONG id; |
|
93 |
|
94 /** |
|
95 * Localizaed label |
|
96 */ |
|
97 LTEXT label; |
|
98 |
|
99 /** |
|
100 * Indicates that this struct doesn't have sub elements |
|
101 */ |
|
102 BYTE has_sub_elements = 0; |
|
103 } |
|
104 |
|
105 // --------------------------------------------------------------------------- |
|
106 // PIM_LABEL_PAIR_WITH_SUBELEMENTS |
|
107 // Localization label pair |
|
108 // --------------------------------------------------------------------------- |
|
109 // |
|
110 STRUCT PIM_LABEL_PAIR_WITH_SUBELEMENTS |
|
111 { |
|
112 /** |
|
113 * Label id. Can be field, attribute or array element |
|
114 */ |
|
115 LONG id; |
|
116 |
|
117 /** |
|
118 * Localizaed label |
|
119 */ |
|
120 LTEXT label; |
|
121 |
|
122 /** |
|
123 * Indicates that this struct has sub elements |
|
124 */ |
|
125 BYTE has_sub_elements = 1; |
|
126 |
|
127 /** |
|
128 * Sub-elements if any. |
|
129 */ |
|
130 STRUCT sub_elements[]; |
|
131 } |
|
132 |
|
133 // --------------------------------------------------------------------------- |
|
134 // PIM_SUBELEMENT_LABEL_PAIR |
|
135 // Localization label pair for sub-elements |
|
136 // --------------------------------------------------------------------------- |
|
137 // |
|
138 STRUCT PIM_SUBELEMENT_LABEL_PAIR |
|
139 { |
|
140 /** |
|
141 * Label id. Can be field, attribute or array element |
|
142 */ |
|
143 LONG id; |
|
144 |
|
145 /** |
|
146 * Localizaed label |
|
147 */ |
|
148 LTEXT label; |
|
149 } |
|
150 |
|
151 #endif // PIMPLUGIN_RH |
|
152 |
|
153 // End of file |