iaupdate/IAD/ui/group/iaupdate.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 22:57:02 +0200
branchRCL_3
changeset 9 51c0f5edf5ef
parent 0 ba25891c3a9e
child 11 3ba40be8e484
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* Copyright (c) 2007-2010 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 definitions
*
*/



NAME HELL

#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.hrh>
#include <avkon.mbg>
#include <avkon.loc>
#include <appinstui.loc>
#include <appinfo.rh>
#include <iaupdate.mbg>
#include <iaupdate.loc>
#include "iaupdate.hrh"
#include <data_caging_paths_strings.hrh>


// ---------------------------------------------------------
//   
//    Define the resource file signature 
//    This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }

// ---------------------------------------------------------
//   
//    Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_default_document_name { buf=""; }

// ---------------------------------------------------------
//   
//    Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    status_pane = r_iaupdate_status_pane;
    cba = r_iaupdate_softkeys_options_exit__options;
    }
        
// ---------------------------------------------------------
//   
//    App Info
//
// ---------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_iaupdate_localisable_app_info
	{
	short_caption = qtn_swupdate_caption_grid_ph2;
	caption_and_icon =
		{
		CAPTION_AND_ICON_INFO 
			{
			caption = qtn_swupdate_caption_list_ph2;
			number_of_icons = 1;
			icon_file = APP_BITMAP_DIR"\\iaupdate_aif.mif";
			}
		};
	}




// ---------------------------------------------------------
//   
//    Strings
//
// ---------------------------------------------------------
//

RESOURCE TBUF r_iaupdate_refreshing_update_list
    {
    buf = qtn_swupdate_refreshing_update_list;	
    }

RESOURCE TBUF r_iaupdate_downloading_note
    {
    buf = qtn_swupdate_downloading;
    }

RESOURCE TBUF r_iaupdate_installing_note
    {    
    buf = qtn_swupdate_installing;
    }

RESOURCE TBUF r_iaupdate_name_with_version
    {
    buf = qtn_swupdate_name_with_version;
    }

RESOURCE TBUF r_iaupdate_des_required_update_kb
    {
    buf = qtn_swupdate_required_update_kb;
    }
    
RESOURCE TBUF r_iaupdate_des_required_update_mb
    {
    buf = qtn_swupdate_required_update_mb;
    }

RESOURCE TBUF r_iaupdate_des_critical_update_kb
    {
    buf = qtn_swupdate_critical_update_kb;
    }
    
RESOURCE TBUF r_iaupdate_des_critical_update_mb
    {
    buf = qtn_swupdate_critical_update_mb;
    }

RESOURCE TBUF r_iaupdate_des_critical_update_no_size
    {
    buf = qtn_swupdate_critical_update_no_size;
    }
    
RESOURCE TBUF r_iaupdate_des_recommended_update_kb
    {
    buf = qtn_swupdate_recommended_update_kb;
    }
    
RESOURCE TBUF r_iaupdate_des_recommended_update_mb
    {
    buf = qtn_swupdate_recommended_update_mb;
    }    
    
RESOURCE TBUF r_iaupdate_des_normal_update_kb
    {
    buf = qtn_swupdate_normal_update_kb;
    }
    
RESOURCE TBUF r_iaupdate_des_normal_update_mb
    {
    buf = qtn_swupdate_normal_update_mb;
    }
    
RESOURCE TBUF r_iaupdate_text_no_updates    
    {    
    buf = qtn_swupdate_empty_no_updates_available;
    }

RESOURCE TBUF r_iaupdate_refresh_failed    
    {    
    buf = qtn_swupdate_refresh_failed;
    }
    
RESOURCE TBUF r_iaupdate_program_update
    {
    buf = qtn_swupdate_program_update;
    }

RESOURCE TBUF r_iaupdate_program_automatic_update_disabled
    { 
    buf = qtn_swupdate_program_automatic_update_disabled_ph2;
    }


//
// pc udpate dialog resources
//

RESOURCE TBUF r_iaupdate_new_sw_title
    {
    buf = qtn_swupdate_new_sw_title;
    }

RESOURCE TBUF r_iaupdate_info_nsu_1
    {
    buf = qtn_swupdate_info_nsu_1;
    }

