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