devicediagnostics/diagplugins/diagheadsetcableplugin/data/devdiagheadsetcabletestpluginrsc.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:40:12 +0200
changeset 0 3ce708148e4d
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Resource file for DiagHeadsetCableTestPlugin
*
*/



//  RESOURCE IDENTIFIER
NAME    DGHS // 4 letter ID // this has to be unique for each plugin

//  INCLUDES

#include    <avkon.loc>
#include    <avkon.mbg>
#include    <avkon.rsg>
#include    <avkon.rh>
#include    <AvkonIcons.hrh>
#include    <bldvariant.hrh>
#include    <data_caging_paths_strings.hrh>
#include    <eikcore.rsg>
#include    <eikon.rsg>
#include    <uikon.rh>
#include    <eikon.rh>

#include    <diagplugincommon.loc>
#include    "diagheadsetcabletestplugin.hrh"
#include    <diagheadsetcabletestplugin.loc>


// CONSTANTS
#define     BMPFILE_NAME    "\\resource\\apps\\avkon2.mbm"


//  RESOURCE DEFINITIONS

RESOURCE RSS_SIGNATURE
    {
    }

RESOURCE TBUF
    {
    buf="DGHS";
    }


// ---------------------------------------------------------------------------
//  r_diag_headset_cable_test_heading_pane
//
// The plugin name in the header of the dialog that
// is shown when starting test execution.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_diag_headset_cable_test_heading_pane
    {
    buf = qtn_diag_msg_title_headset;                    
    }

// ---------------------------------------------------------------------------
// r_diag_headset_cable_test_info_pane
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_diag_headset_cable_test_info_pane
    {
    buf = qtn_diag_conf_test_failed_headset_cable;
    }



// ---------------------------------------------------------------------------
// r_diag_headset_cable_test_title_pane
// The title pane shown when Headset cable test is running
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_diag_headset_cable_test_title_pane
    {
    buf = qtn_diag_title_test_headset;
    }

// ---------------------------------------------------------------------------
// r_diag_headset_cable_test_single_graphic
// Plugin name in the suite view listbox.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_diag_headset_cable_test_single_graphic
    {
    buf = qtn_diag_lst_test_headset;
    }


//----------------------------------------------------
//  r_diag_headset_cable_test_single
//
// Plugin's name in results view
//----------------------------------------------------
//
RESOURCE TBUF r_diag_headset_cable_test_single
    {
    buf = qtn_diag_lst_headset;          
    }
  
    
// ADO & Platformization Changes
//------------------------------------------------------------------------------
//  r_cba_connect_and_press_ok
//
//  Command Button Array for query dialog "Connect your Headset. Press OK when ready." 
//------------------------------------------------------------------------------
//    
//RESOURCE CBA r_cba_connect_and_press_ok
//      {
//      buttons = 
//          { 
//          CBA_BUTTON { id = EHeadsetTestConnectHeadsetSkip;      txt = qtn_diag_softk_skip;   }, 
//          CBA_BUTTON { id = EHeadsetTestConnectHeadsetCancel;    txt = text_softkey_cancel; } ,
//          CBA_BUTTON { id = EAknSoftkeyOk;                       txt = text_softkey_ok;   } 
//          }; 
//      }
      
      
//------------------------------------------------------------------------------
//  r_cba_connect_and_press_ok
//
//  Command Button Array for query dialog "Connect your Headset. Press OK when ready." 
//------------------------------------------------------------------------------
//    
RESOURCE CBA r_cba_connect_and_press_ok
      {
      buttons = 
          { 
          CBA_BUTTON { id = EAknSoftkeyOk;                       txt = text_softkey_ok;   } ,
          CBA_BUTTON { id = EHeadsetTestConnectHeadsetCancel;    txt = text_softkey_cancel; } ,
          CBA_BUTTON { id = EAknSoftkeyOk;                       txt = text_softkey_ok;   } 
          }; 
      }
      
//------------------------------------------------------------------------------
//  r_cba_connect_and_press_ok_single_execution
//
//  Command Button Array for query dialog 
// "Connect your Headset. Press OK when ready." in case of single plugin execution
//------------------------------------------------------------------------------
//    
RESOURCE CBA r_cba_connect_and_press_ok_single_execution
      {
      buttons = 
          { 
          CBA_BUTTON { id = EAknSoftkeyOk;                       txt = text_softkey_ok;   } ,
          CBA_BUTTON { id = EHeadsetTestConnectHeadsetCancel;    txt = text_softkey_cancel; }          
          }; 
      }     
// ADO & Platformization Changes
//------------------------------------------------------------------------------
//  r_cba_connect_and_press_ok_Group_execution
//
//  Command Button Array for query dialog 
// "Connect your Headset. Press OK when ready." in case of single plugin execution
//------------------------------------------------------------------------------
//    
RESOURCE CBA r_cba_connect_and_press_ok_group_execution
      {
      buttons = 
          { 
          CBA_BUTTON { id = EAknSoftkeyOk;                       txt = text_softkey_ok;   } ,
          CBA_BUTTON { id = EHeadsetTestConnectHeadsetSkip;    	txt = qtn_diag_softk_skip; }          
          }; 
      }    
      