RESOURCE TBUF r_iaupdate_info_nsu_2
    {
    buf = qtn_swupdate_info_nsu_2;
    }

// -----------------------------------------------------------------------------
//
//    r_iaupdate_msk_mark
//    Middle softkey label: Mark
//
// -----------------------------------------------------------------------------
//  
RESOURCE TBUF r_iaupdate_msk_mark
    {
    buf = qtn_msk_mark;	
    }
    
// -----------------------------------------------------------------------------
//
//    r_iaupdate_msk_unmark
//    Middle softkey label: Unmark
//
// -----------------------------------------------------------------------------
//  
RESOURCE TBUF r_iaupdate_msk_unmark
    {
    buf = qtn_msk_unmark;	
    } 
	    
// ---------------------------------------------------------
//   
//    Define status pane.
//
// ---------------------------------------------------------
//
RESOURCE STATUS_PANE_APP_MODEL r_iaupdate_status_pane
    {
    layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL;
    panes =
        {		
        SPANE_PANE
            {
            id = EEikStatusPaneUidTitle;
            type = EAknCtTitlePane;
            resource = r_iaupdate_title_pane_text;
            }
        };
    }
    
//----------------------------------------------------
//   
//    r_iaupdate_title_pane_text
//    title pane resource for status pane
//
//----------------------------------------------------
//
RESOURCE TITLE_PANE r_iaupdate_title_pane_text
    {
    txt = qtn_swupdate_title_ph2;
    }
    

// ---------------------------------------------------------
//   
//   r_iaupdate_refresh_dialog
//   Refresh dialog
//
// ---------------------------------------------------------
//

RESOURCE DIALOG r_iaupdate_refresh_dialog
    {
    flags = EAknWaitNoteFlags;

    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EGeneralNote;
            control = AVKON_NOTE
                {
                layout = EWaitLayout;
                singular_label = qtn_swupdate_refreshing_update_list;
                imagefile = AVKON_BITMAP_FILE;
                imageid = EMbmAvkonQgn_note_progress;
                imagemask = EMbmAvkonQgn_note_progress_mask;
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }
    
   
  


//------------------------------------------------------------------------------
//
//    r_iaupdate_wait_dialog
//    Defines a wait dialog
//
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_iaupdate_wait_dialog
    {
    flags = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EGeneralNote;
            control = AVKON_NOTE
                {
                layout = EWaitLayout;
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;                
                };
            }
        };
    }

//------------------------------------------------------------------------------
//
//    r_iaupdate_progress_dialog
//    Defines a progress dialog
//
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_iaupdate_progress_dialog
    {
    flags = EAknProgressNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EAknNoteProgressBar;
            control = AVKON_NOTE
                {
                layout = EProgressLayout;                            
                };
            }
        };
    }

//----------------------------------------------------
//
// r_fota_check_wait_note
//
//----------------------------------------------------
//
RESOURCE DIALOG r_fota_check_wait_note
    {
    flags = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EGeneralNote;
            control = AVKON_NOTE 
                {
                layout = EWaitLayout;
                singular_label = qtn_gen_note_processing;
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    } 


//------------------------------------------------------------------------------
// Softkey resource
//------------------------------------------------------------------------------
//
RESOURCE CBA r_iaupdate_softkeys_options_exit__options
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyExit;
            txt = text_softkey_exit;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            }
        };
    }


// ---------------------------------------------------------
//   
//   r_iaupdate_main_view
//   Main view
//
// ---------------------------------------------------------
//
RESOURCE AVKON_VIEW r_iaupdate_main_view
    {
    menubar = r_iaupdate_main_menubar;
    cba = r_iaupdate_softkeys_options_exit__options;
    toolbar = r_iaupdate_main_toolbar;
    }

    
// ---------------------------------------------------------
//   
//   r_iaupdate_text_title_main_view
//   title pane resource for status pane in main view
//
// ---------------------------------------------------------
//   
RESOURCE TBUF r_iaupdate_text_title_main_view
    {
    buf = qtn_swupdate_title_ph2;
    }

