securitydialogs/SecUi/GSSimSecPlugin/Data/GSSimSecPluginRsc.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 00:44:34 +0200
changeset 1 d5423fbb4f29
parent 0 164170e6151a
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* Copyright (c) 2005 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 General Settings
*
*/



//  RESOURCE IDENTIFIER
NAME    SIMS // 4 letter ID

//  INCLUDES
#include <gssecurity.loc>
#include "GSSimSecPlugin.hrh"
#include "GSSimSecPlugin.rh"

#include <avkon.loc> // Avkon localized strings
#include <avkon.mbg>
#include <avkon.rsg>
#include <EIKCORE.rsg>
#include <uikon.rh>
#include <eikon.rh>
#include <avkon.rh>

// CONSTANTS

//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE
    {
    }



//----------------------------------------------------
//  r_gs_sim_security_view_caption
// 
// Security view caption for plugin
//----------------------------------------------------
//
RESOURCE TBUF r_gs_sim_security_view_caption
    {
    buf = qtn_set_dev_sim_security;
    }


//----------------------------------------------------
//   
//    r_gs_sim_security_view_title
//    Security view title
//
//----------------------------------------------------
//

RESOURCE TITLE_PANE r_gs_sim_security_view_title
    {
    txt = qtn_set_title_security_phone_and_sim;        
    }

//----------------------------------------------------
//   
//    r_gs_sim_security_softkeys_options_back__change
//    SIM security view's CBA resource
//
//----------------------------------------------------
//
RESOURCE CBA r_gs_sim_security_softkeys_options_back__change
    {
    buttons =
        {
        CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
        CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; },
        CBA_BUTTON {id=EAknSoftkeyChange; txt= qtn_msk_change; }
        };
    }

//----------------------------------------------------
//   
//    r_gs_sim_security_view
//    SIM security view's menu
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_gs_sim_security_view
    {
    menubar = r_gs_sim_sec_menubar_change_exit;  
    cba = r_gs_sim_security_softkeys_options_back__change;
    }

// -----------------------------------------------------------------------------
//
// r_gs_menubar_change_exit
// GS menu with 'change' and 'exit' items.
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_gs_sim_sec_menubar_change_exit
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_gs_sim_sec_menu_item_exit;
            },
        MENU_TITLE
            {
            menu_pane = r_gs_sim_sec_menu_item_help;
            },
        MENU_TITLE
            {
            menu_pane = r_gs_sim_sec_menu_item_change;
            }
        };
    }

// -----------------------------------------------------------------------------
//
// r_gs_menu_item_exit
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_gs_sim_sec_menu_item_exit
    {
    items =
        {
        MENU_ITEM
            {
            command = EAknCmdExit;
            txt = qtn_options_exit;
            }
        };
    }


// -----------------------------------------------------------------------------
//
// r_gs_menu_item_change
// Change item.
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_gs_sim_sec_menu_item_change
    {
    items =
        {
        MENU_ITEM
            {
            flags = EEikMenuItemAction;
            command = EGSCmdAppChange;
            txt = qtn_options_change;
            }
        };
    }

// -----------------------------------------------------------------------------
//
// r_gs_menu_item_help
// Change item.
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_gs_sim_sec_menu_item_help
    {
    items =
        {
        MENU_ITEM
            {
            command = EAknCmdHelp;
            txt = qtn_options_help;
            }
        };
    }

