|
1 /* |
|
2 * Copyright (c) 2004-2007 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 file for PIM API / Contact lists |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 NAME PIMC |
|
22 |
|
23 // INTERNAL INCLUDES |
|
24 #include "pimcontact.h" |
|
25 #include "PIMPlugin.rh" |
|
26 |
|
27 // EXTERNAL INCLUDES |
|
28 #include <uikon.rh> |
|
29 #include <pimcm.loc> |
|
30 |
|
31 RESOURCE RSS_SIGNATURE { } |
|
32 |
|
33 // RESOURCE DEFINITIONS |
|
34 // --------------------------------------------------------------------------- |
|
35 // R_PIM_CNT_LISTS |
|
36 // This resource structure holds information about event lists and labels |
|
37 // associated to each list. |
|
38 // |
|
39 // @see PIM_LIST |
|
40 // @see PIM_LABEL_ARRAY |
|
41 // @see PIM_ARRAY_ELEMENT_LABEL_ARRAY |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 RESOURCE PIM_LIST_ARRAY r_pim_cnt_lists |
|
45 { |
|
46 lists = |
|
47 { |
|
48 // Default on-device contact list |
|
49 PIM_LIST |
|
50 { |
|
51 list_name = r_pim_cnt_listname; |
|
52 field_array_id = r_pim_cnt_fields; |
|
53 attribute_array_id = r_pim_cnt_attributes; |
|
54 } |
|
55 }; |
|
56 } |
|
57 |
|
58 // --------------------------------------------------------------------------- |
|
59 // R_PIM_CNT_FIELDS |
|
60 // Array of labels associated to contact fields. Fields may contain sub-elements |
|
61 // such as array elements. Those have to be presented in a different structure |
|
62 // |
|
63 // @see PIM_LABEL_PAIR |
|
64 // @see PIM_LABEL_PAIR_WITH_SUBELEMENTS |
|
65 // --------------------------------------------------------------------------- |
|
66 // |
|
67 RESOURCE PIM_LABEL_ARRAY r_pim_cnt_fields |
|
68 { |
|
69 labels = |
|
70 { |
|
71 PIM_LABEL_PAIR |
|
72 { |
|
73 id = EPIMContactPhoto; |
|
74 label = qtn_jpim_cnt_field_photo; |
|
75 }, |
|
76 PIM_LABEL_PAIR |
|
77 { |
|
78 id = EPIMContactFormattedName; |
|
79 label = qtn_jpim_cnt_field_formattedname; |
|
80 }, |
|
81 PIM_LABEL_PAIR |
|
82 { |
|
83 id = EPIMContactNickname; |
|
84 label = qtn_jpim_cnt_field_nickname; |
|
85 }, |
|
86 PIM_LABEL_PAIR |
|
87 { |
|
88 id = EPIMContactTel; |
|
89 label = qtn_jpim_cnt_field_tel; |
|
90 }, |
|
91 PIM_LABEL_PAIR |
|
92 { |
|
93 id = EPIMContactEmail; |
|
94 label = qtn_jpim_cnt_field_email; |
|
95 }, |
|
96 PIM_LABEL_PAIR |
|
97 { |
|
98 id = EPIMContactNote; |
|
99 label = qtn_jpim_cnt_field_note; |
|
100 }, |
|
101 PIM_LABEL_PAIR |
|
102 { |
|
103 id = EPIMContactClass; |
|
104 label = qtn_jpim_cnt_field_class; |
|
105 }, |
|
106 PIM_LABEL_PAIR |
|
107 { |
|
108 id = EPIMContactUid; |
|
109 label = qtn_jpim_cnt_field_uid; |
|
110 }, |
|
111 PIM_LABEL_PAIR |
|
112 { |
|
113 id = EPIMContactRevision; |
|
114 label = qtn_jpim_cnt_field_revision; |
|
115 }, |
|
116 PIM_LABEL_PAIR |
|
117 { |
|
118 id = EPIMContactOrg; |
|
119 label = qtn_jpim_cnt_field_org; |
|
120 }, |
|
121 PIM_LABEL_PAIR |
|
122 { |
|
123 id = EPIMContactBirthday; |
|
124 label = qtn_jpim_cnt_field_birthday; |
|
125 }, |
|
126 |
|
127 PIM_LABEL_PAIR |
|
128 { |
|
129 id = EPIMContactTitle; |
|
130 label = qtn_jpim_cnt_field_title; |
|
131 }, |
|
132 PIM_LABEL_PAIR |
|
133 { |
|
134 id = EPIMContactUrl; |
|
135 label = qtn_jpim_cnt_field_url; |
|
136 }, |
|
137 PIM_LABEL_PAIR_WITH_SUBELEMENTS |
|
138 { |
|
139 id = EPIMContactAddr; |
|
140 label = qtn_jpim_cnt_field_addr; |
|
141 sub_elements = |
|
142 { |
|
143 PIM_SUBELEMENT_LABEL_PAIR |
|
144 { |
|
145 id = EPIMContactAddrPoBox; |
|
146 label = qtn_jpim_cnt_addr_pobox; |
|
147 }, |
|
148 PIM_SUBELEMENT_LABEL_PAIR |
|
149 { |
|
150 id = EPIMContactAddrExtra; |
|
151 label = qtn_jpim_cnt_addr_extra; |
|
152 }, |
|
153 PIM_SUBELEMENT_LABEL_PAIR |
|
154 { |
|
155 id = EPIMContactAddrStreet; |
|
156 label = qtn_jpim_cnt_addr_street; |
|
157 }, |
|
158 PIM_SUBELEMENT_LABEL_PAIR |
|
159 { |
|
160 id = EPIMContactAddrLocality; |
|
161 label = qtn_jpim_cnt_addr_locality; |
|
162 }, |
|
163 PIM_SUBELEMENT_LABEL_PAIR |
|
164 { |
|
165 id = EPIMContactAddrRegion; |
|
166 label = qtn_jpim_cnt_addr_region; |
|
167 }, |
|
168 PIM_SUBELEMENT_LABEL_PAIR |
|
169 { |
|
170 id = EPIMContactAddrPostalCode; |
|
171 label = qtn_jpim_cnt_addr_postalcode; |
|
172 }, |
|
173 PIM_SUBELEMENT_LABEL_PAIR |
|
174 { |
|
175 id = EPIMContactAddrCountry; |
|
176 label = qtn_jpim_cnt_addr_country; |
|
177 } |
|
178 }; |
|
179 }, |
|
180 PIM_LABEL_PAIR_WITH_SUBELEMENTS |
|
181 { |
|
182 id = EPIMContactName; |
|
183 label = qtn_jpim_cnt_field_name; |
|
184 sub_elements = |
|
185 { |
|
186 PIM_SUBELEMENT_LABEL_PAIR |
|
187 { |
|
188 id = EPIMContactNameFamily; |
|
189 label = qtn_jpim_cnt_name_family; |
|
190 }, |
|
191 PIM_SUBELEMENT_LABEL_PAIR |
|
192 { |
|
193 id = EPIMContactNameGiven; |
|
194 label = qtn_jpim_cnt_name_given; |
|
195 }, |
|
196 PIM_SUBELEMENT_LABEL_PAIR |
|
197 { |
|
198 id = EPIMContactNameOther; |
|
199 label = qtn_jpim_cnt_name_other; |
|
200 }, |
|
201 PIM_SUBELEMENT_LABEL_PAIR |
|
202 { |
|
203 id = EPIMContactNamePrefix; |
|
204 label = qtn_jpim_cnt_name_prefix; |
|
205 }, |
|
206 PIM_SUBELEMENT_LABEL_PAIR |
|
207 { |
|
208 id = EPIMContactNameSuffix; |
|
209 label = qtn_jpim_cnt_name_suffix; |
|
210 }, |
|
211 PIM_SUBELEMENT_LABEL_PAIR |
|
212 { |
|
213 id = EPIMContactExtFamilyNameReading; |
|
214 label = qtn_jpim_cnt_name_reading_family; |
|
215 }, |
|
216 PIM_SUBELEMENT_LABEL_PAIR |
|
217 { |
|
218 id = EPIMContactExtGivenNameReading; |
|
219 label = qtn_jpim_cnt_name_reading_given; |
|
220 } |
|
221 }; |
|
222 }, |
|
223 PIM_LABEL_PAIR |
|
224 { |
|
225 id = EPIMContactExtDtmf; |
|
226 label = qtn_jpim_cnt_field_extdtmf; |
|
227 }, |
|
228 PIM_LABEL_PAIR |
|
229 { |
|
230 id = EPIMContactExtDepartment; |
|
231 label = qtn_jpim_cnt_field_extdepartment; |
|
232 }, |
|
233 PIM_LABEL_PAIR |
|
234 { |
|
235 id = EPIMContactExtAssistantName; |
|
236 label = qtn_jpim_cnt_field_extasstname; |
|
237 }, |
|
238 PIM_LABEL_PAIR |
|
239 { |
|
240 id = EPIMContactExtSpouse; |
|
241 label = qtn_jpim_cnt_field_extspouse; |
|
242 }, |
|
243 PIM_LABEL_PAIR |
|
244 { |
|
245 id = EPIMContactExtChildren; |
|
246 label = qtn_jpim_cnt_field_extchildren; |
|
247 }, |
|
248 PIM_LABEL_PAIR |
|
249 { |
|
250 id = EPIMContactExtWvUserId; |
|
251 label = qtn_jpim_cnt_field_extwvid; |
|
252 }, |
|
253 PIM_LABEL_PAIR |
|
254 { |
|
255 id = EPIMContactExtSip; |
|
256 label = qtn_jpim_cnt_field_extsip; |
|
257 }, |
|
258 PIM_LABEL_PAIR |
|
259 { |
|
260 id = EPIMContactExtVoip; |
|
261 label = qtn_jpim_cnt_field_extvoip; |
|
262 }, |
|
263 PIM_LABEL_PAIR |
|
264 { |
|
265 id = EPIMContactExtAnniversary; |
|
266 label = qtn_jpim_cnt_field_extanniv; |
|
267 }, |
|
268 PIM_LABEL_PAIR |
|
269 { |
|
270 id = EPIMContactExtPTT; |
|
271 label = qtn_jpim_cnt_field_extptt; |
|
272 }, |
|
273 PIM_LABEL_PAIR |
|
274 { |
|
275 id = EPIMContactExtSWIS; |
|
276 label = qtn_jpim_cnt_field_extshareview; |
|
277 } |
|
278 }; |
|
279 } |
|
280 |
|
281 // --------------------------------------------------------------------------- |
|
282 // R_PIM_CNT_ATTRIBUTES |
|
283 // Array of labels associated to contact attributes |
|
284 // |
|
285 // @see PIM_LABEL_PAIR |
|
286 // --------------------------------------------------------------------------- |
|
287 // |
|
288 RESOURCE PIM_LABEL_ARRAY r_pim_cnt_attributes |
|
289 { |
|
290 labels = |
|
291 { |
|
292 PIM_LABEL_PAIR |
|
293 { |
|
294 id = EPIMContactAttrAsst; |
|
295 label = qtn_jpim_cnt_attr_asst; |
|
296 }, |
|
297 PIM_LABEL_PAIR |
|
298 { |
|
299 id = EPIMContactAttrAuto; |
|
300 label = qtn_jpim_cnt_attr_auto; |
|
301 }, |
|
302 PIM_LABEL_PAIR |
|
303 { |
|
304 id = EPIMContactAttrFax; |
|
305 label = qtn_jpim_cnt_attr_fax; |
|
306 }, |
|
307 PIM_LABEL_PAIR |
|
308 { |
|
309 id = EPIMContactAttrHome; |
|
310 label = qtn_jpim_cnt_attr_home; |
|
311 }, |
|
312 PIM_LABEL_PAIR |
|
313 { |
|
314 id = EPIMContactAttrMobile; |
|
315 label = qtn_jpim_cnt_attr_mobile; |
|
316 }, |
|
317 PIM_LABEL_PAIR |
|
318 { |
|
319 id = EPIMContactAttrOther; |
|
320 label = qtn_jpim_cnt_attr_other; |
|
321 }, |
|
322 PIM_LABEL_PAIR |
|
323 { |
|
324 id = EPIMContactAttrPager; |
|
325 label = qtn_jpim_cnt_attr_pager; |
|
326 }, |
|
327 PIM_LABEL_PAIR |
|
328 { |
|
329 id = EPIMContactAttrPreferred; |
|
330 label = qtn_jpim_cnt_attr_preferred; |
|
331 }, |
|
332 PIM_LABEL_PAIR |
|
333 { |
|
334 id = EPIMContactAttrSms; |
|
335 label = qtn_jpim_cnt_attr_sms; |
|
336 }, |
|
337 PIM_LABEL_PAIR |
|
338 { |
|
339 id = EPIMContactAttrWork; |
|
340 label = qtn_jpim_cnt_attr_work; |
|
341 }, |
|
342 PIM_LABEL_PAIR |
|
343 { |
|
344 id = EPIMContactAttrExtVideoCall; |
|
345 label = qtn_jpim_cnt_attr_video; |
|
346 } |
|
347 }; |
|
348 } |
|
349 |
|
350 // --------------------------------------------------------------------------- |
|
351 // String resources |
|
352 // --------------------------------------------------------------------------- |
|
353 // |
|
354 RESOURCE LBUF r_pim_cnt_listname { txt = qtn_jpim_cnt_listname; } |
|
355 |
|
356 // End of File |