// ---------------------------------------------------------
//   
//   r_iaupdate_main_menubar
//   Menu for main view
//
// ---------------------------------------------------------
//

RESOURCE MENU_BAR r_iaupdate_main_menubar
    {
    titles =
        {
        MENU_TITLE {menu_pane = r_iaupdate_main_menu;}
        };
    }

// ---------------------------------------------------------
//   
//   r_iaupdate_main_menu
//   Menu for main view
//
// ---------------------------------------------------------
//

RESOURCE MENU_PANE r_iaupdate_main_menu
    {
    items = 
        {
        MENU_ITEM 
            {
            command = EIAUpdateCmdStartUpdate; 
            txt = qtn_swupdate_option_start_update;
            },
        MENU_ITEM
            {
            command = EIAUpdateCmdUpdateWithPC;
            txt = qtn_swupdate_option_update_with_pc;
            },
        MENU_ITEM 
            {
            command = EAknCmdMark; 
            txt = qtn_options_list_mark_one;
            flags = EEikMenuItemAction;  
            },
        MENU_ITEM 
            {
            command = EAknCmdUnmark; 
            txt = qtn_options_list_unmark_one;
            flags = EEikMenuItemAction;
            },
        MENU_ITEM 
            {
            command = EIAUpdateCmdUpdateDetails; 
            txt = qtn_swupdate_option_update_details;
            flags = EEikMenuItemSpecific; 
            },
        MENU_ITEM 
            {
            command = EIAUpdateCmdUpdateHistory; 
            txt = qtn_swupdate_option_update_history;
            },
        MENU_ITEM 
            {
            command = EIAUpdateCmdSettings; 
            txt = qtn_swupdate_option_settings;
            },
        MENU_ITEM 
            {
            command = EIAUpdateCmdDisclaimer; 
            txt = qtn_swupdate_option_disclaimer;
            },
        MENU_ITEM 
            {
            command = EAknCmdHelp;
            txt = qtn_options_help;
            },
        MENU_ITEM 
            {
            command = EAknCmdExit;   
            txt = qtn_options_exit;
            }
            
        };
    }


//----------------------------------------------------
//
//    r_iaupdate_main_toolbar
//
//
//
//----------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_iaupdate_main_toolbar
    {
    flags = KAknToolbarFixed;
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EIAUpdateCmdStartUpdate;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText; 
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_swupdate_tb_tooltip_start_update;
                        bmpfile = BITMAP_DIR"\\iaupdate.mif";
#ifndef __S60_32__
                        bmpid = EMbmIaupdateQgn_indi_tb_swupd_start;
                        bmpmask = EMbmIaupdateQgn_indi_tb_swupd_start_mask;
#endif
                        } 
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EIAUpdateCmdMarkedUpdateDetails;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText; 
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_swupdate_tb_tooltip_details;
                        bmpfile = BITMAP_DIR"\\iaupdate.mif";
#ifndef __S60_32__
                        bmpid = EMbmIaupdateQgn_indi_tb_swupd_detail;
                        bmpmask = EMbmIaupdateQgn_indi_tb_swupd_detail_mask;
#endif
                        }  
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EIAUpdateCmdUpdateHistory;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText; 
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_swupdate_tb_tooltip_history;
                        bmpfile = BITMAP_DIR"\\iaupdate.mif";
#ifndef __S60_32__
                        bmpid = EMbmIaupdateQgn_indi_tb_swupd_history;
                        bmpmask = EMbmIaupdateQgn_indi_tb_swupd_history_mask;
#endif
                        }  
                    };            
                };
            }
        };
    }





   
// ---------------------------------------------------------
//   
//   r_iaupdate_updates_list
//   List of updates available
//
// ---------------------------------------------------------
RESOURCE LISTBOX r_iaupdate_updates_list
    {
    flags = EAknListBoxMultiselectionList;
    }

	    
// ---------------------------------------------------------
//   
//   r_iaupdate_history_list
//   List of update history
//
// ---------------------------------------------------------
RESOURCE LISTBOX r_iaupdate_history_list
    {
    flags = EAknListBoxSelectionList;
    }

