1 |
|
2 |
|
3 // RESOURCE IDENTIFIER |
|
4 NAME GST |
|
5 |
|
6 // INCLUDES |
|
7 |
|
8 #include <eikon.rh> |
|
9 #include <avkon.rsg> |
|
10 #include <avkon.rh> |
|
11 #include <avkon.mbg> |
|
12 //#include "VoIPTest.hrh" |
|
13 |
|
14 #define KWidth 176 |
|
15 #define KHeight 100 |
|
16 #define KMaxLength 256 |
|
17 |
|
18 |
|
19 // --------------------------------------------------------- |
|
20 // |
|
21 // Define the resource file signature |
|
22 // This resource should be empty. |
|
23 // |
|
24 // --------------------------------------------------------- |
|
25 // |
|
26 RESOURCE RSS_SIGNATURE |
|
27 { |
|
28 } |
|
29 |
|
30 // --------------------------------------------------------- |
|
31 // |
|
32 // Default Document Name |
|
33 // |
|
34 // --------------------------------------------------------- |
|
35 // |
|
36 RESOURCE TBUF r_default_document_name |
|
37 { |
|
38 buf=""; |
|
39 } |
|
40 |
|
41 // --------------------------------------------------------- |
|
42 // |
|
43 // Define default menu and CBA key. |
|
44 // |
|
45 // --------------------------------------------------------- |
|
46 // |
|
47 RESOURCE EIK_APP_INFO |
|
48 { |
|
49 menubar = r_voiptestapp_menubar; |
|
50 hotkeys = r_voiptestapp_hotkeys; |
|
51 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
52 status_pane = r_my_status_pane; |
|
53 } |
|
54 |
|
55 //---------------------------------------------------- |
|
56 // |
|
57 // r_voiptestapp_hotkeys |
|
58 // |
|
59 //---------------------------------------------------- |
|
60 // |
|
61 RESOURCE HOTKEYS r_voiptestapp_hotkeys |
|
62 { |
|
63 control = |
|
64 { |
|
65 HOTKEY |
|
66 { |
|
67 command = EAknCmdExit; |
|
68 key = 'x'; |
|
69 } |
|
70 }; |
|
71 } |
|
72 |
|
73 // --------------------------------------------------------- |
|
74 // |
|
75 // r_voiptestapp_menubar |
|
76 // Menubar for the VoIPTestApp |
|
77 // |
|
78 // --------------------------------------------------------- |
|
79 // |
|
80 RESOURCE MENU_BAR r_voiptestapp_menubar |
|
81 { |
|
82 titles = |
|
83 { |
|
84 MENU_TITLE |
|
85 { |
|
86 menu_pane = r_voiptestapp_menu; |
|
87 } |
|
88 }; |
|
89 } |
|
90 |
|
91 // --------------------------------------------------------- |
|
92 // |
|
93 // r_voiptestapp_dnlink_codec_menu |
|
94 // |
|
95 // --------------------------------------------------------- |
|
96 // |
|
97 RESOURCE MENU_PANE r_voiptestapp_dnlink_codec_menu |
|
98 { |
|
99 items = |
|
100 { |
|
101 MENU_ITEM |
|
102 { |
|
103 command = EVoIPTestDnlinkCodecG711; |
|
104 txt = "G.711"; |
|
105 }, |
|
106 MENU_ITEM |
|
107 { |
|
108 command = EVoIPTestDnlinkCodecG729; |
|
109 txt = "G.729"; |
|
110 }, |
|
111 MENU_ITEM |
|
112 { |
|
113 command = EVoIPTestDnlinkCodecILBC; |
|
114 txt = "iLBC"; |
|
115 }, |
|
116 MENU_ITEM |
|
117 { |
|
118 command = EVoIPTestDnlinkCodecAMRNB; |
|
119 txt = "AMR-NB"; |
|
120 }, |
|
121 MENU_ITEM |
|
122 { |
|
123 command = EVoIPTestDnlinkCodecPCM16; |
|
124 txt = "PCM16"; |
|
125 } |
|
126 }; |
|
127 } |
|
128 |
|
129 // --------------------------------------------------------- |
|
130 // |
|
131 // r_voiptestapp_uplink_codec_menu |
|
132 // |
|
133 // --------------------------------------------------------- |
|
134 // |
|
135 RESOURCE MENU_PANE r_voiptestapp_uplink_codec_menu |
|
136 { |
|
137 items = |
|
138 { |
|
139 MENU_ITEM |
|
140 { |
|
141 command = EVoIPTestUplinkCodecG711; |
|
142 txt = "G.711"; |
|
143 }, |
|
144 MENU_ITEM |
|
145 { |
|
146 command = EVoIPTestUplinkCodecG729; |
|
147 txt = "G.729"; |
|
148 }, |
|
149 MENU_ITEM |
|
150 { |
|
151 command = EVoIPTestUplinkCodecILBC; |
|
152 txt = "iLBC"; |
|
153 }, |
|
154 MENU_ITEM |
|
155 { |
|
156 command = EVoIPTestUplinkCodecAMRNB; |
|
157 txt = "AMR-NB"; |
|
158 }, |
|
159 MENU_ITEM |
|
160 { |
|
161 command = EVoIPTestUplinkCodecPCM16; |
|
162 txt = "PCM16"; |
|
163 } |
|
164 }; |
|
165 } |
|
166 |
|
167 // --------------------------------------------------------- |
|
168 // |
|
169 // r_voiptestapp_dnlink_speaker_menu |
|
170 // |
|
171 // --------------------------------------------------------- |
|
172 // |
|
173 RESOURCE MENU_PANE r_voiptestapp_dnlink_speaker_menu |
|
174 { |
|
175 items = |
|
176 { |
|
177 MENU_ITEM |
|
178 { |
|
179 command = EVoIPTestGetMaxVolume; |
|
180 txt = "Get Max Volume"; |
|
181 }, |
|
182 MENU_ITEM |
|
183 { |
|
184 command = EVoIPTestSetMaxVolume; |
|
185 txt = "Set Max Volume"; |
|
186 }, |
|
187 MENU_ITEM |
|
188 { |
|
189 command = EVoIPTestMuteSpeaker; |
|
190 txt = "Mute Speaker"; |
|
191 }, |
|
192 MENU_ITEM |
|
193 { |
|
194 command = EVoIPTestGetVolume; |
|
195 txt = "Get Volume"; |
|
196 } |
|
197 }; |
|
198 } |
|
199 |
|
200 // --------------------------------------------------------- |
|
201 // |
|
202 // r_voiptestapp_uplink_mic_menu |
|
203 // |
|
204 // --------------------------------------------------------- |
|
205 // |
|
206 RESOURCE MENU_PANE r_voiptestapp_uplink_mic_menu |
|
207 { |
|
208 items = |
|
209 { |
|
210 MENU_ITEM |
|
211 { |
|
212 command = EVoIPTestGetMaxGain; |
|
213 txt = "Get Max Gain"; |
|
214 }, |
|
215 MENU_ITEM |
|
216 { |
|
217 command = EVoIPTestSetMaxGain; |
|
218 txt = "Set Max Gain"; |
|
219 }, |
|
220 MENU_ITEM |
|
221 { command = EVoIPTestMuteMic; |
|
222 txt = "Mute Mic"; |
|
223 }, |
|
224 MENU_ITEM |
|
225 { |
|
226 command = EVoIPTestGetGain; |
|
227 txt = "Get Gain"; |
|
228 } |
|
229 }; |
|
230 } |
|
231 |
|
232 // --------------------------------------------------------- |
|
233 // |
|
234 // r_voiptestapp_dnlink_codec_settings_menu |
|
235 // |
|
236 // --------------------------------------------------------- |
|
237 // |
|
238 RESOURCE MENU_PANE r_voiptestapp_dnlink_codec_settings_menu |
|
239 { |
|
240 items = |
|
241 { |
|
242 MENU_ITEM |
|
243 { |
|
244 command = EVoIPTestSetFrameMode; |
|
245 txt = "Toggle frame mode"; |
|
246 }, |
|
247 MENU_ITEM |
|
248 { |
|
249 command = EVoIPTestGetFrameMode; |
|
250 txt = "Get frame mode"; |
|
251 }, |
|
252 MENU_ITEM |
|
253 { |
|
254 command = EVoIPTestGetFrameModeRqrdForEC; |
|
255 txt = "Frame mode req for EC"; |
|
256 }, |
|
257 MENU_ITEM |
|
258 { |
|
259 command = EVoIPTestConcealErrForNextBuf; |
|
260 txt = "Conceal Err Next Buf"; |
|
261 }, |
|
262 MENU_ITEM |
|
263 { |
|
264 command = EVoIPTestSetCng; |
|
265 txt = "Toggle CNG (G.711/iLBC)"; |
|
266 }, |
|
267 MENU_ITEM |
|
268 { |
|
269 command = EVoIPTestGetCng; |
|
270 txt = "Get CNG (G.711/iLBC)"; |
|
271 }, |
|
272 MENU_ITEM |
|
273 { |
|
274 command = EVoIPTestSetPlc; |
|
275 txt = "Toggle PLC (G.711)"; |
|
276 }, |
|
277 MENU_ITEM |
|
278 { |
|
279 command = EVoIPTestGetPlc; |
|
280 txt = "Get PLC (G.711)"; |
|
281 }, |
|
282 MENU_ITEM |
|
283 { |
|
284 command = EVoIPTestG711ALAW; |
|
285 txt = "Set ALaw (G.711)"; |
|
286 }, |
|
287 MENU_ITEM |
|
288 { |
|
289 command = EVoIPTestG711ULAW; |
|
290 txt = "Set uLaw (G.711)"; |
|
291 }, |
|
292 MENU_ITEM |
|
293 { |
|
294 command = EVoIPTestGetG711Mode; |
|
295 txt = "Get Codec Mode (G.711)"; |
|
296 }, |
|
297 MENU_ITEM |
|
298 { |
|
299 command = EVoIPTestILBC20MS; |
|
300 txt = "Set 20ms frame (iLBC)"; |
|
301 }, |
|
302 MENU_ITEM |
|
303 { |
|
304 command = EVoIPTestILBC30MS; |
|
305 txt = "Set 30ms frame (iLBC)"; |
|
306 }, |
|
307 MENU_ITEM |
|
308 { |
|
309 command = EVoIPTestGetILBCMode; |
|
310 txt = "Get Codec Mode (iLBC)"; |
|
311 }, |
|
312 MENU_ITEM |
|
313 { |
|
314 command = EVoIPTestBadLsfNextBuffer; |
|
315 txt = "Bad lsf next buf (G.729)"; |
|
316 } |
|
317 }; |
|
318 } |
|
319 |
|
320 // --------------------------------------------------------- |
|
321 // |
|
322 // r_voiptestapp_uplink_codec_settings_menu |
|
323 // |
|
324 // --------------------------------------------------------- |
|
325 // |
|
326 RESOURCE MENU_PANE r_voiptestapp_uplink_codec_settings_menu |
|
327 { |
|
328 items = |
|
329 { |
|
330 MENU_ITEM |
|
331 { |
|
332 command = EVoIPTestGetSupportedBitrates; |
|
333 txt = "Get supported bitrates"; |
|
334 }, |
|
335 MENU_ITEM |
|
336 { |
|
337 command = EVoIPTestSetMinBitrate; |
|
338 txt = "Set MIN bitrate"; |
|
339 }, |
|
340 MENU_ITEM |
|
341 { |
|
342 command = EVoIPTestSetMaxBitrate; |
|
343 txt = "Set MAX bitrate"; |
|
344 }, |
|
345 MENU_ITEM |
|
346 { |
|
347 command = EVoIPTestGetBitrate; |
|
348 txt = "Get bitrate"; |
|
349 }, |
|
350 MENU_ITEM |
|
351 { |
|
352 command = EVoIPTestSetVad; |
|
353 txt = "Toggle VAD"; |
|
354 }, |
|
355 MENU_ITEM |
|
356 { |
|
357 command = EVoIPTestGetVad; |
|
358 txt = "Get VAD"; |
|
359 }, |
|
360 MENU_ITEM |
|
361 { |
|
362 command = EVoIPTestUplinkG711ALAW; |
|
363 txt = "Set ALaw (G.711)"; |
|
364 }, |
|
365 MENU_ITEM |
|
366 { |
|
367 command = EVoIPTestUplinkG711ULAW; |
|
368 txt = "Set uLaw (G.711)"; |
|
369 }, |
|
370 MENU_ITEM |
|
371 { |
|
372 command = EVoIPTestGetUplinkG711Mode; |
|
373 txt = "Get Codec Mode (G.711)"; |
|
374 }, |
|
375 MENU_ITEM |
|
376 { |
|
377 command = EVoIPTestUplinkILBC20MS; |
|
378 txt = "Set 20ms frame (iLBC)"; |
|
379 }, |
|
380 MENU_ITEM |
|
381 { |
|
382 command = EVoIPTestUplinkILBC30MS; |
|
383 txt = "Set 30ms frame (iLBC)"; |
|
384 }, |
|
385 MENU_ITEM |
|
386 { |
|
387 command = EVoIPTestGetUplinkILBCMode; |
|
388 txt = "Get Codec Mode (iLBC)"; |
|
389 } |
|
390 }; |
|
391 } |
|
392 |
|
393 // --------------------------------------------------------- |
|
394 // |
|
395 // r_voiptestapp_dnlink_output_dev_menu |
|
396 // |
|
397 // --------------------------------------------------------- |
|
398 // |
|
399 RESOURCE MENU_PANE r_voiptestapp_dnlink_output_dev_menu |
|
400 { |
|
401 items = |
|
402 { |
|
403 MENU_ITEM |
|
404 { |
|
405 command = EVoIPTestDnlinkHandset; |
|
406 txt = "Select Handset"; |
|
407 }, |
|
408 MENU_ITEM |
|
409 { |
|
410 command = EVoIPTestDnlinkLoudSpeaker; |
|
411 txt = "Select Loudspeaker"; |
|
412 }, |
|
413 MENU_ITEM |
|
414 { |
|
415 command = EVoIPTestDnlinkGetAudioDevice; |
|
416 txt = "Get Audio Device"; |
|
417 } |
|
418 }; |
|
419 } |
|
420 |
|
421 // --------------------------------------------------------- |
|
422 // |
|
423 // r_voiptestapp_dnlink_jitter_buf_menu |
|
424 // |
|
425 // --------------------------------------------------------- |
|
426 // |
|
427 RESOURCE MENU_PANE r_voiptestapp_dnlink_jitter_buf_menu |
|
428 { |
|
429 items = |
|
430 { |
|
431 MENU_ITEM |
|
432 { |
|
433 command = EVoIPTestDnlinkJBConfig; |
|
434 txt = "Configure JB"; |
|
435 }, |
|
436 MENU_ITEM |
|
437 { |
|
438 command = EVoIPTestDnlinkJBReset; |
|
439 txt = "Reset JB"; |
|
440 }, |
|
441 MENU_ITEM |
|
442 { |
|
443 command = EVoIPTestDnlinkJBDelayDown; |
|
444 txt = "Delay Down"; |
|
445 }, |
|
446 MENU_ITEM |
|
447 { |
|
448 command = EVoIPTestDnlinkJBDelayUp; |
|
449 txt = "Delay Up"; |
|
450 } |
|
451 }; |
|
452 } |
|
453 |
|
454 // --------------------------------------------------------- |
|
455 // |
|
456 // r_voiptestapp_downlink_submenu |
|
457 // |
|
458 // --------------------------------------------------------- |
|
459 // |
|
460 RESOURCE MENU_PANE r_voiptestapp_downlink_submenu |
|
461 { |
|
462 items = |
|
463 { |
|
464 MENU_ITEM |
|
465 { |
|
466 command = EVoIPTestDnlinkFormats; |
|
467 txt = "Get Downlink Formats"; |
|
468 }, |
|
469 MENU_ITEM |
|
470 { |
|
471 command = EVoIPTestDownlinkFormat; |
|
472 txt = "Init decoder..."; |
|
473 cascade = r_voiptestapp_dnlink_codec_menu; |
|
474 }, |
|
475 MENU_ITEM |
|
476 { |
|
477 command = EVoIPTestStartDownlink; |
|
478 txt = "Start"; |
|
479 }, |
|
480 MENU_ITEM |
|
481 { |
|
482 command = EVoIPTestStopDownlink; |
|
483 txt = "Stop"; |
|
484 }, |
|
485 MENU_ITEM |
|
486 { |
|
487 command = EVoIPTestCloseDownlink; |
|
488 txt = "Close"; |
|
489 }, |
|
490 MENU_ITEM |
|
491 { |
|
492 command = EVoIPTestDnlinkSpeakerSettings; |
|
493 txt = "Speaker settings..."; |
|
494 cascade = r_voiptestapp_dnlink_speaker_menu; |
|
495 }, |
|
496 MENU_ITEM |
|
497 { |
|
498 command = EVoIPTestDnlinkCodecSettings; |
|
499 txt = "Decoder settings..."; |
|
500 cascade = r_voiptestapp_dnlink_codec_settings_menu; |
|
501 }, |
|
502 MENU_ITEM |
|
503 { |
|
504 command = EVoIPTestSetAudioDevice; |
|
505 txt = "Select output device..."; |
|
506 cascade = r_voiptestapp_dnlink_output_dev_menu; |
|
507 }, |
|
508 MENU_ITEM |
|
509 { |
|
510 command = EVoIPTestJitterBuffer; |
|
511 txt = "Jitter Buffer..."; |
|
512 cascade = r_voiptestapp_dnlink_jitter_buf_menu; |
|
513 } |
|
514 }; |
|
515 } |
|
516 |
|
517 // --------------------------------------------------------- |
|
518 // |
|
519 // r_voiptestapp_uplink_submenu |
|
520 // |
|
521 // --------------------------------------------------------- |
|
522 // |
|
523 RESOURCE MENU_PANE r_voiptestapp_uplink_submenu |
|
524 { |
|
525 items = |
|
526 { |
|
527 MENU_ITEM |
|
528 { |
|
529 command = EVoIPTestUplinkFormats; |
|
530 txt = "Get Uplink Formats"; |
|
531 }, |
|
532 MENU_ITEM |
|
533 { |
|
534 command = EVoIPTestUplinkFormat; |
|
535 txt = "Init encoder..."; |
|
536 cascade = r_voiptestapp_uplink_codec_menu; |
|
537 }, |
|
538 MENU_ITEM |
|
539 { |
|
540 command = EVoIPTestStartUplink; |
|
541 txt = "Start"; |
|
542 }, |
|
543 MENU_ITEM |
|
544 { |
|
545 command = EVoIPTestStopUplink; |
|
546 txt = "Stop"; |
|
547 }, |
|
548 MENU_ITEM |
|
549 { |
|
550 command = EVoIPTestCloseUplink; |
|
551 txt = "Close"; |
|
552 }, |
|
553 MENU_ITEM |
|
554 { |
|
555 command = EVoIPTestUplinkFormat; |
|
556 txt = "Mic Settings..."; |
|
557 cascade = r_voiptestapp_uplink_mic_menu; |
|
558 }, |
|
559 MENU_ITEM |
|
560 { |
|
561 command = EVoIPTestUplinkCodecSettings; |
|
562 txt = "Encoder settings..."; |
|
563 cascade = r_voiptestapp_uplink_codec_settings_menu; |
|
564 } |
|
565 }; |
|
566 } |
|
567 |
|
568 // --------------------------------------------------------- |
|
569 // |
|
570 // r_voiptestapp_dtmf_submenu |
|
571 // |
|
572 // --------------------------------------------------------- |
|
573 // |
|
574 RESOURCE MENU_PANE r_voiptestapp_dtmf_submenu |
|
575 { |
|
576 items = |
|
577 { |
|
578 MENU_ITEM |
|
579 { |
|
580 command = EVoIPTestDTMFInitDnlink; |
|
581 txt = "Init DTMF player (DNL)"; |
|
582 }, |
|
583 MENU_ITEM |
|
584 { |
|
585 command = EVoIPTestDTMFPlayDnlink; |
|
586 txt = "Play (DNL)"; |
|
587 }, |
|
588 MENU_ITEM |
|
589 { |
|
590 command = EVoIPTestDTMFCloseDnlink; |
|
591 txt = "Close DTMF player (DNL)"; |
|
592 }, |
|
593 MENU_ITEM |
|
594 { |
|
595 command = EVoIPTestDTMFInitUplink; |
|
596 txt = "Init DTMF player (UPL)"; |
|
597 }, |
|
598 MENU_ITEM |
|
599 { |
|
600 command = EVoIPTestDTMFPlayUplink; |
|
601 txt = "Play (UPL)"; |
|
602 }, |
|
603 MENU_ITEM |
|
604 { |
|
605 command = EVoIPTestDTMFCloseUplink; |
|
606 txt = "Close DTMF player (UPL)"; |
|
607 } |
|
608 }; |
|
609 } |
|
610 |
|
611 // --------------------------------------------------------- |
|
612 // |
|
613 // r_voiptestapp_ringtone_init_submenu |
|
614 // |
|
615 // --------------------------------------------------------- |
|
616 // |
|
617 RESOURCE MENU_PANE r_voiptestapp_ringtone_init_submenu |
|
618 { |
|
619 items = |
|
620 { |
|
621 MENU_ITEM |
|
622 { |
|
623 command = EVoIPTestRTInitPlayerFromFile; |
|
624 txt = "Open File"; |
|
625 }, |
|
626 MENU_ITEM |
|
627 { |
|
628 command = EVoIPTestRTInitPlayerFromRFile; |
|
629 txt = "Open RFile"; |
|
630 }, |
|
631 MENU_ITEM |
|
632 { |
|
633 command = EVoIPTestRTInitPlayerFromProfiles; |
|
634 txt = "Use Profiles"; |
|
635 }, |
|
636 MENU_ITEM |
|
637 { |
|
638 command = EVoIPTestRTInitPlayerFromDes; |
|
639 txt = "Open Des"; |
|
640 } |
|
641 }; |
|
642 } |
|
643 |
|
644 // --------------------------------------------------------- |
|
645 // |
|
646 // r_voiptestapp_ringtone_submenu |
|
647 // |
|
648 // --------------------------------------------------------- |
|
649 // |
|
650 RESOURCE MENU_PANE r_voiptestapp_ringtone_submenu |
|
651 { |
|
652 items = |
|
653 { |
|
654 MENU_ITEM |
|
655 { |
|
656 command = EVoIPTestRTInitPlayer; |
|
657 txt = "Init Ring Tone player..."; |
|
658 cascade = r_voiptestapp_ringtone_init_submenu; |
|
659 }, |
|
660 MENU_ITEM |
|
661 { |
|
662 command = EVoIPTestRTPlay; |
|
663 txt = "Play"; |
|
664 }, |
|
665 MENU_ITEM |
|
666 { |
|
667 command = EVoIPTestRTPause; |
|
668 txt = "Pause"; |
|
669 }, |
|
670 MENU_ITEM |
|
671 { |
|
672 command = EVoIPTestRTResume; |
|
673 txt = "Resume"; |
|
674 }, |
|
675 MENU_ITEM |
|
676 { |
|
677 command = EVoIPTestRTStop; |
|
678 txt = "Stop"; |
|
679 }, |
|
680 MENU_ITEM |
|
681 { |
|
682 command = EVoIPTestRTClose; |
|
683 txt = "Close"; |
|
684 } |
|
685 }; |
|
686 } |
|
687 |
|
688 // --------------------------------------------------------- |
|
689 // |
|
690 // r_voiptestapp_menu |
|
691 // Menu for "Options" |
|
692 // |
|
693 // --------------------------------------------------------- |
|
694 // |
|
695 RESOURCE MENU_PANE r_voiptestapp_menu |
|
696 { |
|
697 items = |
|
698 { |
|
699 MENU_ITEM |
|
700 { |
|
701 command = EVoIPTestDnLink; |
|
702 txt = "Downlink Stream..."; |
|
703 cascade = r_voiptestapp_downlink_submenu; |
|
704 }, |
|
705 MENU_ITEM |
|
706 { |
|
707 command = EVoIPTestUpLink; |
|
708 txt = "Uplink Stream..."; |
|
709 cascade = r_voiptestapp_uplink_submenu; |
|
710 }, |
|
711 MENU_ITEM |
|
712 { |
|
713 command = EVoIPTestDTMFPlayer; |
|
714 txt = "DTMF Tone Player..."; |
|
715 cascade = r_voiptestapp_dtmf_submenu; |
|
716 }, |
|
717 MENU_ITEM |
|
718 { |
|
719 command = EVoIPTestRingTonePlayer; |
|
720 txt = "Ring Tone Player..."; |
|
721 cascade = r_voiptestapp_ringtone_submenu; |
|
722 }, |
|
723 MENU_ITEM |
|
724 { |
|
725 command = EAknCmdOneTouchLoopback; |
|
726 txt = "One touch loopback"; |
|
727 }, |
|
728 MENU_ITEM |
|
729 { |
|
730 command = EAknCmdExit; |
|
731 txt = "Exit"; |
|
732 } |
|
733 }; |
|
734 } |
|
735 |
|
736 // --------------------------------------------------------- |
|
737 // |
|
738 // r_richtexteditor_rich_text_editor |
|
739 // RichTextEditor resources |
|
740 // |
|
741 // --------------------------------------------------------- |
|
742 // |
|
743 RESOURCE RTXTED r_richtexteditor_rich_text_editor |
|
744 { |
|
745 width = KWidth; |
|
746 height = KHeight; |
|
747 textlimit = KMaxLength; |
|
748 flags = EEikEdwinReadOnly | EEikEdwinAvkonDisableCursor; |
|
749 avkon_flags = EAknEditorFlagEnableScrollBars; |
|
750 } |
|
751 |
|
752 // --------------------------------------------------------- |
|
753 // |
|
754 // Status pane |
|
755 // |
|
756 // --------------------------------------------------------- |
|
757 // |
|
758 RESOURCE STATUS_PANE_APP_MODEL r_my_status_pane |
|
759 { |
|
760 panes = |
|
761 { |
|
762 SPANE_PANE |
|
763 { |
|
764 id = EEikStatusPaneUidTitle; |
|
765 type = EAknCtTitlePane; |
|
766 resource = r_my_title_pane; |
|
767 } |
|
768 }; |
|
769 } |
|
770 |
|
771 // --------------------------------------------------------- |
|
772 // |
|
773 // General Query dialog |
|
774 // |
|
775 // --------------------------------------------------------- |
|
776 // |
|
777 RESOURCE DIALOG r_voiptestapp_confirmation_query |
|
778 { |
|
779 flags = EGeneralQueryFlags; |
|
780 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
781 // r_vr_softkeys_ok_cancel; |
|
782 items = |
|
783 { |
|
784 DLG_LINE |
|
785 { |
|
786 type = EAknCtQuery; |
|
787 id = EGeneralQuery; |
|
788 control = AVKON_CONFIRMATION_QUERY |
|
789 { |
|
790 layout = EConfirmationLayout; |
|
791 }; |
|
792 } |
|
793 }; |
|
794 } |
|
795 |
|
796 // --------------------------------------------------------- |
|
797 // |
|
798 // Title pane text |
|
799 // |
|
800 // --------------------------------------------------------- |
|
801 // |
|
802 RESOURCE TITLE_PANE r_my_title_pane |
|
803 { |
|
804 txt = "VoIPTestApp"; |
|
805 } |
|
806 |
|
807 // End of file |
|