appinstaller/AppinstUi/Plugin/CommonUI/Data/SWInstCommonUI.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:51:10 +0200
changeset 0 ba25891c3a9e
child 57 0dae4436159f
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2002-2008 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 for SWInstCommonUI module.
*
*/


NAME COUI

#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <avkon.loc>
#include <CommonDialogs.hrh> 
#include <CommonDialogs.rh> 

#include <appinstui.loc>

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = ""; }


//------------------------------------------------------------------------------
//
//    r_swcommon_general_wait_dialog
//    Defines a common wait dialog
//
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_swcommon_general_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;                
                };
            }
        };
    }

RESOURCE DIALOG r_swcommon_general_progress_dialog
    {
    flags = EAknProgressNoteFlags;
    buttons = R_AVKON_SOFTKEYS_EMPTY;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EAknNoteProgressBar;
            control = AVKON_NOTE
                {
                layout = EProgressLayout;                            
                };
            }
        };
    }

//------------------------------------------------------------------------------
//
//    r_swcommon_general_confirmation_query
//    Defines a common confirmation query
//
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_swcommon_general_confirmation_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; 
    items=
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY 
                { 
                layout = EConfirmationQueryLayout;                
                };
            }
        };
    }

//------------------------------------------------------------------------------
//
//    r_swcommon_security_warning_dialog
//    Defines a warning dialog for untrusted applications
//
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_swcommon_security_warning_dialog
    {
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    buttons = r_swcommon_softkeys_continue_cancel__continue;
    items =
        {
        DLG_LINE 
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                label = qtn_am_note_head_security_warn;
                headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {                
                };
            }
        };

    }

//------------------------------------------------------------------------------
//
//    r_swcommon_sec_selection_dialog
//    Defines a selection dialog for certificate
//
//------------------------------------------------------------------------------
//
RESOURCE AVKON_LIST_QUERY r_swcommon_sec_selection_dialog
    {
    softkeys = R_AVKON_SOFTKEYS_SELECT_BACK__SELECT;
    items=
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                { 
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    array_id = r_swcommon_empty_array;
                    };                
                };  
            }
        };
    }

//------------------------------------------------------------------------------
//
//    r_swcommon_sec_details_dialog
//    Defines a details dialog for a certificate
//
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_swcommon_sec_details_dialog
    {
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
    items =
        {
        DLG_LINE 
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                label = qtn_swins_heading_cert;
                headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                };
            }
        };
    }

//------------------------------------------------------------------------------
//
//    r_swcommon_details_dialog
//    Defines a details dialog for a certificate
//
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_swcommon_details_dialog
    {
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
    items =
        {
        DLG_LINE 
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                label = qtn_swins_heading_det;
                headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                };
            }
        };
    }

//------------------------------------------------------------------------------
//
//    r_swcommon_drive_query
//    Defines a memory selection dialog
//
//------------------------------------------------------------------------------
RESOURCE MEMORYSELECTIONDIALOG r_swcommon_memory_selection_dialog
    {
    softkey_1 = text_softkey_select;
    softkey_2 = text_softkey_cancel;
    }

//------------------------------------------------------------------------------
//
//    r_swcommon_softkeys_continue_cancel
//    Defines softkeys continue, cancel
//
//------------------------------------------------------------------------------
//
RESOURCE CBA r_swcommon_softkeys_continue_cancel
    {
    buttons =
        {
        CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_continue; },
        CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }
        };
    }



//------------------------------------------------------------------------------
//
//    r_swcommon_softkeys_continue_cancel__continue
//    Defines softkeys continue, cancel, continue (MSK)
//
//------------------------------------------------------------------------------
//
RESOURCE CBA r_swcommon_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; }
        };
    }

//------------------------------------------------------------------------------
//
//    r_swcommon_empty_array
//    Defines an empty array
//
//------------------------------------------------------------------------------
//
RESOURCE ARRAY r_swcommon_empty_array
    {
    items=
        {
        LBUF { txt=""; }
        };
    }

//------------------------------------------------------------------------------
//
//    String definitions
//
//------------------------------------------------------------------------------
//