// ---------------------------------------------------------
//   
//   r_iaupdate_history_view
//   History view
//
// ---------------------------------------------------------
//
RESOURCE AVKON_VIEW r_iaupdate_history_view
    {
    cba = R_AVKON_SOFTKEYS_BACK;
    }
       


// ---------------------------------------------------------
//   
//   Strings
//
// ---------------------------------------------------------
//


RESOURCE TBUF r_iaupdate_navipane_kilobyte 
    {
    buf = qtn_swupdate_navipane_kilobyte;
    }

RESOURCE TBUF r_iaupdate_navipane_megabyte 
    {
    buf = qtn_swupdate_navipane_megabyte;
    }

     
RESOURCE TBUF r_iaupdate_no_updates_done
    { 
    buf = qtn_swupdate_no_updates_done_main_pane;
    }

RESOURCE TBUF r_iaupdate_text_download_cancelled
    {
    buf = qtn_swupdate_download_cancelled;
    }
    
RESOURCE TBUF r_iaupdate_text_download_failed
    {
    buf = qtn_swupdate_download_failed;
    }

RESOURCE TBUF r_iaupdate_text_install_cancelled
    {
    buf = qtn_swupdate_installation_cancelled;
    }
    
RESOURCE TBUF r_iaupdate_text_install_failed
    {
    buf = qtn_swupdate_installation_failed;
    }

RESOURCE TBUF r_iaupdate_text_update_successfull
    {
    buf = qtn_swupdate_update_successful;
    }

RESOURCE TBUF r_iaupdate_text_update_no_memory
    {
    buf = qtn_swupdate_not_enough_memory;
    }

RESOURCE TBUF r_iaupdate_text_title_pane_history
    {
    buf = qtn_swupdate_history_title;
    }

RESOURCE TBUF r_iaupdate_firmware_with_others
    {
    buf = qtn_swupdate_firmware_with_others;
    }

RESOURCE TBUF r_iaupdate_cannot_omit
    {
    buf = qtn_swupdate_cannot_omit;
    }

//background check strings

RESOURCE LBUF r_iaupdate_update_available
    {
    txt = qtn_swupdate_update_available;
    }

RESOURCE LBUF r_iaupdate_features_available
    {
    txt = qtn_swupdate_features_available_query;
    }

RESOURCE LBUF r_iaupdate_remind_later
    {
    txt = qtn_swupdate_remind_later;
    }

RESOURCE LBUF r_text_softkey_later
    {
    txt = text_softkey_later;
    }

RESOURCE LBUF r_text_softkey_show
    {
    txt = text_softkey_show;
    }

RESOURCE LBUF r_text_softkey_yes
    {
    txt = text_softkey_yes;
    }

RESOURCE LBUF r_text_softkey_no
    {
    txt = text_softkey_no;
    }

RESOURCE LBUF r_text_softkey_ok
    {
    txt = text_softkey_ok;
    }

RESOURCE LBUF r_text_softkey_cancel
    {
    txt = text_softkey_cancel;
    }

//
// Utility resources
//


//------------------------------------------------------------------------------
// message query resource
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_iaupdate_message_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
    items=
        {
        DLG_LINE 
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                };
            }
        };
    }


//------------------------------------------------------------------------------
// confirmation query resource
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_iaupdate_confirmation_query
	{ 
	flags=EGeneralQueryFlags;
	buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
	items=
		{
		DLG_LINE
			{
			type=EAknCtQuery;
			id=EGeneralQuery;
			control=AVKON_CONFIRMATION_QUERY
				{
				layout=EConfirmationLayout;
				};
			}
		};
	} 

//------------------------------------------------------------------------------
// information query resource
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_iaupdate_information_query
    {
    flags=EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
    items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control= AVKON_CONFIRMATION_QUERY
                {
                layout = EConfirmationQueryLayout;
                animation = R_QGN_NOTE_INFO_ANIM;
                };
            }
        };
    }


//
// Not enough memory dialog resources
//

RESOURCE TBUF r_iaupdate_insufficient_memory
    {
    buf = qtn_swupdate_insufficient_memory;
    }

//
// Automatic updates check dialog resources
//

    
RESOURCE TBUF r_iaupdate_turn_on_autoupd_checks
    {
    buf = qtn_swupdate_turn_on_autoupd_checks;
    }


