56
|
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: This file contains all the resources for the module BTNotif.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
NAME BNOT
|
|
20 |
|
|
21 |
#include <eikon.rsg>
|
|
22 |
|
|
23 |
#include <eikon.rh>
|
|
24 |
|
|
25 |
#include <avkon.rsg>
|
|
26 |
#include <avkon.rh>
|
|
27 |
#include <avkon.mbg>
|
|
28 |
#include <avkon.loc>
|
|
29 |
#include <btnotif.loc>
|
|
30 |
#include "btnotif.hrh"
|
|
31 |
|
|
32 |
RESOURCE RSS_SIGNATURE { }
|
|
33 |
|
|
34 |
RESOURCE TBUF { buf=""; }
|
|
35 |
|
|
36 |
// === ICONS =================================================================
|
|
37 |
|
|
38 |
//----------------------------------------------------
|
|
39 |
// Icon array for BTNOTIF
|
|
40 |
//----------------------------------------------------
|
|
41 |
//
|
|
42 |
RESOURCE AKN_ICON_ARRAY r_btnotif_icons
|
|
43 |
{
|
|
44 |
//This resource is removed because of skinable icon change. The title is still staying here
|
|
45 |
//to prevent intruducing BC break.
|
|
46 |
}
|
|
47 |
|
|
48 |
// === TITLES AND PROMPTS ====================================================
|
|
49 |
|
|
50 |
//----------------------------------------------------
|
|
51 |
// Titles for popup windows
|
|
52 |
//----------------------------------------------------
|
|
53 |
//
|
|
54 |
RESOURCE TBUF r_bt_search_devs_popup_title { buf = qtn_bt_searching_found; }
|
|
55 |
|
|
56 |
RESOURCE TBUF r_bt_found_devs_popup_title { buf = qtn_bt_devices_found; }
|
|
57 |
|
|
58 |
RESOURCE TBUF r_bt_last_seen_devs_popup_title { buf = qtn_bt_last_seen_devices; }
|
|
59 |
|
|
60 |
RESOURCE TBUF r_bt_last_used_devs_popup_title { buf = qtn_bt_last_used_devices; }
|
|
61 |
|
|
62 |
//----------------------------------------------------
|
|
63 |
// Fixed list items
|
|
64 |
//----------------------------------------------------
|
|
65 |
//
|
|
66 |
RESOURCE TBUF r_bt_more_devices_item { buf = qtn_bt_more_devices; }
|
|
67 |
|
|
68 |
//----------------------------------------------------
|
|
69 |
// Prompts for queries
|
|
70 |
//----------------------------------------------------
|
|
71 |
//
|
|
72 |
RESOURCE TBUF r_bt_passkey_prompt { buf = qtn_bt_enter_pk_for_conn; }
|
|
73 |
|
|
74 |
RESOURCE TBUF r_bt_dialog_def_name { buf = qtn_bt_dialog_def_name; }
|
|
75 |
|
|
76 |
RESOURCE TBUF r_bt_authorisation_name { buf = qtn_bt_accept_conn_request; }
|
|
77 |
|
|
78 |
RESOURCE TBUF r_bt_receive_message { buf = qtn_bt_receive_message; }
|
|
79 |
|
|
80 |
RESOURCE TBUF r_bt_receive_message_paired { buf = qtn_bt_receive_message_paired; }
|
|
81 |
|
|
82 |
RESOURCE TBUF r_bt_no_devices_found { buf =qtn_bt_no_devices_found; }
|
|
83 |
//same text than in r_bt_try_again_query
|
|
84 |
|
|
85 |
RESOURCE TBUF r_bt_power_is_off { buf = qtn_bt_is_off; }
|
|
86 |
//same text than in R_BT_POWER_IS_OFF_QUERY
|
|
87 |
|
|
88 |
RESOURCE TBUF r_bt_activate_in_offline { buf= qtn_bt_activate_in_offline; }
|
|
89 |
//same text than in R_BT_ACTIVATE_IN_OFFLINE_QUERY
|
|
90 |
|
|
91 |
RESOURCE TBUF r_bt_is_hidden_java { buf=qtn_bt_is_hidden_java; }
|
|
92 |
|
|
93 |
RESOURCE TBUF r_bt_is_off_java { buf=qtn_bt_is_off_java; }
|
|
94 |
|
|
95 |
RESOURCE TBUF r_bt_is_hidden_java_appname { buf=qtn_bt_is_hidden_java_appname; }
|
|
96 |
|
|
97 |
RESOURCE TBUF r_bt_is_off_java_appname { buf=qtn_bt_is_off_java_appname; }
|
|
98 |
|
|
99 |
RESOURCE TBUF r_bt_turn_bt_off { buf = qtn_bt_dos_query; }
|
|
100 |
|
|
101 |
RESOURCE TBUF r_bt_switch_off_anyway { buf= qtn_bt_switch_off_anyway; }
|
|
102 |
|
|
103 |
//----------------------------------------------------
|
|
104 |
// Headers of the r_bt_is_hidden_java and r_bt_is_off_java queries
|
|
105 |
//----------------------------------------------------
|
|
106 |
RESOURCE TBUF r_bt_is_off_java_header { buf=qtn_bt_is_off_java_header ; }
|
|
107 |
|
|
108 |
RESOURCE TBUF r_bt_is_hidden_java_header { buf=qtn_bt_is_hidden_java_header ; }
|
|
109 |
|
|
110 |
//----------------------------------------------------
|
|
111 |
// Prompts for global notes
|
|
112 |
//----------------------------------------------------
|
|
113 |
//
|
|
114 |
RESOURCE TBUF r_bt_audio_accessory_prompt { buf = qtn_bt_audio_accessory; }
|
|
115 |
|
|
116 |
RESOURCE TBUF r_bt_audio_handset_prompt { buf = qtn_bt_audio_handset; }
|
|
117 |
|
|
118 |
RESOURCE TBUF r_bt_conf_connected_prompt { buf = qtn_bt_conf_connected; }
|
|
119 |
|
|
120 |
RESOURCE TBUF r_bt_conf_disconnected_prompt { buf = qtn_bt_conf_disconnected; }
|
|
121 |
|
|
122 |
RESOURCE TBUF r_bt_conn_closed_prompt { buf = qtn_bt_conn_closed; }
|
|
123 |
|
|
124 |
RESOURCE TBUF r_bt_device_not_avail { buf = qtn_bt_device_not_avail; }
|
|
125 |
|
|
126 |
RESOURCE TBUF r_bt_offline_disabled { buf = qtn_bt_offline_disabled; }
|
|
127 |
//text of R_BT_BUSY
|
|
128 |
RESOURCE TBUF r_bt_busy_text { buf =qtn_bt_busy; }
|
|
129 |
|
|
130 |
RESOURCE TBUF r_ir_not_supported { buf =qtn_ir_not_supported; }
|
|
131 |
|
|
132 |
|
|
133 |
//----------------------------------------------------
|
|
134 |
// Default name array for BTNotif
|
|
135 |
// These names are used if no name is received in inquiry.
|
|
136 |
// Note! The order must match enum TBTDefaultDevNameArrayIndexes
|
|
137 |
// defined in BTNInqUi.cpp.
|
|
138 |
//----------------------------------------------------
|
|
139 |
//
|
|
140 |
RESOURCE ARRAY r_bt_default_device_names
|
|
141 |
{
|
|
142 |
items = {
|
|
143 |
LBUF { txt=qtn_bt_computer; },
|
|
144 |
LBUF { txt=qtn_bt_phone; },
|
|
145 |
LBUF { txt=qtn_bt_audio; },
|
|
146 |
LBUF { txt=qtn_bt_keyboard; },
|
|
147 |
LBUF { txt=qtn_bt_mouse; },
|
|
148 |
LBUF { txt=qtn_bt_printer; },
|
|
149 |
LBUF { txt=qtn_bt_carkit; },
|
|
150 |
LBUF { txt=qtn_bt_dialog_def_name; }
|
|
151 |
};
|
|
152 |
}
|
|
153 |
|
|
154 |
|
|
155 |
// === SOFTKEYS ==============================================================
|
|
156 |
|
|
157 |
//----------------------------------------------------
|
|
158 |
// Softkeys for "Searching devices" wait note
|
|
159 |
//----------------------------------------------------
|
|
160 |
//
|
|
161 |
RESOURCE CBA r_bt_softkeys_empty_cancel
|
|
162 |
{
|
|
163 |
buttons =
|
|
164 |
{
|
|
165 |
CBA_BUTTON {txt="";},
|
|
166 |
CBA_BUTTON {id=EAknSoftkeyCancel; txt = text_softkey_cancel; }
|
|
167 |
};
|
|
168 |
}
|
|
169 |
|
|
170 |
|
|
171 |
//----------------------------------------------------
|
|
172 |
// Softkeys for found devices popup list
|
|
173 |
//----------------------------------------------------
|
|
174 |
//
|
|
175 |
RESOURCE CBA r_bt_softkeys_select_stop
|
|
176 |
{
|
|
177 |
buttons =
|
|
178 |
{
|
|
179 |
CBA_BUTTON {id=EAknSoftkeySelect; txt = text_softkey_select;},
|
|
180 |
CBA_BUTTON {id=EAknSoftkeyCancel; txt = qtn_bt_softkey_stop; },
|
|
181 |
CBA_BUTTON {id=EAknSoftkeySelect; txt = text_softkey_select;}
|
|
182 |
};
|
|
183 |
}
|
|
184 |
|
|
185 |
// === QUERIES ===============================================================
|
|
186 |
|
|
187 |
//----------------------------------------------------
|
|
188 |
// PIN request query
|
|
189 |
//----------------------------------------------------
|
|
190 |
//
|
|
191 |
RESOURCE DIALOG r_bt_enter_passkey_query
|
|
192 |
{
|
|
193 |
flags = EGeneralQueryFlags | EEikDialogFlagVirtualInput ;
|
|
194 |
buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
195 |
items =
|
|
196 |
{
|
|
197 |
DLG_LINE
|
|
198 |
{
|
|
199 |
type = EAknCtQuery;
|
|
200 |
id = EGeneralQuery;
|
|
201 |
control = AVKON_DATA_QUERY
|
|
202 |
{
|
|
203 |
layout = EDataLayout;
|
|
204 |
control = EDWIN
|
|
205 |
{
|
|
206 |
maxlength = KBTPassKeyMaxLength;
|
|
207 |
default_input_mode = EAknEditorNumericInputMode;
|
|
208 |
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
|
|
209 |
avkon_flags = EAknEditorFlagLatinInputModesOnly;
|
|
210 |
};
|
|
211 |
};
|
|
212 |
}
|
|
213 |
};
|
|
214 |
}
|
|
215 |
|
|
216 |
//----------------------------------------------------
|
|
217 |
// OBEX PIN request query
|
|
218 |
//----------------------------------------------------
|
|
219 |
//
|
|
220 |
RESOURCE DIALOG r_bt_obex_passkey_query
|
|
221 |
{
|
|
222 |
flags = EGeneralQueryFlags;
|
|
223 |
buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
224 |
items =
|
|
225 |
{
|
|
226 |
DLG_LINE
|
|
227 |
{
|
|
228 |
type = EAknCtQuery;
|
|
229 |
id = EGeneralQuery;
|
|
230 |
control = AVKON_DATA_QUERY
|
|
231 |
{
|
|
232 |
layout = EDataLayout;
|
|
233 |
label = qtn_bt_enter_obex_pcode;
|
|
234 |
control = EDWIN
|
|
235 |
{
|
|
236 |
maxlength = KBTPassKeyMaxLength;
|
|
237 |
default_input_mode = EAknEditorNumericInputMode;
|
|
238 |
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
|
|
239 |
};
|
|
240 |
};
|
|
241 |
}
|
|
242 |
};
|
|
243 |
}
|
|
244 |
|
|
245 |
//----------------------------------------------------
|
|
246 |
// Query for accepting incoming connections
|
|
247 |
//----------------------------------------------------
|
|
248 |
//
|
|
249 |
RESOURCE DIALOG r_bt_authorisation_query
|
|
250 |
{
|
|
251 |
flags = EGeneralQueryFlags;
|
|
252 |
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
253 |
items =
|
|
254 |
{
|
|
255 |
DLG_LINE
|
|
256 |
{
|
|
257 |
type = EAknCtQuery;
|
|
258 |
id = EGeneralQuery;
|
|
259 |
control = AVKON_CONFIRMATION_QUERY
|
|
260 |
{
|
|
261 |
layout = EConfirmationQueryLayout;
|
|
262 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
263 |
};
|
|
264 |
}
|
|
265 |
};
|
|
266 |
}
|
|
267 |
|
|
268 |
//----------------------------------------------------
|
|
269 |
// If device search has been unsuccessful, the new
|
|
270 |
// search is asked with this query from user.
|
|
271 |
//----------------------------------------------------
|
|
272 |
//
|
|
273 |
RESOURCE DIALOG r_bt_try_again_query
|
|
274 |
{
|
|
275 |
flags = EGeneralQueryFlags;
|
|
276 |
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
277 |
items =
|
|
278 |
{
|
|
279 |
DLG_LINE
|
|
280 |
{
|
|
281 |
type = EAknCtQuery;
|
|
282 |
id = EGeneralQuery;
|
|
283 |
control = AVKON_CONFIRMATION_QUERY
|
|
284 |
{
|
|
285 |
layout = EConfirmationQueryLayout;
|
|
286 |
label = qtn_bt_no_devices_found;
|
|
287 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
288 |
};
|
|
289 |
}
|
|
290 |
};
|
|
291 |
}
|
|
292 |
|
|
293 |
//----------------------------------------------------
|
|
294 |
// Ask BT power mode setting from user
|
|
295 |
//----------------------------------------------------
|
|
296 |
//
|
|
297 |
RESOURCE DIALOG r_bt_power_is_off_query
|
|
298 |
{
|
|
299 |
flags = EGeneralQueryFlags;
|
|
300 |
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
301 |
items =
|
|
302 |
{
|
|
303 |
DLG_LINE
|
|
304 |
{
|
|
305 |
type = EAknCtQuery;
|
|
306 |
id = EGeneralQuery;
|
|
307 |
control = AVKON_CONFIRMATION_QUERY
|
|
308 |
{
|
|
309 |
layout = EConfirmationQueryLayout;
|
|
310 |
label = qtn_bt_is_off;
|
|
311 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
312 |
};
|
|
313 |
}
|
|
314 |
};
|
|
315 |
}
|
|
316 |
|
|
317 |
//----------------------------------------------------
|
|
318 |
// Ask BT power mode setting from user in offline mode
|
|
319 |
//----------------------------------------------------
|
|
320 |
//
|
|
321 |
RESOURCE DIALOG r_bt_activate_in_offline_query
|
|
322 |
{
|
|
323 |
flags = EGeneralQueryFlags;
|
|
324 |
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
325 |
items =
|
|
326 |
{
|
|
327 |
DLG_LINE
|
|
328 |
{
|
|
329 |
type = EAknCtQuery;
|
|
330 |
id = EGeneralQuery;
|
|
331 |
control = AVKON_CONFIRMATION_QUERY
|
|
332 |
{
|
|
333 |
layout = EConfirmationQueryLayout;
|
|
334 |
label = qtn_bt_activate_in_offline;
|
|
335 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
336 |
};
|
|
337 |
}
|
|
338 |
};
|
|
339 |
}
|
|
340 |
|
|
341 |
//----------------------------------------------------
|
|
342 |
// Inform user that data receiving failed because of low memory.
|
|
343 |
//----------------------------------------------------
|
|
344 |
//
|
|
345 |
RESOURCE DIALOG r_memlo_memory_low_data_query
|
|
346 |
{
|
|
347 |
flags = EGeneralQueryFlags;
|
|
348 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
|
|
349 |
items =
|
|
350 |
{
|
|
351 |
DLG_LINE
|
|
352 |
{
|
|
353 |
type = EAknCtQuery;
|
|
354 |
id = EGeneralQuery;
|
|
355 |
control = AVKON_CONFIRMATION_QUERY
|
|
356 |
{
|
|
357 |
layout = EConfirmationQueryLayout;
|
|
358 |
label = qtn_memlo_memory_low_data;
|
|
359 |
animation = R_QGN_NOTE_ERROR_ANIM;
|
|
360 |
};
|
|
361 |
}
|
|
362 |
};
|
|
363 |
}
|
|
364 |
|
|
365 |
//----------------------------------------------------
|
|
366 |
// Inform user that data receiving to MMC failed because of low memory.
|
|
367 |
//----------------------------------------------------
|
|
368 |
//
|
|
369 |
RESOURCE DIALOG r_memlo_mmc_memory_low_data_query
|
|
370 |
{
|
|
371 |
flags = EGeneralQueryFlags;
|
|
372 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
|
|
373 |
items =
|
|
374 |
{
|
|
375 |
DLG_LINE
|
|
376 |
{
|
|
377 |
type = EAknCtQuery;
|
|
378 |
id = EGeneralQuery;
|
|
379 |
control = AVKON_CONFIRMATION_QUERY
|
|
380 |
{
|
|
381 |
layout = EConfirmationQueryLayout;
|
|
382 |
label = qtn_memlo_mmc_memory_low_data;
|
|
383 |
animation = R_QGN_NOTE_ERROR_ANIM;
|
|
384 |
};
|
|
385 |
}
|
|
386 |
};
|
|
387 |
}
|
|
388 |
|
|
389 |
RESOURCE DIALOG r_bt_passkey_query
|
|
390 |
{
|
|
391 |
flags = EGeneralQueryFlags;
|
|
392 |
buttons = R_AVKON_SOFTKEYS_CANCEL;
|
|
393 |
items =
|
|
394 |
{
|
|
395 |
DLG_LINE
|
|
396 |
{
|
|
397 |
type = EAknCtQuery;
|
|
398 |
id = EGeneralQuery;
|
|
399 |
control = AVKON_CONFIRMATION_QUERY
|
|
400 |
{
|
|
401 |
layout = EConfirmationQueryLayout;
|
|
402 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
403 |
};
|
|
404 |
}
|
|
405 |
};
|
|
406 |
}
|
|
407 |
|
|
408 |
// === NOTES =================================================================
|
|
409 |
|
|
410 |
//----------------------------------------------------
|
|
411 |
// Wait note right after bluetooth device search
|
|
412 |
// has been launched.
|
|
413 |
//----------------------------------------------------
|
|
414 |
//
|
|
415 |
RESOURCE DIALOG r_bt_searching_devices_note
|
|
416 |
{
|
|
417 |
flags = EAknWaitNoteFlags | EEikDialogFlagWait;
|
|
418 |
buttons = r_bt_softkeys_empty_cancel;
|
|
419 |
items =
|
|
420 |
{
|
|
421 |
DLG_LINE
|
|
422 |
{
|
|
423 |
type = EAknCtNote;
|
|
424 |
id = EBTNotifSearchingDevicesNote;
|
|
425 |
control = AVKON_NOTE
|
|
426 |
{
|
|
427 |
layout = EWaitLayout;
|
|
428 |
singular_label = qtn_bt_searching;
|
|
429 |
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
|
|
430 |
};
|
|
431 |
}
|
|
432 |
};
|
|
433 |
}
|
|
434 |
|
|
435 |
//----------------------------------------------------
|
|
436 |
// Information note when maximum number of connections
|
|
437 |
// is reached and new one could not be created.
|
|
438 |
//----------------------------------------------------
|
|
439 |
//
|
|
440 |
RESOURCE DIALOG r_bt_busy_note
|
|
441 |
{
|
|
442 |
flags = EAknInformationNoteFlags;
|
|
443 |
buttons = R_AVKON_SOFTKEYS_EMPTY;
|
|
444 |
items =
|
|
445 |
{
|
|
446 |
DLG_LINE
|
|
447 |
{
|
|
448 |
type = EAknCtNote;
|
|
449 |
id = EBTNotifBtBusyNote;
|
|
450 |
control = AVKON_NOTE
|
|
451 |
{
|
|
452 |
layout = EGeneralLayout;
|
|
453 |
singular_label = qtn_bt_busy;
|
|
454 |
animation = R_QGN_NOTE_INFO_ANIM;
|
|
455 |
};
|
|
456 |
}
|
|
457 |
};
|
|
458 |
}
|
|
459 |
|
|
460 |
|
|
461 |
// === ANIMATIONS ============================================================
|
|
462 |
|
|
463 |
//----------------------------------------------------
|
|
464 |
// Animation for r_bt_searching_devices_popuplist
|
|
465 |
//----------------------------------------------------
|
|
466 |
//
|
|
467 |
RESOURCE BMPANIM_DATA r_bt_animation_for_popuplist
|
|
468 |
{
|
|
469 |
frameinterval = 200;
|
|
470 |
playmode = EAknBitmapAnimationPlayModeCycle;
|
|
471 |
bmpfile = btnotif_bitmap_file_data_caging;
|
|
472 |
frames = r_bt_animation_for_popuplist_images;
|
|
473 |
}
|
|
474 |
|
|
475 |
//----------------------------------------------------
|
|
476 |
// Image frames for r_bt_animation_for_popuplist_images
|
|
477 |
//----------------------------------------------------
|
|
478 |
//
|
|
479 |
RESOURCE ARRAY r_bt_animation_for_popuplist_images
|
|
480 |
{
|
|
481 |
items=
|
|
482 |
{
|
|
483 |
BMPANIM_FRAME {bmpid=EMbmBtnotifQgn_note_bt_popup_2; maskid=EMbmBtnotifQgn_note_bt_popup_2_mask; },
|
|
484 |
BMPANIM_FRAME {bmpid=EMbmBtnotifQgn_note_bt_popup; maskid=EMbmBtnotifQgn_note_bt_popup_mask; },
|
|
485 |
BMPANIM_FRAME {bmpid=EMbmBtnotifQgn_note_bt_popup_3; maskid=EMbmBtnotifQgn_note_bt_popup_3_mask; },
|
|
486 |
BMPANIM_FRAME {bmpid=EMbmBtnotifQgn_note_bt_popup; maskid=EMbmBtnotifQgn_note_bt_popup_mask; }
|
|
487 |
};
|
|
488 |
}
|
|
489 |
|
|
490 |
//---------------------------------------------------------------
|
|
491 |
// Prompts for Remote SIM Access Profile notes
|
|
492 |
//----------------------------------------------------------------
|
|
493 |
RESOURCE TBUF r_bt_enter_sap_note { buf = qtn_bt_wait_sap_entering; }
|
|
494 |
|
|
495 |
RESOURCE TBUF r_bt_enter_sap_succeed_note { buf = qtn_bt_sap_entering_succeeded; }
|
|
496 |
|
|
497 |
RESOURCE TBUF r_bt_enter_sap_failed_note { buf = qtn_bt_sap_entering_failed; }
|
|
498 |
|
|
499 |
RESOURCE TBUF r_bt_min_passkey_prompt { buf = qtn_bt_enter_pk_sap; }
|
|
500 |
|
|
501 |
//----------------------------------------------------
|
|
502 |
// Data query "Enter Bluetooth name for your phone"
|
|
503 |
//----------------------------------------------------
|
|
504 |
//
|
|
505 |
RESOURCE DIALOG r_bt_enter_local_name_query
|
|
506 |
{
|
|
507 |
flags = EGeneralQueryFlags;
|
|
508 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
|
|
509 |
items =
|
|
510 |
{
|
|
511 |
DLG_LINE
|
|
512 |
{
|
|
513 |
type = EAknCtQuery;
|
|
514 |
id = EGeneralQuery;
|
|
515 |
control = AVKON_DATA_QUERY
|
|
516 |
{
|
|
517 |
layout = EDataLayout;
|
|
518 |
label = qtn_enter_bt_name;
|
|
519 |
control = EDWIN
|
|
520 |
{
|
|
521 |
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
|
|
522 |
maxlength = KBTUIMaxNameLength;
|
|
523 |
};
|
|
524 |
};
|
|
525 |
}
|
|
526 |
};
|
|
527 |
}
|
|
528 |
// ---------------------------------------------------
|
|
529 |
//
|
|
530 |
// r_bt_generic_message_query
|
|
531 |
//
|
|
532 |
// This is the query blanket used by Generic Message queries.
|
|
533 |
// They are java power and java visibility at the time
|
|
534 |
// of this writing, but probably in the future there will be
|
|
535 |
// others.
|
|
536 |
// ---------------------------------------------------
|
|
537 |
//
|
|
538 |
RESOURCE DIALOG r_bt_generic_message_query
|
|
539 |
{
|
|
540 |
flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
|
|
541 |
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
542 |
items=
|
|
543 |
{
|
|
544 |
DLG_LINE
|
|
545 |
{
|
|
546 |
type = EAknCtPopupHeadingPane;
|
|
547 |
id = EAknMessageQueryHeaderId;
|
|
548 |
control = AVKON_HEADING
|
|
549 |
{
|
|
550 |
};
|
|
551 |
},
|
|
552 |
DLG_LINE
|
|
553 |
{
|
|
554 |
type = EAknCtMessageQuery;
|
|
555 |
id = EAknMessageQueryContentId;
|
|
556 |
control = AVKON_MESSAGE_QUERY
|
|
557 |
{
|
|
558 |
};
|
|
559 |
}
|
|
560 |
};
|
|
561 |
}
|
|
562 |
|
|
563 |
//----------------------------------------------------
|
|
564 |
// r_bt_generic_query
|
|
565 |
//
|
|
566 |
// This is the blanket for all the generic yes/no queries, which
|
|
567 |
// do NOT use message query. This is not only used by CBTNGenericQueryNotifier
|
|
568 |
// but other notifiers such as PinNotifier use also this.
|
|
569 |
//
|
|
570 |
// NOTE: There is no blanket for empty genric message.
|
|
571 |
// It is just based on empty CAknInformationNote.
|
|
572 |
//----------------------------------------------------
|
|
573 |
//
|
|
574 |
RESOURCE DIALOG r_bt_generic_query
|
|
575 |
{
|
|
576 |
flags = EGeneralQueryFlags;
|
|
577 |
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
578 |
items =
|
|
579 |
{
|
|
580 |
DLG_LINE
|
|
581 |
{
|
|
582 |
type = EAknCtQuery;
|
|
583 |
id = EGeneralQuery;
|
|
584 |
control = AVKON_CONFIRMATION_QUERY
|
|
585 |
{
|
|
586 |
layout = EConfirmationQueryLayout;
|
|
587 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
588 |
};
|
|
589 |
}
|
|
590 |
};
|
|
591 |
}
|
|
592 |
|
|
593 |
//----------------------------------------------------
|
|
594 |
// Information note that will be shown when temp
|
|
595 |
// visibility expire.
|
|
596 |
//----------------------------------------------------
|
|
597 |
//
|
|
598 |
RESOURCE TBUF r_bt_hidden_from_others_note
|
|
599 |
{
|
|
600 |
buf = qtn_bt_hidden_from_others;
|
|
601 |
}
|
|
602 |
//----------------------------------------------------
|
|
603 |
// Block devices related items
|
|
604 |
//----------------------------------------------------
|
|
605 |
//
|
|
606 |
RESOURCE TBUF r_bt_block_device_header
|
|
607 |
{
|
|
608 |
buf = qtn_bt_block_device_header;
|
|
609 |
}
|
|
610 |
|
|
611 |
//----------------------------------------------------
|
|
612 |
// Blocking question asked, when the
|
|
613 |
// user is asked about blocking a non-paired device.
|
|
614 |
//----------------------------------------------------
|
|
615 |
//
|
|
616 |
RESOURCE TBUF r_bt_block_device_nohelp
|
|
617 |
{
|
|
618 |
buf= qtn_bt_block_all_conn_attempts;
|
|
619 |
}
|
|
620 |
|
|
621 |
//----------------------------------------------------
|
|
622 |
// Blocking question asked, when the
|
|
623 |
// user is asked about blocking a paired device.
|
|
624 |
//----------------------------------------------------
|
|
625 |
//
|
|
626 |
RESOURCE TBUF r_bt_block_paired_device_nohelp
|
|
627 |
{
|
|
628 |
buf= qtn_bt_block_paired_device;
|
|
629 |
}
|
|
630 |
|
|
631 |
//----------------------------------------------------
|
|
632 |
// Query for incoming pairing request
|
|
633 |
//----------------------------------------------------
|
|
634 |
RESOURCE TBUF r_bt_accept_pairing_request
|
|
635 |
{
|
|
636 |
buf=qtn_bt_accept_pairing_request;
|
|
637 |
}
|
|
638 |
|
|
639 |
//----------------------------------------------------
|
|
640 |
// Information note that will be shown when temp
|
|
641 |
// visibility expire.
|
|
642 |
//----------------------------------------------------
|
|
643 |
//
|
|
644 |
RESOURCE TBUF r_bt_no_device_discovery_voip { buf = qtn_bt_no_device_discovery_voip; }
|
|
645 |
|
|
646 |
//----------------------------------------------------
|
|
647 |
// Information note that will be shown if SIM card
|
|
648 |
// is not available while trying SAP connection.
|
|
649 |
//----------------------------------------------------
|
|
650 |
//
|
|
651 |
|
|
652 |
RESOURCE TBUF r_bt_sap_no_sim_note { buf = qtn_bt_sap_no_sim; }
|
|
653 |
|
|
654 |
//----------------------------------------------------
|
|
655 |
// Information note when maximum number of connections
|
|
656 |
// is reached and new one could not be created.
|
|
657 |
//----------------------------------------------------
|
|
658 |
//
|
|
659 |
RESOURCE DIALOG r_bt_turn_bt_off_note
|
|
660 |
{
|
|
661 |
flags = EGeneralQueryFlags;
|
|
662 |
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
663 |
items =
|
|
664 |
{
|
|
665 |
DLG_LINE
|
|
666 |
{
|
|
667 |
type = EAknCtQuery;
|
|
668 |
id = EGeneralQuery;
|
|
669 |
control = AVKON_CONFIRMATION_QUERY
|
|
670 |
{
|
|
671 |
layout = EConfirmationQueryLayout;
|
|
672 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
673 |
label = qtn_bt_dos_query;
|
|
674 |
};
|
|
675 |
}
|
|
676 |
};
|
|
677 |
}
|
|
678 |
|
|
679 |
|
|
680 |
//---------------------------------------------------
|
|
681 |
// Title for search filter
|
|
682 |
//---------------------------------------------------
|
|
683 |
RESOURCE TBUF r_bt_search_filter_popup_title { buf = qtn_bt_search_for; }
|
|
684 |
|
|
685 |
//----------------------------------------------------
|
|
686 |
//List item text in search filter
|
|
687 |
//----------------------------------------------------
|
|
688 |
RESOURCE TBUF r_bt_search_for_all { buf = qtn_bt_search_for_all; }
|
|
689 |
RESOURCE TBUF r_bt_search_for_phone { buf = qtn_bt_search_for_phone; }
|
|
690 |
RESOURCE TBUF r_bt_search_for_computer { buf = qtn_bt_search_for_computer; }
|
|
691 |
RESOURCE TBUF r_bt_search_for_audio { buf = qtn_bt_search_for_audio; }
|
|
692 |
RESOURCE TBUF r_bt_search_for_input { buf = qtn_bt_search_for_input; }
|
|
693 |
|
|
694 |
//------------------------------------------------------------
|
|
695 |
// query for unblocking selected blocked device
|
|
696 |
//------------------------------------------------------------
|
|
697 |
RESOURCE DIALOG r_bt_unblock_query
|
|
698 |
{
|
|
699 |
flags = EGeneralQueryFlags;
|
|
700 |
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
701 |
items =
|
|
702 |
{
|
|
703 |
DLG_LINE
|
|
704 |
{
|
|
705 |
type = EAknCtQuery;
|
|
706 |
id = EGeneralQuery;
|
|
707 |
control = AVKON_CONFIRMATION_QUERY
|
|
708 |
{
|
|
709 |
layout = EConfirmationLayout;
|
|
710 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
711 |
};
|
|
712 |
}
|
|
713 |
};
|
|
714 |
}
|
|
715 |
|
|
716 |
RESOURCE TBUF r_bt_unblock_device { buf = qtn_bt_unblock_device; }
|
|
717 |
|
|
718 |
//----------------------------------------------------
|
|
719 |
// Information note for AVRCP 1.3 Battery low info
|
|
720 |
//----------------------------------------------------
|
|
721 |
//
|
|
722 |
RESOURCE TBUF r_bt_accessory_low { buf = qtn_bt_accessory_low; }
|
|
723 |
RESOURCE TBUF r_bt_accessory_critical { buf = qtn_bt_accessory_critical; }
|
|
724 |
RESOURCE TBUF r_bt_permanently_on { buf = qtn_bt_permanently_on; }
|
|
725 |
RESOURCE TBUF r_bt_switched_on { buf = qtn_bt_switched_on; }
|
|
726 |
RESOURCE TBUF r_bt_switched_off { buf = qtn_bt_switched_off; }
|
|
727 |
|
|
728 |
//----------------------------------------------------
|
|
729 |
// SSP NumericComparison and PasskeyEntry
|
|
730 |
//----------------------------------------------------
|
|
731 |
//
|
|
732 |
RESOURCE TBUF r_bt_ssp_passkey_comparison_prompt { buf = qtn_bt_simple_passkey_comparison; }
|
|
733 |
RESOURCE TBUF r_bt_ssp_passkey_entry { buf = qtn_bt_simple_passkey_entry; }
|
|
734 |
|
|
735 |
//----------------------------------------------------
|
|
736 |
// Confirmation note "Pairing successfully done with %U"
|
|
737 |
//----------------------------------------------------
|
|
738 |
//
|
|
739 |
RESOURCE TBUF r_bt_succesfully_paired_prompt { buf = qtn_bt_succesfully_paired; }
|
|
740 |
|
|
741 |
//----------------------------------------------------
|
|
742 |
// Error notes of SSP
|
|
743 |
//----------------------------------------------------
|
|
744 |
//
|
|
745 |
RESOURCE TBUF r_bt_pairing_failed_prompt { buf = qtn_bt_pairing_failed; }
|
|
746 |
RESOURCE TBUF r_bt_ssp_busy { buf = qtn_bt_simple_busy; }
|
|
747 |
|
|
748 |
//-----------------------------------------------------------------------------
|
|
749 |
// Confirmation note "Authorise this device to make connections automatically?"
|
|
750 |
//-----------------------------------------------------------------------------
|
|
751 |
//
|
|
752 |
RESOURCE TBUF r_bt_authorization_prompt { buf = qtn_bt_authorisation_query; }
|
|
753 |
|
|
754 |
// End of File
|