// Security warning dialog
RESOURCE TBUF r_swcommon_security_warning_head { buf = qtn_am_note_head_security_warn; }
RESOURCE TBUF r_swcommon_security_warning { buf = qtn_am_note_text_security_warn; }
RESOURCE TBUF r_swcommon_security_warning_more_info { buf = qtn_swins_link_more_info; }

// For memory selection dialog
RESOURCE TBUF r_swcommon_memory_heading { buf = qtn_jam_lqh_instlocation; }
RESOURCE TBUF r_swcommon_not_enough_memory_in_drive { buf = qtn_jam_note_memerror; }

// For details dialog
RESOURCE TBUF r_swcommon_detail_heading { buf = qtn_swins_heading_det; }
RESOURCE TBUF r_swcommon_detail_technology { buf = qtn_am_detail_technology; }
RESOURCE TBUF r_swcommon_detail_name { buf = qtn_swins_lsh2_apps_name; }
RESOURCE TBUF r_swcommon_detail_version { buf = qtn_swins_lsh2_apps_version; }
RESOURCE TBUF r_swcommon_detail_type { buf = qtn_swins_lsh2_apps_type; }
RESOURCE TBUF r_swcommon_detail_appsize { buf = qtn_swins_lsh2_apps_size; }
RESOURCE TBUF r_swcommon_detail_supplier { buf = qtn_swins_lsh2_apps_from; }
RESOURCE TBUF r_swcommon_detail_status { buf = qtn_swins_lsh2_apps_status; }
RESOURCE TBUF r_swcommon_detail_datasize { buf = qtn_jam_info_data_size; }
RESOURCE TBUF r_swcommon_detail_location { buf = qtn_jam_info_memory; }
RESOURCE TBUF r_swcommon_detail_domain { buf = qtn_am_info_midlet_domain_trust; }
RESOURCE TBUF r_swcommon_detail_permissions { buf = qtn_am_info_midlet_permissions; }
RESOURCE TBUF r_swcommon_detail_content { buf = qtn_am_detail_suite_content; }
RESOURCE TBUF r_swcommon_detail_info_url { buf = qtn_jam_info_url; }
RESOURCE TBUF r_swcommon_detail_certificates { buf = qtn_am_detail_cert; }
RESOURCE TBUF r_swcommon_detail_drm { buf = qtn_am_detail_drm; }

RESOURCE TBUF r_swcommon_detail_value_application { buf = qtn_swins_ls1_install_app; }
RESOURCE TBUF r_swcommon_detail_value_widget { buf = qtn_swins_ls1_install_widget; }
RESOURCE TBUF r_swcommon_detail_value_installed { buf = qtn_swins_ls1_fully_inst; }
RESOURCE TBUF r_swcommon_detail_value_not_installed { buf = qtn_swins_ls1_not_inst; }
RESOURCE TBUF r_swcommon_detail_value_running { buf = qtn_jam_info_stat_running; }
RESOURCE TBUF r_swcommon_detail_value_not_loaded { buf = qtn_jam_info_stat_not_loaded; }
#ifdef RD_MULTIPLE_DRIVE
RESOURCE TBUF r_swcommon_detail_value_device { buf = qtn_am_details_mem_device; }
RESOURCE TBUF r_swcommon_detail_value_mmc { buf = qtn_am_details_mem_memory_card; }
#else
RESOURCE TBUF r_swcommon_detail_value_device { buf = qtn_jam_info_mem_device; }
RESOURCE TBUF r_swcommon_detail_value_mmc { buf = qtn_jam_info_mem_mmc; }
#endif // RD_MULTIPLE_DRIVE
RESOURCE TBUF r_swcommon_detail_value_operator { buf = qtn_am_info_operator; }
RESOURCE TBUF r_swcommon_detail_value_manufacturer { buf = qtn_am_info_manufacturer; }
RESOURCE TBUF r_swcommon_detail_value_3rd_party { buf = qtn_am_info_trusted_3rd_party; }
RESOURCE TBUF r_swcommon_detail_value_unt_3rd_party { buf = qtn_am_info_untrusted_3rd_party; }
RESOURCE TBUF r_swcommon_detail_value_size { buf = qtn_swins_ls1_kilobyte; }
RESOURCE TBUF r_swcommon_detail_value_view_cert { buf = qtn_am_cert_details; }
RESOURCE TBUF r_swcommon_detail_value_view_drm { buf = qtn_am_drm_details; }
RESOURCE TBUF r_swcommon_detail_value_unknown_supplier { buf = qtn_am_detail_unknown_supplier; }
RESOURCE TBUF r_swcommon_detail_value_unknown_size { buf = qtn_am_detail_unknown_size; }
RESOURCE TBUF r_swcommon_detail_value_unknown_data { buf = qtn_am_detail_unknown_data; }
RESOURCE TBUF r_swcommon_detail_value_unknown_type { buf = qtn_am_detail_unknown_type; }
RESOURCE TBUF r_swcommon_detail_value_unknown_url { buf = qtn_am_detail_unknown_url; }