//
// Phone restart query dialog resources
//
RESOURCE TBUF r_iaupdate_phone_restart_query
    {
    buf = qtn_swupdate_phone_restart_query;
    }


//
// Activate automatic network connections dialog resources
//

RESOURCE TBUF r_iaupdate_allow_nw_title
    {
    buf = qtn_swupdate_allow_nw_title;
    }
   
//
// Dependencies found dialog resources
//

RESOURCE TBUF r_iaupdate_dependency_title
    {
    buf = qtn_swupdate_dependency_title; 	
    }

RESOURCE TBUF r_iaupdate_dependency_mark_one
    {
    buf = qtn_swupdate_dependency_mark_one; 
    }    

RESOURCE TBUF r_iaupdate_dependency_unmark_one
    {
    buf = qtn_swupdate_dependency_unmark_one; 	
    }

RESOURCE TBUF r_iaupdate_dependency_mark_many
    {
    buf = qtn_swupdate_dependency_mark_many; 	
    }
    
RESOURCE TBUF r_iaupdate_dependency_unmark_many
    {
    buf = qtn_swupdate_dependency_unmark_many; 	
    }

RESOURCE TBUF r_iaupdate_separator
    {
    buf = qtn_swupdate_separator;
    }


//
// Update status dialog resources
//

RESOURCE TBUF r_iaupdate_status_dialog_title
    {
    buf = qtn_swupdate_results;
    }

RESOURCE TBUF r_iaupdate_status_dialog_successful
    {
    buf = qtn_swupdate_successful;
    }

RESOURCE TBUF r_iaupdate_status_dialog_successful_one
    {
    buf = qtn_swupdate_successful_one;
    }
RESOURCE TBUF r_iaupdate_status_dialog_cancelled
    {
    buf = qtn_swupdate_cancelled;
    }

RESOURCE TBUF r_iaupdate_status_dialog_cancelled_one
    {
    buf = qtn_swupdate_cancelled_one;
    }

RESOURCE TBUF r_iaupdate_status_dialog_failed
    {
    buf = qtn_swupdate_failed;
    }

RESOURCE TBUF r_iaupdate_status_dialog_failed_one
    {
    buf = qtn_swupdate_failed_one;
    }

RESOURCE TBUF r_iaupdate_close_all
    {
    buf = qtn_swupdate_close_all;	
    }    

RESOURCE TBUF r_iaupdate_status_dialog_text_link
    {
    buf = qtn_swupdate_text_link;
    }



//
// Update details dialog resources
//

RESOURCE TBUF r_iaupdate_details_dialog_title
    {
    buf = qtn_swupdate_details_title;
    }

RESOURCE TBUF r_iaupdate_details_dialog_app_name
    {
    buf = qtn_swupdate_application_name;
    }

RESOURCE TBUF r_iaupdate_details_dialog_description
    {
    buf = qtn_swupdate_description;
    }

RESOURCE TBUF r_iaupdate_details_dialog_version
    {
    buf = qtn_swupdate_version;
    }

RESOURCE TBUF r_iaupdate_details_dialog_version_format
    {
    buf = qtn_swupdate_version_format;
    }

RESOURCE TBUF r_iaupdate_details_dialog_file_size
    {
    buf = qtn_swupdate_file_size;
    }

RESOURCE TBUF r_iaupdate_details_dialog_size_kilobyte
    {
    buf = qtn_swupdate_size_kilobyte;
    }

RESOURCE TBUF r_iaupdate_details_dialog_size_megabyte
    {
    buf = qtn_swupdate_size_megabyte;
    }

RESOURCE TBUF r_iaupdate_fw_description
    {
    buf = qtn_swupdate_fw_description_text;
    }


//
// Settings dialog resources
//

RESOURCE TBUF r_iaupdate_setting_dialog_title
    {
    buf = qtn_swupdate_setting_dialog_title;
    }


RESOURCE MENU_BAR r_iaupdate_setting_dialog_menu
	{
	titles= 
	    { 
	    MENU_TITLE 
                { 
	        menu_pane=r_iaupdate_setting_dialog_menu_pane;
	        }
	    };
	}


