|
1 /* |
|
2 * Copyright (c) 2002 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: |
|
15 * This file contains resources for Phonebook.app. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 NAME CPBK // From the product PhoneBooK |
|
22 |
|
23 // INCLUDES |
|
24 #include <pbkconfig.hrh> |
|
25 |
|
26 #include <eikon.rh> |
|
27 #include <eikon.rsg> |
|
28 #include <Avkon.rsg> |
|
29 #include <Avkon.rh> |
|
30 #include <avkon.mbg> //Icon in save query |
|
31 #include <avkon.loc> |
|
32 #include <appinfo.rh> |
|
33 |
|
34 #include <Phonebook.hrh> // Phonebook command IDs |
|
35 #include <Phonebook.loc> // phonebook localization file |
|
36 |
|
37 #include <PbkIcons.hrh> // Phonebook icon mapping |
|
38 #include <AvkonIcons.hrh> |
|
39 #include <DigViewGraph.rh> |
|
40 #include <PbkView.rsg> |
|
41 |
|
42 #if defined(__SCALABLE_ICONS) |
|
43 #define num_aif_icons 1 |
|
44 #define aif_icon_file "z:\\resource\\apps\\phonebook_aif.mif" |
|
45 #else |
|
46 #define num_aif_icons 2 |
|
47 #define aif_icon_file "z:\\resource\\apps\\phonebook_aif.mbm" |
|
48 #endif |
|
49 |
|
50 // RESOURCE DEFINITIONS |
|
51 |
|
52 /** |
|
53 * RSS_SIGNATURE |
|
54 * Standard resource signature. |
|
55 */ |
|
56 RESOURCE RSS_SIGNATURE { } |
|
57 |
|
58 /** |
|
59 * TBUF |
|
60 * Application caption and default filename |
|
61 */ |
|
62 RESOURCE TBUF { buf = qtn_phob_title; } |
|
63 |
|
64 /** |
|
65 * EIK_APP_INFO |
|
66 * Phonebook application info |
|
67 */ |
|
68 RESOURCE EIK_APP_INFO |
|
69 { |
|
70 status_pane = r_phonebook_status_pane; |
|
71 } |
|
72 |
|
73 RESOURCE LOCALISABLE_APP_INFO r_phonebook_localisable_app_info |
|
74 { |
|
75 short_caption = qtn_apps_phonebook_grid; |
|
76 caption_and_icon = |
|
77 CAPTION_AND_ICON_INFO |
|
78 { |
|
79 caption = qtn_apps_phonebook_list; |
|
80 number_of_icons = num_aif_icons; |
|
81 icon_file = aif_icon_file; |
|
82 }; |
|
83 } |
|
84 |
|
85 |
|
86 /** |
|
87 * r_phonebook_system_menu |
|
88 * Phonebook system menu pane. Insert system-wide commands here, e.g. |
|
89 * "General Options". |
|
90 */ |
|
91 RESOURCE MENU_PANE r_phonebook_system_menu |
|
92 { |
|
93 items= |
|
94 { |
|
95 MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; }, |
|
96 MENU_ITEM { command = EPbkCmdExit; txt = qtn_options_exit; } |
|
97 }; |
|
98 } |
|
99 |
|
100 /** |
|
101 * Open me menu. |
|
102 */ |
|
103 RESOURCE MENU_PANE r_phonebook_open_me_menu |
|
104 { |
|
105 items= |
|
106 { |
|
107 MENU_ITEM { command = EPbkCmdOpenMeViews; txt = qtn_phob_opt_entry_open_views; } |
|
108 }; |
|
109 } |
|
110 |
|
111 |
|
112 /** |
|
113 * Phonebook general Confirmation query, prompt loaded from resources |
|
114 * @type general confirmation query |
|
115 */ |
|
116 RESOURCE DIALOG r_pbk_general_confirmation_query |
|
117 { |
|
118 flags= EGeneralQueryFlags; |
|
119 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
120 items= |
|
121 { |
|
122 DLG_LINE |
|
123 { |
|
124 type=EAknCtQuery; |
|
125 id=EGeneralQuery; |
|
126 control=AVKON_CONFIRMATION_QUERY |
|
127 { |
|
128 layout = EConfirmationQueryLayout; |
|
129 }; |
|
130 } |
|
131 }; |
|
132 } |
|
133 |
|
134 /** |
|
135 * Converting to business card for sending wait note. |
|
136 */ |
|
137 RESOURCE DIALOG r_qtn_sm_wait_business_card |
|
138 { |
|
139 flags = EAknProgressNoteFlags; |
|
140 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
141 items = |
|
142 { |
|
143 DLG_LINE |
|
144 { |
|
145 type = EAknCtNote; |
|
146 id = EPbkNoteConvertingToBusinessCard; |
|
147 control = AVKON_NOTE |
|
148 { |
|
149 layout = EWaitLayout; |
|
150 singular_label = qtn_sm_wait_business_card; |
|
151 }; |
|
152 } |
|
153 }; |
|
154 } |
|
155 |
|
156 // Database corrupted note |
|
157 RESOURCE AKN_NOTE_WRAPPER r_pbk_note_database_corrupted |
|
158 { |
|
159 resId = R_AKN_INFORMATION_NOTE_DIALOG_WAIT; |
|
160 timeout = EAknInformationNoteTimeout; |
|
161 tone = EAknNoteDialogConfirmationTone; |
|
162 text = qtn_memlo_database_corrupted; |
|
163 } |
|
164 |
|
165 // Phonebook title pane text resource (used in nameslistappview and groupslistappview) |
|
166 RESOURCE TBUF r_qtn_phob_title { buf = qtn_phob_title; } |
|
167 |
|
168 /** |
|
169 * TITLE_PANE |
|
170 * Phonebook default title pane text |
|
171 */ |
|
172 RESOURCE TITLE_PANE r_phonebook_title_pane |
|
173 { |
|
174 txt = qtn_phob_title; |
|
175 } |
|
176 |
|
177 /** |
|
178 * STATUS_PANE_APP_MODEL |
|
179 * Phonebook default status pane |
|
180 */ |
|
181 RESOURCE STATUS_PANE_APP_MODEL r_phonebook_status_pane |
|
182 { |
|
183 layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL; |
|
184 panes = |
|
185 { |
|
186 SPANE_PANE |
|
187 { |
|
188 id = EEikStatusPaneUidTitle; |
|
189 type = EAknCtTitlePane; |
|
190 resource = r_phonebook_title_pane; |
|
191 } |
|
192 }; |
|
193 } |
|
194 |
|
195 /** |
|
196 * 'Select fields to send' listbox for contact list views. |
|
197 */ |
|
198 RESOURCE LISTBOX r_phonebook_send_options |
|
199 { |
|
200 array_id = r_phonebook_send_options_texts; |
|
201 flags = EAknListBoxMenuList; |
|
202 } |
|
203 |
|
204 |
|
205 /** |
|
206 * 'Select fields to send' listbox texts for contact list views. |
|
207 */ |
|
208 RESOURCE ARRAY r_phonebook_send_options_texts |
|
209 { |
|
210 items = |
|
211 { |
|
212 LBUF { txt=qtn_bcard_send_sms_no_image; }, |
|
213 LBUF { txt=qtn_bcard_send_sms_image; } |
|
214 }; |
|
215 } |
|
216 |
|
217 /** |
|
218 * 'Select fields to send' listbox for contact info view. |
|
219 */ |
|
220 RESOURCE LISTBOX r_pbk_contactinfo_send_options |
|
221 { |
|
222 array_id = r_pbk_contactinfo_send_options_texts; |
|
223 flags = EAknListBoxMenuList; |
|
224 } |
|
225 |
|
226 |
|
227 /** |
|
228 * 'Select fields to send' listbox for contact info view. |
|
229 */ |
|
230 RESOURCE LISTBOX r_pbk_contactinfo_send_options_sms_thumbnail |
|
231 { |
|
232 array_id = r_pbk_contactinfo_send_options_texts_sms_thumbnail; |
|
233 flags = EAknListBoxMenuList; |
|
234 } |
|
235 |
|
236 |
|
237 /** |
|
238 * 'Select fields to send' listbox for contact info view. |
|
239 */ |
|
240 RESOURCE LISTBOX r_pbk_contactinfo_send_options_sms_thumbnail_no_field |
|
241 { |
|
242 array_id = r_pbk_contactinfo_send_options_texts_sms_thumbnail_no_field; |
|
243 flags = EAknListBoxMenuList; |
|
244 } |
|
245 |
|
246 |
|
247 /** |
|
248 * 'Select fields to send' listbox texts for contact info view. |
|
249 */ |
|
250 RESOURCE ARRAY r_pbk_contactinfo_send_options_texts |
|
251 { |
|
252 items = |
|
253 { |
|
254 LBUF { txt=qtn_bcard_choice_send_item_data; }, |
|
255 LBUF { txt=qtn_bcard_choice_send_all_data; } |
|
256 }; |
|
257 } |
|
258 |
|
259 /** |
|
260 * 'Select fields to send' listbox texts for contact info view. |
|
261 */ |
|
262 RESOURCE ARRAY r_pbk_contactinfo_send_options_texts_sms_thumbnail |
|
263 { |
|
264 items = |
|
265 { |
|
266 LBUF { txt=qtn_bcard_choice_send_item_data; }, |
|
267 LBUF { txt=qtn_bcard_send_detail_without_p; }, |
|
268 LBUF { txt=qtn_bcard_send_detail_with_pict; } |
|
269 }; |
|
270 } |
|
271 |
|
272 |
|
273 /** |
|
274 * 'Select fields to send' listbox texts for contact info view. |
|
275 */ |
|
276 RESOURCE ARRAY r_pbk_contactinfo_send_options_texts_sms_thumbnail_no_field |
|
277 { |
|
278 items = |
|
279 { |
|
280 LBUF { txt=qtn_bcard_send_detail_without_p; }, |
|
281 LBUF { txt=qtn_bcard_send_detail_with_pict; } |
|
282 }; |
|
283 } |
|
284 |
|
285 //////////////////////////////////////////////////////////// |
|
286 // Localized strings. |
|
287 // |
|
288 RESOURCE TBUF r_pbk_businesscard_send_heading { buf = qtn_bcard_qtl_send_data; } |
|
289 RESOURCE TBUF r_pbk_businesscard_send_heading_several { buf = qtn_bcard_qtl_send_data_several; } |
|
290 RESOURCE TBUF r_qtn_phob_name_ordering_settings_visibility { buf = qtn_phob_name_ordering_settings_visibility; } |
|
291 |
|
292 //////////////////////////////////////////////////////////// |
|
293 // Postcard contact id attachment file name |
|
294 // |
|
295 RESOURCE TBUF r_pbk_postcard_write_attachment_tag { buf = "X-Nokia-PhonebookId_temp"; } |
|
296 |
|
297 // Application view resources |
|
298 #include "NamesListView.rss" |
|
299 #include "GroupsListView.rss" |
|
300 #include "GroupMembersListView.rss" |
|
301 #include "ContactInfoView.rss" |
|
302 #include "ViewGraph.rss" |
|
303 #include "PbkAiwInterest.rss" |
|
304 |
|
305 // End of File |