//------------------------------------------------------------------------------
//  r_diag_cable_test_cba_ok_dot_empty
//
//  Command Button Array for query dialog "Please remove all cable." 
//------------------------------------------------------------------------------
//    
RESOURCE CBA r_diag_cable_test_cba_ok_dot_empty
      {
      buttons = 
          { 
          CBA_BUTTON { id = EAknSoftkeyOk;
                       txt = text_softkey_ok;   },
          CBA_BUTTON { },
          
          CBA_BUTTON { id = EAknSoftkeyOk; }
          }; 
      }      
      
// -----------------------------------------------------------------------------
//
// r_diag_headset_cable_test_connect_and_press_ok
// query dialog for "Connect your Headset. Press OK when ready." 
//
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_diag_headset_cable_test_connect_and_press_ok
    {
    flags = EGeneralQueryFlags;
    buttons = r_cba_connect_and_press_ok;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id   = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout  = EConfirmationQueryLayout;
                label   = qtn_diag_conf_headset_connect;
                bmpfile = BMPFILE_NAME; 
                bmpid   = EMbmAvkonQgn_note_info;
                bmpmask = EMbmAvkonQgn_note_info_mask;
                };
            }
        };
    }     


// ADO & Platformization Changes
//------------------------------------------------------------------------------
//  r_cba_headset_cable_test_no_cable_detected
//
//  Command Button Array for query dialog 
// "No cable detected. Press OK to continue tests or press Back to retry this test."
//------------------------------------------------------------------------------
//    
//RESOURCE CBA r_cba_headset_cable_test_no_cable_detected
//      {
//      buttons = 
//          { 
//          CBA_BUTTON { id = EAknSoftkeyOk; 
//                       txt = text_softkey_ok; },

//          CBA_BUTTON { id = EHeadsetTestConnectHeadsetBack;
//                       txt = text_softkey_back; } ,
//
//          CBA_BUTTON { id = EAknSoftkeyOk;
//                       txt = text_softkey_ok; }
//          }; 
//      }
RESOURCE CBA r_cba_headset_cable_test_no_cable_detected
      {
      buttons = 
          { 
          CBA_BUTTON { id = EHeadsetTestConnectHeadsetYes; 
                       txt = text_softkey_yes; },

          CBA_BUTTON { id = EHeadsetTestConnectHeadsetNo;
                       txt = text_softkey_no; } ,

          CBA_BUTTON { id = EHeadsetTestConnectHeadsetYes;
                       txt = text_softkey_yes; }
          }; 
      }


//------------------------------------------------------------------------------
//
// r_diag_headset_cable_test_no_cable_detected
// query dialog for "No cable detected. Press OK to continue tests or press 
// Back to retry this test." 
//
//------------------------------------------------------------------------------
//
 
RESOURCE DIALOG r_diag_headset_cable_test_no_cable_detected
    {
    flags = EGeneralQueryFlags;
    buttons = r_cba_headset_cable_test_no_cable_detected;
    items =
        {
        DLG_LINE
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                label = qtn_diag_err_title_no_headset;
                headinglayout = 0;
                };
            },
            
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                message = qtn_diag_err_no_headset;
                };
            }
        };
    }

//------------------------------------------------------------------------------
//
// r_diag_cable_test_remove_all_cables
// query dialog for "Please remove all cables" 
//
//------------------------------------------------------------------------------
//    
RESOURCE DIALOG r_diag_cable_test_remove_all_cables
    {
    flags   = EGeneralQueryFlags;
    buttons = r_diag_cable_test_cba_ok_dot_empty;

    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id   = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout  = EConfirmationQueryLayout;
                label   = qtn_diag_msg_remove_all_cables;
                bmpfile = BMPFILE_NAME; 
                bmpid   = EMbmAvkonQgn_note_info;
                bmpmask = EMbmAvkonQgn_note_info_mask;
                };
            }
        };
    }
    
    
// ADO & Platformization Changes

RESOURCE DIALOG r_diag_messagequery_title_headset
{
	flags = EGeneralQueryFlags;
	buttons = r_cba_connect_and_press_ok_single_execution;
	items =
	{
			DLG_LINE
			{
				type = EAknCtPopupHeadingPane;
				id = EAknMessageQueryHeaderId;
				control = AVKON_HEADING
				{
							label = qtn_diag_msg_title_headset;
			 				headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
				};
			},
			
			DLG_LINE
			{
					type = EAknCtMessageQuery;
					id = EAknMessageQueryContentId;
					control = AVKON_MESSAGE_QUERY
					{
							message = qtn_diag_msg_info_headset;
					};
			}
			
	};
}
//End of File