devicediagnostics/diagplugins/diagheadsetcableplugin/data/devdiagheadsetcabletestpluginrsc.rss
changeset 18 7d11f9a6646f
parent 4 75a71fdb4c92
child 21 c707676bf59f
equal deleted inserted replaced
4:75a71fdb4c92 18:7d11f9a6646f
     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 DiagHeadsetCableTestPlugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 NAME    DGHS // 4 letter ID // this has to be unique for each plugin
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 #include    <avkon.loc>
       
    26 #include    <avkon.mbg>
       
    27 #include    <avkon.rsg>
       
    28 #include    <avkon.rh>
       
    29 #include    <AvkonIcons.hrh>
       
    30 #include    <bldvariant.hrh>
       
    31 #include    <data_caging_paths_strings.hrh>
       
    32 #include    <eikcore.rsg>
       
    33 #include    <eikon.rsg>
       
    34 #include    <uikon.rh>
       
    35 #include    <eikon.rh>
       
    36 
       
    37 #include    <diagplugincommon.loc>
       
    38 #include    "diagheadsetcabletestplugin.hrh"
       
    39 #include    <diagheadsetcabletestplugin.loc>
       
    40 
       
    41 
       
    42 // CONSTANTS
       
    43 #define     BMPFILE_NAME    "\\resource\\apps\\avkon2.mbm"
       
    44 
       
    45 
       
    46 //  RESOURCE DEFINITIONS
       
    47 
       
    48 RESOURCE RSS_SIGNATURE
       
    49     {
       
    50     }
       
    51 
       
    52 RESOURCE TBUF
       
    53     {
       
    54     buf="DGHS";
       
    55     }
       
    56 
       
    57 
       
    58 // ---------------------------------------------------------------------------
       
    59 //  r_diag_headset_cable_test_heading_pane
       
    60 //
       
    61 // The plugin name in the header of the dialog that
       
    62 // is shown when starting test execution.
       
    63 // ---------------------------------------------------------------------------
       
    64 //
       
    65 RESOURCE TBUF r_diag_headset_cable_test_heading_pane
       
    66     {
       
    67     buf = qtn_diag_msg_title_headset;                    
       
    68     }
       
    69 
       
    70 // ---------------------------------------------------------------------------
       
    71 // r_diag_headset_cable_test_info_pane
       
    72 // ---------------------------------------------------------------------------
       
    73 //
       
    74 RESOURCE TBUF r_diag_headset_cable_test_info_pane
       
    75     {
       
    76     buf = qtn_diag_conf_test_failed_headset_cable;
       
    77     }
       
    78 
       
    79 
       
    80 
       
    81 // ---------------------------------------------------------------------------
       
    82 // r_diag_headset_cable_test_title_pane
       
    83 // The title pane shown when Headset cable test is running
       
    84 // ---------------------------------------------------------------------------
       
    85 //
       
    86 RESOURCE TBUF r_diag_headset_cable_test_title_pane
       
    87     {
       
    88     buf = qtn_diag_title_test_headset;
       
    89     }
       
    90 
       
    91 // ---------------------------------------------------------------------------
       
    92 // r_diag_headset_cable_test_single_graphic
       
    93 // Plugin name in the suite view listbox.
       
    94 // ---------------------------------------------------------------------------
       
    95 //
       
    96 RESOURCE TBUF r_diag_headset_cable_test_single_graphic
       
    97     {
       
    98     buf = qtn_diag_lst_test_headset;
       
    99     }
       
   100 
       
   101 
       
   102 //----------------------------------------------------
       
   103 //  r_diag_headset_cable_test_single
       
   104 //
       
   105 // Plugin's name in results view
       
   106 //----------------------------------------------------
       
   107 //
       
   108 RESOURCE TBUF r_diag_headset_cable_test_single
       
   109     {
       
   110     buf = qtn_diag_lst_headset;          
       
   111     }
       
   112   
       
   113     
       
   114 // ADO & Platformization Changes
       
   115 //------------------------------------------------------------------------------
       
   116 //  r_cba_connect_and_press_ok
       
   117 //
       
   118 //  Command Button Array for query dialog "Connect your Headset. Press OK when ready." 
       
   119 //------------------------------------------------------------------------------
       
   120 //    
       
   121 //RESOURCE CBA r_cba_connect_and_press_ok
       
   122 //      {
       
   123 //      buttons = 
       
   124 //          { 
       
   125 //          CBA_BUTTON { id = EHeadsetTestConnectHeadsetSkip;      txt = qtn_diag_softk_skip;   }, 
       
   126 //          CBA_BUTTON { id = EHeadsetTestConnectHeadsetCancel;    txt = text_softkey_cancel; } ,
       
   127 //          CBA_BUTTON { id = EAknSoftkeyOk;                       txt = text_softkey_ok;   } 
       
   128 //          }; 
       
   129 //      }
       
   130       
       
   131       
       
   132 //------------------------------------------------------------------------------
       
   133 //  r_cba_connect_and_press_ok
       
   134 //
       
   135 //  Command Button Array for query dialog "Connect your Headset. Press OK when ready." 
       
   136 //------------------------------------------------------------------------------
       
   137 //    
       
   138 RESOURCE CBA r_cba_connect_and_press_ok
       
   139       {
       
   140       buttons = 
       
   141           { 
       
   142           CBA_BUTTON { id = EAknSoftkeyOk;                       txt = text_softkey_ok;   } ,
       
   143           CBA_BUTTON { id = EHeadsetTestConnectHeadsetCancel;    txt = text_softkey_cancel; } ,
       
   144           CBA_BUTTON { id = EAknSoftkeyOk;                       txt = text_softkey_ok;   } 
       
   145           }; 
       
   146       }
       
   147       
       
   148 //------------------------------------------------------------------------------
       
   149 //  r_cba_connect_and_press_ok_single_execution
       
   150 //
       
   151 //  Command Button Array for query dialog 
       
   152 // "Connect your Headset. Press OK when ready." in case of single plugin execution
       
   153 //------------------------------------------------------------------------------
       
   154 //    
       
   155 RESOURCE CBA r_cba_connect_and_press_ok_single_execution
       
   156       {
       
   157       buttons = 
       
   158           { 
       
   159           CBA_BUTTON { id = EAknSoftkeyOk;                       txt = text_softkey_ok;   } ,
       
   160           CBA_BUTTON { id = EHeadsetTestConnectHeadsetCancel;    txt = text_softkey_cancel; }          
       
   161           }; 
       
   162       }     
       
   163 // ADO & Platformization Changes
       
   164 //------------------------------------------------------------------------------
       
   165 //  r_cba_connect_and_press_ok_Group_execution
       
   166 //
       
   167 //  Command Button Array for query dialog 
       
   168 // "Connect your Headset. Press OK when ready." in case of single plugin execution
       
   169 //------------------------------------------------------------------------------
       
   170 //    
       
   171 RESOURCE CBA r_cba_connect_and_press_ok_group_execution
       
   172       {
       
   173       buttons = 
       
   174           { 
       
   175           CBA_BUTTON { id = EAknSoftkeyOk;                       txt = text_softkey_ok;   } ,
       
   176           CBA_BUTTON { id = EHeadsetTestConnectHeadsetSkip;    	txt = qtn_diag_softk_skip; }          
       
   177           }; 
       
   178       }    
       
   179       
       
   180 //------------------------------------------------------------------------------
       
   181 //  r_diag_cable_test_cba_ok_dot_empty
       
   182 //
       
   183 //  Command Button Array for query dialog "Please remove all cable." 
       
   184 //------------------------------------------------------------------------------
       
   185 //    
       
   186 RESOURCE CBA r_diag_cable_test_cba_ok_dot_empty
       
   187       {
       
   188       buttons = 
       
   189           { 
       
   190           CBA_BUTTON { id = EAknSoftkeyOk;
       
   191                        txt = text_softkey_ok;   },
       
   192           CBA_BUTTON { },
       
   193           
       
   194           CBA_BUTTON { id = EAknSoftkeyOk; }
       
   195           }; 
       
   196       }      
       
   197       
       
   198 // -----------------------------------------------------------------------------
       
   199 //
       
   200 // r_diag_headset_cable_test_connect_and_press_ok
       
   201 // query dialog for "Connect your Headset. Press OK when ready." 
       
   202 //
       
   203 // -----------------------------------------------------------------------------
       
   204 //
       
   205 RESOURCE DIALOG r_diag_headset_cable_test_connect_and_press_ok
       
   206     {
       
   207     flags = EGeneralQueryFlags;
       
   208     buttons = r_cba_connect_and_press_ok;
       
   209     items =
       
   210         {
       
   211         DLG_LINE
       
   212             {
       
   213             type = EAknCtQuery;
       
   214             id   = EGeneralQuery;
       
   215             control = AVKON_CONFIRMATION_QUERY
       
   216                 {
       
   217                 layout  = EConfirmationQueryLayout;
       
   218                 label   = qtn_diag_conf_headset_connect;
       
   219                 bmpfile = BMPFILE_NAME; 
       
   220                 bmpid   = EMbmAvkonQgn_note_info;
       
   221                 bmpmask = EMbmAvkonQgn_note_info_mask;
       
   222                 };
       
   223             }
       
   224         };
       
   225     }     
       
   226 
       
   227 
       
   228 // ADO & Platformization Changes
       
   229 //------------------------------------------------------------------------------
       
   230 //  r_cba_headset_cable_test_no_cable_detected
       
   231 //
       
   232 //  Command Button Array for query dialog 
       
   233 // "No cable detected. Press OK to continue tests or press Back to retry this test."
       
   234 //------------------------------------------------------------------------------
       
   235 //    
       
   236 //RESOURCE CBA r_cba_headset_cable_test_no_cable_detected
       
   237 //      {
       
   238 //      buttons = 
       
   239 //          { 
       
   240 //          CBA_BUTTON { id = EAknSoftkeyOk; 
       
   241 //                       txt = text_softkey_ok; },
       
   242 
       
   243 //          CBA_BUTTON { id = EHeadsetTestConnectHeadsetBack;
       
   244 //                       txt = text_softkey_back; } ,
       
   245 //
       
   246 //          CBA_BUTTON { id = EAknSoftkeyOk;
       
   247 //                       txt = text_softkey_ok; }
       
   248 //          }; 
       
   249 //      }
       
   250 RESOURCE CBA r_cba_headset_cable_test_no_cable_detected
       
   251       {
       
   252       buttons = 
       
   253           { 
       
   254           CBA_BUTTON { id = EHeadsetTestConnectHeadsetYes; 
       
   255                        txt = text_softkey_yes; },
       
   256 
       
   257           CBA_BUTTON { id = EHeadsetTestConnectHeadsetNo;
       
   258                        txt = text_softkey_no; } ,
       
   259 
       
   260           CBA_BUTTON { id = EHeadsetTestConnectHeadsetYes;
       
   261                        txt = text_softkey_yes; }
       
   262           }; 
       
   263       }
       
   264 
       
   265 
       
   266 //------------------------------------------------------------------------------
       
   267 //
       
   268 // r_diag_headset_cable_test_no_cable_detected
       
   269 // query dialog for "No cable detected. Press OK to continue tests or press 
       
   270 // Back to retry this test." 
       
   271 //
       
   272 //------------------------------------------------------------------------------
       
   273 //
       
   274  
       
   275 RESOURCE DIALOG r_diag_headset_cable_test_no_cable_detected
       
   276     {
       
   277     flags = EGeneralQueryFlags;
       
   278     buttons = r_cba_headset_cable_test_no_cable_detected;
       
   279     items =
       
   280         {
       
   281         DLG_LINE
       
   282             {
       
   283             type = EAknCtPopupHeadingPane;
       
   284             id = EAknMessageQueryHeaderId;
       
   285             control = AVKON_HEADING
       
   286                 {
       
   287                 label = qtn_diag_err_title_no_headset;
       
   288                 headinglayout = 0;
       
   289                 };
       
   290             },
       
   291             
       
   292         DLG_LINE
       
   293             {
       
   294             type = EAknCtMessageQuery;
       
   295             id = EAknMessageQueryContentId;
       
   296             control = AVKON_MESSAGE_QUERY
       
   297                 {
       
   298                 message = qtn_diag_err_no_headset;
       
   299                 };
       
   300             }
       
   301         };
       
   302     }
       
   303 
       
   304 //------------------------------------------------------------------------------
       
   305 //
       
   306 // r_diag_cable_test_remove_all_cables
       
   307 // query dialog for "Please remove all cables" 
       
   308 //
       
   309 //------------------------------------------------------------------------------
       
   310 //    
       
   311 RESOURCE DIALOG r_diag_cable_test_remove_all_cables
       
   312     {
       
   313     flags   = EGeneralQueryFlags;
       
   314     buttons = r_diag_cable_test_cba_ok_dot_empty;
       
   315 
       
   316     items =
       
   317         {
       
   318         DLG_LINE
       
   319             {
       
   320             type = EAknCtQuery;
       
   321             id   = EGeneralQuery;
       
   322             control = AVKON_CONFIRMATION_QUERY
       
   323                 {
       
   324                 layout  = EConfirmationQueryLayout;
       
   325                 label   = qtn_diag_msg_remove_all_cables;
       
   326                 bmpfile = BMPFILE_NAME; 
       
   327                 bmpid   = EMbmAvkonQgn_note_info;
       
   328                 bmpmask = EMbmAvkonQgn_note_info_mask;
       
   329                 };
       
   330             }
       
   331         };
       
   332     }
       
   333     
       
   334     
       
   335 // ADO & Platformization Changes
       
   336 
       
   337 RESOURCE DIALOG r_diag_messagequery_title_headset
       
   338 {
       
   339 	flags = EGeneralQueryFlags;
       
   340 	buttons = r_cba_connect_and_press_ok_single_execution;
       
   341 	items =
       
   342 	{
       
   343 			DLG_LINE
       
   344 			{
       
   345 				type = EAknCtPopupHeadingPane;
       
   346 				id = EAknMessageQueryHeaderId;
       
   347 				control = AVKON_HEADING
       
   348 				{
       
   349 							label = qtn_diag_msg_title_headset;
       
   350 			 				headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
       
   351 				};
       
   352 			},
       
   353 			
       
   354 			DLG_LINE
       
   355 			{
       
   356 					type = EAknCtMessageQuery;
       
   357 					id = EAknMessageQueryContentId;
       
   358 					control = AVKON_MESSAGE_QUERY
       
   359 					{
       
   360 							message = qtn_diag_msg_info_headset;
       
   361 					};
       
   362 			}
       
   363 			
       
   364 	};
       
   365 }
       
   366 //End of File