RESOURCE MENU_PANE r_iaupdate_setting_dialog_menu_pane
    {
    items=
        {
	MENU_ITEM { command=EAknCmdOpen; txt=qtn_options_change; flags = EEikMenuItemAction; },
		
    	MENU_ITEM { command=EAknCmdHelp; txt=qtn_options_help; },
    	
	MENU_ITEM { command=EAknCmdExit; txt=qtn_options_exit; }        
        };
    }


//------------------------------------------------------------------------------
// Softkey resource
//------------------------------------------------------------------------------
//
RESOURCE CBA r_cba_options_back_change
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = text_softkey_back;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyOpen;
            txt = qtn_msk_change;
            }
        };
    }



// -----------------------------------------------------------------------------
// setting dialog resource.
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_iaupdate_setting_dialog
    {
    flags=EEikDialogFlagWait | 
          EEikDialogFlagFillAppClientRect | 
          EEikDialogFlagNotifyEsc | 
          EEikDialogFlagCbaButtons;
    
    buttons = r_cba_options_back_change;
    
    items=
        {
        DLG_LINE
            {
            type=EAknCtLastControlId;
	          itemflags=EEikDlgItemTakesEnterKey;
	          id=EIAUpdateSettingDialogList;
	          control=AVKON_SETTING_ITEM_LIST
	          {
	          items =
                  {
                  AVKON_SETTING_ITEM
                      {
                      identifier = EIAUpdateSettingAccessPoint;
                      name = qtn_swupdate_default_access_point;
                      },
                 AVKON_SETTING_ITEM
                     {
                     identifier = EIAUpdateSettingAutoUpdateCheck;
                     name = qtn_swupdate_automatic_update_checks;
                     setting_page_resource = r_iaupdate_auto_update_check_setting_page;
                     associated_resource = r_iaupdate_auto_update_check_texts;
                     }
                 };
	          };
            }
        };
    }


// -----------------------------------------------------------------------------
//
// r_iaupdate_default_connection
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_iaupdate_default_connection
    {
    buf = qtn_swupdate_default_connection;
    }



// -----------------------------------------------------------------------------
//
// r_iaupdate_roaming_warning_texts
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_POPUP_SETTING_TEXTS r_iaupdate_auto_update_check_texts
    {
    flags = 0;
    setting_texts_resource = r_iaupdate_auto_update_check_texts_array;
    }


// -----------------------------------------------------------------------------
//
// r_iaupdate_auto_update_check_texts
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE ARRAY r_iaupdate_auto_update_check_texts_array
    {
    items =
        {
        AVKON_ENUMERATED_TEXT { value = EIAUpdateSettingValueEnable; 
                                text = qtn_swupdate_checks_enabled; },
        AVKON_ENUMERATED_TEXT { value = EIAUpdateSettingValueDisableWhenRoaming;  
                                text = qtn_swupdate_checks_no_when_roaming; },
        AVKON_ENUMERATED_TEXT { value = EIAUpdateSettingValueDisable;  
                                text = qtn_swupdate_checks_disabled; }
        };
    }
    
// -----------------------------------------------------------------------------
//
// r_iaupdate_roaming_warning_texts
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_POPUP_SETTING_TEXTS r_iaupdate_roaming_warning_texts
    {
    flags = 0;
    setting_texts_resource = r_iaupdate_roaming_warning_texts_array;
    }


RESOURCE ARRAY r_iaupdate_roaming_warning_texts_array
    {
    items =
        {
        AVKON_ENUMERATED_TEXT { value = EIAUpdateSettingValueOn; 
                                text = qtn_swupdate_roaming_warn_on; },
        AVKON_ENUMERATED_TEXT { value = EIAUpdateSettingValueOff;  
                                text = qtn_swupdate_roaming_warn_off; }
        };
    }
    

// -----------------------------------------------------------------------------
//
// r_iaupdate_auto_update_check_setting_page
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_iaupdate_auto_update_check_setting_page
    {
    label = qtn_swupdate_automatic_update_checks;
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    type = EAknCtPopupSettingList;
    editor_resource_id = r_iaupdate_empty_popup_setting_list_control;
    }

    