// For certificate details dialog
RESOURCE TBUF r_swcommon_sec_subject { buf = qtn_swins_cert_subject; }
RESOURCE TBUF r_swcommon_sec_issuer { buf = qtn_swins_lsh2_issuer; }
RESOURCE TBUF r_swcommon_sec_valid_from { buf = qtn_swins_lsh2_valid; }
RESOURCE TBUF r_swcommon_sec_valid_until { buf = qtn_swins_cert_valid; }
RESOURCE TBUF r_swcommon_sec_serial { buf = qtn_swins_lsh2_serial; }
RESOURCE TBUF r_swcommon_sec_fingerprint { buf = qtn_swins_cert_fingerprint; }

// Common prompts
RESOURCE TBUF r_swcommon_cancel_installation { buf = qtn_swins_note_cancel_conf; }

RESOURCE TBUF r_swcommon_not_enough_memory { buf = qtn_memlo_not_enough_memory; }


// For installation complete dialog

//------------------------------------------------------------------------------
//
//    r_swcommon_start_query
//    Defines a installation complete dialog for Java applications
//
//------------------------------------------------------------------------------
//
RESOURCE AVKON_LIST_QUERY r_swcommon_start_query
    {
    flags = EGeneralQueryFlags;
    softkeys = r_swcommon_softkeys_start_close__start;

    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtDoubleLargeGraphicPopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    };
                heading = qtn_swins_installation_complete_head;
                };
            }
        };
    }

//------------------------------------------------------------------------------
//
//    r_swcommon_softkeys_start_close__start
//    Defines softkeys start, close, start (MSK)
//
//------------------------------------------------------------------------------
//
RESOURCE CBA r_swcommon_softkeys_start_close__start
    {
    buttons =
        {
        CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_start; },
        CBA_BUTTON { id = EAknSoftkeyClose; txt = text_softkey_close; },
        CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_start; }
        };
    }


RESOURCE TBUF r_swcommon_installed_folder_head { buf = qtn_jam_installed_folder; }
RESOURCE TBUF r_swcommon_installed_folder { buf = qtn_swins_installed_folder; }

//------------------------------------------------------------------------------
//
//    r_swcommon_multi_uninstall_dialog
//    Defines a dialog for confirmation to uninstall several applications
//
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_swcommon_multi_uninstall_dialog
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    items =
        {
        DLG_LINE 
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                label = qtn_swins_heading_uninst_midlet_suite;  
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                };
            }
        };
    }

RESOURCE TBUF r_swcommon_query_uninst_midlet_suite { buf = qtn_swins_query_uninst_midlet_suite; }
RESOURCE TBUF r_swcommon_sec_fingerprint_md { buf = qtn_swins_cert_fingerprint_md; }
#ifdef RD_MULTIPLE_DRIVE
RESOURCE TBUF r_swcommon_detail_value_mass_storage { buf = qtn_am_details_mem_mass_storage; }
#endif
#ifdef RD_COMBINE_INSTALLATION_QUERIES
RESOURCE TBUF r_swcommon_header_install { buf = qtn_swins_header_install; }
RESOURCE TBUF r_swcommon_header_download { buf = qtn_swins_header_download; }
#endif

// End of File