devicediagnostics/diagplugins/diagloudspeakerplugin/data/devdiagspeakerpluginrsc.rss
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     1 /*
       
     2 * Copyright (c) 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 DiagSpeakerPlugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 NAME    SPEK // 4 letter ID
       
    22 
       
    23 //  INCLUDES
       
    24 #include    <eikon.rh>
       
    25 #include    "diagspeakerplugin.hrh"
       
    26 #include    <diagspeakerplugin.loc>
       
    27 #include    <diagplugincommon.loc>
       
    28 
       
    29 #include    <avkon.loc>
       
    30 #include    <avkon.mbg>
       
    31 #include    <avkon.rsg>
       
    32 #include    <avkon.rh>
       
    33 
       
    34 #include    <AvkonIcons.hrh>
       
    35 #include    <bldvariant.hrh>
       
    36 #include    <data_caging_paths_strings.hrh>
       
    37 #include    <eikcore.rsg>
       
    38 #include    <eikon.rsg>
       
    39 #include    <uikon.rh>
       
    40 
       
    41 // CONSTANTS
       
    42 
       
    43 // Camera Plugin : Bitmap File for Icons 
       
    44 #define BMPFILE_NAME    "\\resource\\apps\\avkon2.mbm"
       
    45 
       
    46 
       
    47 // ========================== RESOURCE DEFINITIONS ===========================
       
    48 // Resource Identifiers
       
    49 RESOURCE RSS_SIGNATURE { }
       
    50 RESOURCE TBUF { buf="SPEK"; }
       
    51 
       
    52 //----------------------------------------------------
       
    53 // r_diag_speaker_plugin_list_single_graphic_heading_pane
       
    54 // Speaker Plugin caption 
       
    55 //----------------------------------------------------
       
    56 //
       
    57 RESOURCE TBUF r_diag_speaker_plugin_list_single_graphic_heading_pane
       
    58     {
       
    59     buf = qtn_diag_lst_speakerphone;
       
    60     }
       
    61 
       
    62 //----------------------------------------------------
       
    63 // r_diag_speaker_plugin_list_single_graphic_pane
       
    64 // Speaker Plugin caption 
       
    65 //----------------------------------------------------
       
    66 //
       
    67 RESOURCE TBUF r_diag_speaker_plugin_list_single_graphic_pane
       
    68     {
       
    69     buf = qtn_diag_lst_test_speakerphone;
       
    70     }
       
    71 
       
    72 //----------------------------------------------------
       
    73 // r_diag_speaker_plugin_title_pane
       
    74 // Speaker Plugin caption 
       
    75 //----------------------------------------------------
       
    76 //
       
    77 RESOURCE TBUF r_diag_speaker_plugin_title_pane
       
    78     {
       
    79     buf = qtn_diag_title_test_speakerphone;
       
    80     }
       
    81 
       
    82 //----------------------------------------------------
       
    83 // r_diag_speaker_plugin_popup_info_list_pane
       
    84 // Speaker Plugin caption 
       
    85 //----------------------------------------------------
       
    86 //
       
    87 RESOURCE TBUF r_diag_speaker_plugin_popup_info_list_pane
       
    88     {
       
    89     buf = qtn_diag_conf_test_failed_speakerphone;
       
    90     }
       
    91 
       
    92 //----------------------------------------------------
       
    93 // r_diag_speaker_plugin_heading_pane
       
    94 // Speaker Plugin caption 
       
    95 //----------------------------------------------------
       
    96 //
       
    97 RESOURCE TBUF r_diag_speaker_plugin_heading_pane
       
    98     {
       
    99     buf = qtn_diag_msg_title_speakerphone;
       
   100     }
       
   101 
       
   102 //----------------------------------------------------
       
   103 // r_diag_speaker_softkeys_ok_cancel
       
   104 // CBA for OK_CANCEL
       
   105 //----------------------------------------------------
       
   106 //
       
   107 RESOURCE CBA r_diag_speaker_softkeys_ok_cancel
       
   108 {
       
   109     buttons = 
       
   110     {
       
   111         CBA_BUTTON 
       
   112         { 
       
   113             id  = EAknSoftkeyOk; // in order to Exit
       
   114             txt = text_softkey_ok;
       
   115         },
       
   116         CBA_BUTTON 
       
   117         { 
       
   118             id  = ECBACmdCancel;       // .hrh
       
   119             txt = text_softkey_cancel; // .rls or .loc
       
   120         } 
       
   121 
       
   122     };
       
   123 }
       
   124 
       
   125 
       
   126 //----------------------------------------------------
       
   127 // r_diag_speaker_softkeys_ok_cancel
       
   128 // CBA for OK_CANCEL
       
   129 //----------------------------------------------------
       
   130 //
       
   131 RESOURCE CBA r_diag_speaker_softkeys_ok_skip
       
   132 {
       
   133     buttons = 
       
   134     {
       
   135         CBA_BUTTON 
       
   136         { 
       
   137             id  = EAknSoftkeyOk; // in order to Exit
       
   138             txt = text_softkey_ok;
       
   139         },
       
   140         CBA_BUTTON
       
   141         { 
       
   142             id  = ECBACmdSkip;          // .hrh
       
   143             txt = qtn_diag_softk_skip;  // .rls or .loc
       
   144         }
       
   145 
       
   146     };
       
   147 }
       
   148 
       
   149 
       
   150 
       
   151 //----------------------------------------------------
       
   152 // r_diag_speaker_softkeys_skip_cancel__ok
       
   153 // CBA for SKIP_CANCEL__OK
       
   154 //----------------------------------------------------
       
   155 //
       
   156 RESOURCE CBA r_diag_speaker_softkeys_skip_cancel__ok
       
   157 {
       
   158     buttons = 
       
   159     {
       
   160         CBA_BUTTON 
       
   161         { 
       
   162             id  = ECBACmdSkip;          // .hrh
       
   163             txt = qtn_diag_softk_skip;  // .rls or .loc
       
   164         },
       
   165         CBA_BUTTON 
       
   166         { 
       
   167             id  = ECBACmdCancel;       // .hrh
       
   168             txt = text_softkey_cancel; // .rls or .loc
       
   169         }, 
       
   170         CBA_BUTTON 
       
   171         { 
       
   172             id  = EAknSoftkeyOk; // in order to Exit
       
   173             txt = text_softkey_ok;
       
   174         }
       
   175     };
       
   176 }
       
   177 
       
   178 //----------------------------------------------------
       
   179 // r_diag_speaker_softkeys_skip_cancel__start
       
   180 // CBA for SKIP_CANCEL__START
       
   181 //----------------------------------------------------
       
   182 //
       
   183 RESOURCE CBA r_diag_speaker_softkeys_skip_cancel__start
       
   184 {
       
   185     buttons = 
       
   186     {
       
   187         CBA_BUTTON 
       
   188         { 
       
   189             id  = ECBACmdSkip;          // .hrh
       
   190             txt = qtn_diag_softk_skip;  // .rls or .loc
       
   191         },
       
   192         CBA_BUTTON 
       
   193         { 
       
   194             id  = ECBACmdCancel;       // .hrh
       
   195             txt = text_softkey_cancel; // .rls or .loc
       
   196         }, 
       
   197         CBA_BUTTON 
       
   198         { 
       
   199             id  = EAknSoftkeyOk;
       
   200             txt = qtn_msk_record;
       
   201         }
       
   202     };
       
   203 }
       
   204 
       
   205 //----------------------------------------------------
       
   206 // r_diag_speaker_softkeys_start_cancel
       
   207 // CBA for SRART_CANCEL
       
   208 //----------------------------------------------------
       
   209 //
       
   210 RESOURCE CBA r_diag_speaker_softkeys_start_cancel
       
   211 {
       
   212     buttons = 
       
   213     {
       
   214        CBA_BUTTON 
       
   215         { 
       
   216             id  = EAknSoftkeyOk;
       
   217             txt = qtn_msk_record;
       
   218         },
       
   219 
       
   220         CBA_BUTTON 
       
   221         { 
       
   222             id  = ECBACmdCancel;       // .hrh
       
   223             txt = text_softkey_cancel; // .rls or .loc
       
   224         }
       
   225     };
       
   226 }
       
   227 
       
   228 //----------------------------------------------------
       
   229 // r_diag_speaker_softkeys_skip_cancel__play
       
   230 // CBA for SKIP_CANCEL__PLAY
       
   231 //----------------------------------------------------
       
   232 //
       
   233 RESOURCE CBA r_diag_speaker_softkeys_skip_cancel__play
       
   234 {
       
   235     buttons = 
       
   236     {
       
   237         CBA_BUTTON 
       
   238         { 
       
   239             id  = ECBACmdSkip;          // .hrh
       
   240             txt = qtn_diag_softk_skip;  // .rls or .loc
       
   241 	},
       
   242         CBA_BUTTON 
       
   243 	{ 
       
   244             id  = ECBACmdCancel;      // .hrh
       
   245             txt = text_softkey_cancel;// .rls or .loc
       
   246 	}, 
       
   247 	CBA_BUTTON 
       
   248 	{ 
       
   249             id  = EAknSoftkeyOk; 
       
   250             txt = qtn_msk_play;
       
   251 	}
       
   252     };
       
   253 }
       
   254 
       
   255 //----------------------------------------------------
       
   256 // r_diag_speaker_softkeys_play_cancel
       
   257 // CBA for PLAY_CANCEL__PLAY
       
   258 //----------------------------------------------------
       
   259 //
       
   260 RESOURCE CBA r_diag_speaker_softkeys_play_cancel
       
   261 {
       
   262     buttons = 
       
   263     {
       
   264 	CBA_BUTTON 
       
   265 	{ 
       
   266             id  = EAknSoftkeyOk; 
       
   267             txt = qtn_msk_play;
       
   268 	},
       
   269 
       
   270         CBA_BUTTON 
       
   271 	{ 
       
   272             id  = ECBACmdCancel;      // .hrh
       
   273             txt = text_softkey_cancel;// .rls or .loc
       
   274 	}
       
   275     };
       
   276 }
       
   277 
       
   278 //----------------------------------------------------
       
   279 // r_diag_speaker_softkeys_skip_cancel__stop
       
   280 // CBA for SKIP_CANCEL__STOP
       
   281 //----------------------------------------------------
       
   282 //
       
   283 RESOURCE CBA r_diag_speaker_softkeys_skip_cancel__stop
       
   284 {
       
   285     buttons = 
       
   286     {
       
   287         CBA_BUTTON 
       
   288         { 
       
   289             id  = ECBACmdSkip;          // .hrh
       
   290             txt = qtn_diag_softk_skip;  // .rls or .loc
       
   291 	},
       
   292         CBA_BUTTON 
       
   293 	{ 
       
   294             id  = ECBACmdCancel;       // .hrh
       
   295             txt = text_softkey_cancel; // .rls or .loc
       
   296 	}, 
       
   297 	CBA_BUTTON 
       
   298 	{ 
       
   299             id  = EAknSoftkeyOk; 
       
   300             txt = qtn_msk_stop;
       
   301 	}
       
   302     };
       
   303 }
       
   304 
       
   305 //----------------------------------------------------
       
   306 // r_diag_speaker_softkeys_stop_cancel
       
   307 // CBA for STOP_CANCEL
       
   308 //----------------------------------------------------
       
   309 //
       
   310 RESOURCE CBA r_diag_speaker_softkeys_stop_cancel
       
   311 {
       
   312     buttons = 
       
   313     {
       
   314 	CBA_BUTTON 
       
   315 	{ 
       
   316             id  = EAknSoftkeyOk; 
       
   317             txt = qtn_msk_stop;
       
   318 	},
       
   319 
       
   320         CBA_BUTTON 
       
   321 	{ 
       
   322             id  = EEikBidCancel;       // .hrh
       
   323             txt = text_softkey_cancel; // .rls or .loc
       
   324 	}
       
   325     };
       
   326 }
       
   327 
       
   328 // ---------------------------------------------------------------------------
       
   329 // r_messagequery_title
       
   330 // The dialog shown when the plugin begins execution.
       
   331 // ---------------------------------------------------------------------------
       
   332 //
       
   333 RESOURCE DIALOG r_messagequery_title
       
   334     {
       
   335      flags   = EGeneralQueryFlags | 
       
   336                EEikDialogFlagNoBorder |
       
   337                EEikDialogFlagNoTitleBar;
       
   338 
       
   339      buttons = r_diag_speaker_softkeys_skip_cancel__ok;
       
   340 
       
   341      items=
       
   342          {
       
   343          DLG_LINE
       
   344              {
       
   345              type    = EAknCtPopupHeadingPane;
       
   346              id      = EAknMessageQueryHeaderId;
       
   347              control = AVKON_HEADING
       
   348                  {              
       
   349                     label         = qtn_diag_msg_title_speakerphone;
       
   350                     headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
       
   351                  };
       
   352              },
       
   353          DLG_LINE
       
   354              {
       
   355              type    = EAknCtMessageQuery;
       
   356              id      = EAknMessageQueryContentId;
       
   357              control = AVKON_MESSAGE_QUERY
       
   358                  {
       
   359                  message = qtn_diag_msg_speakerphone;
       
   360                  };
       
   361              }
       
   362          };
       
   363      }
       
   364 
       
   365 // ---------------------------------------------------------------------------
       
   366 // r_messagequery_ask_record
       
   367 // The dialog shown before start recording
       
   368 // ---------------------------------------------------------------------------
       
   369 //
       
   370 RESOURCE DIALOG r_messagequery_ask_record
       
   371     {
       
   372      flags   = EGeneralQueryFlags | 
       
   373                EEikDialogFlagNoBorder |
       
   374                EEikDialogFlagNoTitleBar;
       
   375 
       
   376      buttons = r_diag_speaker_softkeys_skip_cancel__start;
       
   377 
       
   378      items=
       
   379          {
       
   380          DLG_LINE
       
   381              {
       
   382              type    = EAknCtPopupHeadingPane;
       
   383              id      = EAknMessageQueryHeaderId;
       
   384              control = AVKON_HEADING
       
   385                  { 
       
   386                  label         = qtn_diag_msg_title_record_speakerphone;
       
   387                  headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;         
       
   388                  };
       
   389              },
       
   390          DLG_LINE
       
   391              {
       
   392              type    = EAknCtMessageQuery;
       
   393              id      = EAknMessageQueryContentId;
       
   394              control = AVKON_MESSAGE_QUERY
       
   395                  {
       
   396                  message = qtn_diag_msg_record_speakerphone;
       
   397                  };
       
   398              }
       
   399          };
       
   400      }
       
   401 
       
   402 // ---------------------------------------------------------------------------
       
   403 // r_progress_note_recording
       
   404 // The dialog shown during recording
       
   405 // ---------------------------------------------------------------------------
       
   406 //
       
   407 RESOURCE DIALOG r_progress_note_recording
       
   408     {
       
   409     flags   = EAknProgressNoteFlags;
       
   410     buttons = r_diag_speaker_softkeys_stop_cancel;
       
   411     items   =
       
   412         {
       
   413         DLG_LINE
       
   414             {
       
   415             type    = EAknCtNote;
       
   416             id      = EGeneralNote;
       
   417             control = AVKON_NOTE
       
   418                 {
       
   419                 layout         = EProgressLayout;
       
   420                 singular_label = qtn_diag_note_record_speakerphone;
       
   421                 
       
   422                 imagefile = BMPFILE_NAME;
       
   423                 imageid   = EMbmAvkonQgn_note_voice;
       
   424                 imagemask = EMbmAvkonQgn_note_voice_mask;
       
   425                 };
       
   426             }
       
   427         };
       
   428     }
       
   429 
       
   430 // ---------------------------------------------------------------------------
       
   431 // r_confquery_ask_play
       
   432 // The dialog shown when recording has finished and ask to play
       
   433 // ---------------------------------------------------------------------------
       
   434 //
       
   435 RESOURCE DIALOG r_confquery_ask_play
       
   436     {
       
   437     flags   = EGeneralQueryFlags;                 
       
   438     buttons = r_diag_speaker_softkeys_play_cancel; // custom key
       
   439     items   =
       
   440         {
       
   441         DLG_LINE
       
   442             {
       
   443             type    = EAknCtQuery;             
       
   444             id      = EGeneralQuery;           
       
   445             control = AVKON_CONFIRMATION_QUERY 
       
   446                 {   
       
   447                 layout  = EConfirmationQueryLayout;      
       
   448                 label   = qtn_diag_conf_start_play_speakerphone;
       
   449 		bmpfile = BMPFILE_NAME;                  
       
   450                 bmpid   = EMbmAvkonQgn_note_info;
       
   451                 bmpmask = EMbmAvkonQgn_note_info_mask;
       
   452                 };
       
   453             }
       
   454         };
       
   455     }
       
   456 
       
   457 // ---------------------------------------------------------------------------
       
   458 // r_confquery_ask_heard
       
   459 // The dialog shown when ask to result of playing
       
   460 // ---------------------------------------------------------------------------
       
   461 //
       
   462 RESOURCE DIALOG r_confquery_ask_heard
       
   463     {
       
   464     flags   = EGeneralQueryFlags;           
       
   465     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   466     items   =
       
   467         {
       
   468         DLG_LINE
       
   469             {
       
   470             type    = EAknCtQuery;             
       
   471             id      = EGeneralQuery;           
       
   472             control = AVKON_CONFIRMATION_QUERY 
       
   473                 {   
       
   474                 layout  = EConfirmationQueryLayout;
       
   475                 label   = qtn_diag_conf_speakerphone;
       
   476                 bmpfile = BMPFILE_NAME;
       
   477                 bmpid   = EMbmAvkonQgn_note_query;
       
   478                 bmpmask = EMbmAvkonQgn_note_query_mask;
       
   479                 };
       
   480             }
       
   481         };
       
   482     }
       
   483 
       
   484 // ---------------------------------------------------------------------------
       
   485 // r_confquery_ask_repeat
       
   486 // The dialog shown when ask to repeat test again
       
   487 // ---------------------------------------------------------------------------
       
   488 //
       
   489 RESOURCE DIALOG r_confquery_ask_repeat
       
   490     {
       
   491     flags   = EGeneralQueryFlags; 
       
   492     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   493     items   =
       
   494         {
       
   495         DLG_LINE
       
   496             {
       
   497             type = EAknCtQuery;
       
   498             id   = EGeneralQuery;
       
   499             control = AVKON_CONFIRMATION_QUERY
       
   500                 {
       
   501                 layout  = EConfirmationQueryLayout;
       
   502                 label   = qtn_diag_conf_repeat_speakerphone;
       
   503                 bmpfile = BMPFILE_NAME;
       
   504                 bmpid   = EMbmAvkonQgn_note_query;
       
   505                 bmpmask = EMbmAvkonQgn_note_query_mask;
       
   506                 };
       
   507             }
       
   508         };
       
   509     }
       
   510 
       
   511 // ---------------------------------------------------------------------------
       
   512 // r_progress_note_playing
       
   513 // The dialog shown during playing
       
   514 // ---------------------------------------------------------------------------
       
   515 //
       
   516 RESOURCE DIALOG r_progress_note_playing
       
   517     {
       
   518     flags   = EAknProgressNoteFlags;
       
   519     buttons = r_diag_speaker_softkeys_skip_cancel__stop;
       
   520     items   =
       
   521         {
       
   522         DLG_LINE
       
   523             {
       
   524             type    = EAknCtNote;
       
   525             id      = EGeneralNote;
       
   526             control = AVKON_NOTE
       
   527                 {
       
   528                 layout         = EProgressLayout;
       
   529                 singular_label = qtn_diag_note_play_speakerphone;
       
   530                 plural_label   = qtn_diag_note_play_speakerphone;
       
   531                 imagefile      = BMPFILE_NAME;
       
   532                 imageid        = EMbmAvkonQgn_note_voice;
       
   533                 imagemask      = EMbmAvkonQgn_note_voice_mask;
       
   534                 };
       
   535             }
       
   536         };
       
   537     }
       
   538 
       
   539 //End of File