//----------------------------------------------------
//   
//    r_sim_security_lbx
//    SIM security view's list box items
//
//----------------------------------------------------
//
RESOURCE SIM_SEC_FEATURE_ARRAY r_sim_security_lbx
    {
    items =
        {
        SIM_SEC_FEATURE
            {
            txt = " \t"qtn_set_code_in_use"\t\t";
            item = EGSSettIdCodeInUse;
            type = EGSListBoxItemTypeIsDynamic;
            },
        SIM_SEC_FEATURE
            {
            txt = " \t"qtn_set_upin_code_req"\t\t";
            item = EGSSettIdUpinRequest;
            type = EGSListBoxItemTypeIsDynamic;            
            },
        SIM_SEC_FEATURE
            {
            txt = " \t"text_pin_code_cntrl"\t\t";
            item = EGSSettIdPinRequest;
	    type = EGSListBoxItemTypeIsDynamic;            
            },
        SIM_SEC_FEATURE
            {
            txt = " \t"text_pin_change"\t\t";
            item = EGSSettIdPinCode;
            type = EGSListBoxItemTypeIsDynamic;
            },
        SIM_SEC_FEATURE
            {
            txt = " \t"qtn_set_upin_code"\t\t";
            item = EGSSettIdUpinCode;
            type = EGSListBoxItemTypeIsDynamic;
            },
        SIM_SEC_FEATURE
            {
            txt = " \t"text_pin2_change"\t\t";
            item = EGSSettIdPin2Code;
            },
        SIM_SEC_FEATURE
            {
            txt = " \t"qtn_set_autolock"\t\t";
            item = EGSSettIdAutolock;
            },
        SIM_SEC_FEATURE
            {
            txt = " \t"qtn_set_sec_code"\t\t";
            item = EGSSettIdSecurityCode;
            },
        SIM_SEC_FEATURE
            {
            txt = " \t"qtn_set_sim_change_sec"\t\t";
            item = EGSSettIdSimChange;
            },

#ifdef RD_REMOTELOCK
        SIM_SEC_FEATURE
            {
            txt = " \t"qtn_set_remotelock_status"\t\t";
            item = EGSSettIdRemoteLock;
            },
#endif //RD_REMOTELOCK

        SIM_SEC_FEATURE
            {
            txt = " \t"text_closed_user_groups"\t\t";
            item = EGSSettIdClosedUserGroup;
            type = EGSListBoxItemTypeIsDynamic;
            },
        SIM_SEC_FEATURE
            {
            txt = " \t"text_simatk_setting"\t\t";
            item = EGSSettIdSatOperations;
            type = EGSListBoxItemTypeIsDynamic;
            },
        SIM_SEC_FEATURE
            {
            txt = " \t"qtn_op_set_trusted_prov_server"\t\t ";
            item = EGSSettIdTPServer;
            type = EGSListBoxItemTypeIsDynamic;
            }
        };
}

//----------------------------------------------------
//   
//    r_autolock_array
//    Autolock array items
//
//----------------------------------------------------
//
RESOURCE ARRAY r_autolock_array
    {
    items =
        {
        LBUF
            {
            txt = qtn_set_autolock_off;
            },
        LBUF
            {
            txt = qtn_set_autolock_min_one;
            },
        LBUF
            {
            txt = qtn_set_autolock_value_min;
            }
        };    
    }

#ifdef RD_REMOTELOCK
//----------------------------------------------------
//   
//    r_remotelock_array
//    Remote Lock status (on/off) array items
//
//----------------------------------------------------
//
RESOURCE ARRAY r_remotelock_array
    {
    items =
        {
        LBUF
            {
            txt = qtn_set_remotelock_on;
            },
        LBUF
            {
            txt = qtn_set_remotelock_off;
            }
        };    
    }
#endif // RD_REMOTELOCK

//----------------------------------------------------
//   
//    r_pin_array
//    PIN array items
//
//----------------------------------------------------
//
RESOURCE ARRAY r_pin_array
    {
    items =
        {
        LBUF
            {
            txt = text_pin_code_on;
            },
        LBUF
            {
            txt = text_pin_code_off;
            }
        };    
    }

//----------------------------------------------------
//   
//    r_upin_array
//    UPIN array items
//
//----------------------------------------------------
//
RESOURCE ARRAY r_upin_array
    {
    items =
        {
        LBUF
            {
            txt = text_pin_code_on;
            },
        LBUF
            {
            txt = text_pin_code_off;
            }
        };    
    }

//----------------------------------------------------
//   
//    r_code_array
//    Code in use array items
//
//----------------------------------------------------
//
RESOURCE ARRAY r_code_array
    {
    items =
        {
        LBUF
            {
            txt = qtn_set_pin;
            },
        LBUF
            {
            txt = qtn_set_upin;
            }
        };    
    }