// -----------------------------------------------------------------------------
//
// r_iaupdate_roaming_warning_setting_page
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_iaupdate_roaming_warning_setting_page
    {
    label = qtn_swupdate_roaming_warning;
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    type = EAknCtPopupSettingList;
    editor_resource_id = r_iaupdate_empty_popup_setting_list_control;
    }


// -----------------------------------------------------------------------------
//
// r_iaupdate_empty_popup_setting_list_control
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE POPUP_SETTING_LIST r_iaupdate_empty_popup_setting_list_control
    {
    }



//
// Agreement dialog resources
//

RESOURCE TBUF r_iaupdate_agreement_dialog_title
    {
    buf = qtn_swupdate_nokia_agreement_title;
    }

RESOURCE TBUF r_iaupdate_agreement_dialog_text_1
    {
    buf = qtn_swupdate_nokia_agreement_1_phase2;
    }

RESOURCE TBUF r_iaupdate_agreement_dialog_text_2
    {
    buf = qtn_swupdate_nokia_agreement_2_phase2;
    }

RESOURCE TBUF r_iaupdate_agreement_dialog_text_3
    {
    buf = qtn_swupdate_nokia_agreement_3_phase2;
    }

RESOURCE TBUF r_iaupdate_agreement_dialog_text_4
    {
    buf = qtn_swupdate_nokia_agreement_4_phase2;
    }
    
RESOURCE TBUF r_iaupdate_agreement_dialog_text_5
    {
    buf = qtn_swupdate_nokia_agreement_5_phase2;
    }
    
RESOURCE TBUF r_iaupdate_agreement_dialog_text_6
    {
    buf = qtn_swupdate_nokia_agreement_6_phase2;
    }
    
RESOURCE TBUF r_iaupdate_agreement_dialog_text_7
    {
    buf = qtn_swupdate_nokia_agreement_7_phase2;
    }
    
RESOURCE TBUF r_iaupdate_agreement_dialog_text_8
    {
    buf = qtn_swupdate_nokia_agreement_8_phase2;
    }
    
RESOURCE TBUF r_iaupdate_agreement_dialog_text_9
    {
    buf = qtn_swupdate_nokia_agreement_9_phase2;
    }
    
RESOURCE TBUF r_iaupdate_agreement_dialog_copyright
    {
    buf = qtn_swupdate_nokia_agreement_copyright_phase2;
    }
//------------------------------------------------------------------------------
//
//    r_iaupdate_softkeys_accept_decline__accept
//    Defines softkeys accept, decline, accept (MSK)
//
//------------------------------------------------------------------------------
//
RESOURCE CBA r_iaupdate_softkeys_accept_decline__accept
    {
    buttons =
        {
        CBA_BUTTON { id = EAknSoftkeyYes; txt = text_softkey_accept; },
        CBA_BUTTON { id = EAknSoftkeyNo; txt = qtn_swupdate_softkey_decline; },
        CBA_BUTTON { id = EAknSoftkeyYes; txt = text_softkey_accept; }
        };
    }


//------------------------------------------------------------------------------
//
//    r_iaupdate_softkeys_now_later__now
//    Defines softkeys now, later, now (MSK)
//
//------------------------------------------------------------------------------
//
RESOURCE CBA r_iaupdate_softkeys_now_later__now
    {
    buttons =
        {
        CBA_BUTTON { id = EIAUpdateSoftkeyNow; txt = qtn_swupdate_now; },
        CBA_BUTTON { id = EIAUpdateSoftkeyLater; txt = qtn_swupdate_later; },
        CBA_BUTTON { id = EIAUpdateSoftkeyNow; txt = qtn_swupdate_now; }
        };
    }
    
//------------------------------------------------------------------------------
//
//    r_iaupdate_softkeys_continue_cancel__continue
//    Defines softkeys continue, canclel, continue (MSK)
//
//------------------------------------------------------------------------------
//
RESOURCE CBA r_iaupdate_softkeys_continue_cancel__continue
    {
    buttons =
        {
        CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_continue; },
        CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; },
        CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_continue; }
        };
    }