//----------------------------------------------------
//   
//    r_security_array
//    Security array items
//
//----------------------------------------------------
//
RESOURCE ARRAY r_security_array
    {
    items =
        {
        LBUF
            {
            txt = qtn_set_sim_change_sec_on;
            },
        LBUF
            {
            txt = qtn_set_sim_change_sec_off;
            }
        };    
    }


//----------------------------------------------------
//   
//    r_sat_array
//    SAT array items
//
//----------------------------------------------------
//
RESOURCE ARRAY r_sat_array
    {
    items =
        {
        LBUF
            {
            txt = text_simatk_notes_off;
            },
        LBUF
            {
            txt = text_simatk_notes_on;
            }
        };    
    }

//----------------------------------------------------
//   
//    r_cug_network_default
//
//----------------------------------------------------
//
RESOURCE TBUF r_cug_network_default { buf = text_cug_default; }

//----------------------------------------------------
//   
//    r_cug_on
//
//----------------------------------------------------
//
RESOURCE TBUF r_cug_on { buf = text_cug_group; }

//----------------------------------------------------
//   
//    r_cug_off
//
//----------------------------------------------------
//
RESOURCE TBUF r_cug_off { buf = text_cug_suppress; }

//----------------------------------------------------
//   
//    r_cug_index
//    CUG Index dialog resource
//
//----------------------------------------------------
//
RESOURCE DIALOG r_cug_index
    {
    flags=EGeneralQueryFlags; 
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    items =
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control= AVKON_DATA_QUERY             
                { 
                layout = ENumberLayout;
                label = text_give_group_number;
                control = AVKON_INTEGER_EDWIN         
                    {
                    maxlength = 5;
                    min=0;
                    max=99999;
                    };

                };
            }
        };
    }
  
//----------------------------------------------------
//   
//    r_cug_index_error_note
//    CUG Index error note dialog resource
//
//----------------------------------------------------
//  
RESOURCE DIALOG r_cug_index_error_note
    {
    flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar |
            EEikDialogFlagCbaButtons | EEikDialogFlagWait;
    buttons = R_AVKON_SOFTKEYS_EMPTY;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = ECugIndexErrorNote;
            control = AVKON_NOTE 
                { 
                layout = EGeneralLayout;
                singular_label = text_cug_error;
                animation = R_QGN_NOTE_ERROR_ANIM;
                };
            }
        };
    }            


//----------------------------------------------------
//   
//    r_cug_setting_page
//    CUG setting page dialog resource
//
//----------------------------------------------------
//  
RESOURCE AVKON_SETTING_PAGE r_cug_setting_page
    { 
    label= text_closed_user_groups;
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    type =  EAknSetListBox;
    editor_resource_id= r_cug_listbox;
    }

//----------------------------------------------------
//   
//    r_cug_listbox
//    CUG list box resource
//
//----------------------------------------------------
//  
RESOURCE LISTBOX r_cug_listbox
    {
    array_id = r_cug_lbx;
    flags = EEikListBoxMultipleSelection;
    }


//----------------------------------------------------
//   
//    r_cug_lbx
//    CUG list box items
//
//----------------------------------------------------
//  
RESOURCE ARRAY r_cug_lbx
    {
    items =
        {
        LBUF
            {
            txt = text_cug_default;
            },
        LBUF
            {
            txt = text_cug_group;
            },
        LBUF
            {
            txt = text_cug_suppress;
            }

        };
    }    


//----------------------------------------------------
//   
//    r_sat_setting_page
//    SAT setting page resource
//
//----------------------------------------------------
//  
RESOURCE AVKON_SETTING_PAGE r_sat_setting_page
    { 
    label= text_simatk_setting;
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    type =  EAknSetListBox;
    editor_resource_id= r_sat_listbox;
    }

//----------------------------------------------------
//   
//    r_sat_listbox
//    SAT list box resource
//
//----------------------------------------------------
//  
RESOURCE LISTBOX r_sat_listbox
    {
    array_id = r_sat_array;
    flags = EEikListBoxMultipleSelection;
    }

//End of File