securitydialogs/SecUi/GSSimSecPlugin/Data/GSSimSecPluginRsc.rss
branchGCC_SURGE
changeset 40 604cd42065d1
parent 29 b63e8c2d8cff
parent 38 e0432375ea67
equal deleted inserted replaced
29:b63e8c2d8cff 40:604cd42065d1
     1 /*
       
     2 * Copyright (c) 2005 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 General Settings
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 NAME    SIMS // 4 letter ID
       
    22 
       
    23 //  INCLUDES
       
    24 #include <gssecurity.loc>
       
    25 #include "GSSimSecPlugin.hrh"
       
    26 #include "GSSimSecPlugin.rh"
       
    27 
       
    28 #include <avkon.loc> // Avkon localized strings
       
    29 #include <avkon.mbg>
       
    30 #include <avkon.rsg>
       
    31 #include <EIKCORE.rsg>
       
    32 #include <uikon.rh>
       
    33 #include <eikon.rh>
       
    34 #include <avkon.rh>
       
    35 
       
    36 // CONSTANTS
       
    37 
       
    38 //  RESOURCE DEFINITIONS 
       
    39 
       
    40 RESOURCE RSS_SIGNATURE
       
    41     {
       
    42     }
       
    43 
       
    44 
       
    45 
       
    46 //----------------------------------------------------
       
    47 //  r_gs_sim_security_view_caption
       
    48 // 
       
    49 // Security view caption for plugin
       
    50 //----------------------------------------------------
       
    51 //
       
    52 RESOURCE TBUF r_gs_sim_security_view_caption
       
    53     {
       
    54     buf = qtn_set_dev_sim_security;
       
    55     }
       
    56 
       
    57 
       
    58 //----------------------------------------------------
       
    59 //   
       
    60 //    r_gs_sim_security_view_title
       
    61 //    Security view title
       
    62 //
       
    63 //----------------------------------------------------
       
    64 //
       
    65 
       
    66 RESOURCE TITLE_PANE r_gs_sim_security_view_title
       
    67     {
       
    68     txt = qtn_set_title_security_phone_and_sim;        
       
    69     }
       
    70 
       
    71 //----------------------------------------------------
       
    72 //   
       
    73 //    r_gs_sim_security_softkeys_options_back__change
       
    74 //    SIM security view's CBA resource
       
    75 //
       
    76 //----------------------------------------------------
       
    77 //
       
    78 RESOURCE CBA r_gs_sim_security_softkeys_options_back__change
       
    79     {
       
    80     buttons =
       
    81         {
       
    82         CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
       
    83         CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; },
       
    84         CBA_BUTTON {id=EAknSoftkeyChange; txt= qtn_msk_change; }
       
    85         };
       
    86     }
       
    87 
       
    88 //----------------------------------------------------
       
    89 //   
       
    90 //    r_gs_sim_security_view
       
    91 //    SIM security view's menu
       
    92 //
       
    93 //----------------------------------------------------
       
    94 //
       
    95 RESOURCE AVKON_VIEW r_gs_sim_security_view
       
    96     {
       
    97     menubar = r_gs_sim_sec_menubar_change_exit;  
       
    98     cba = r_gs_sim_security_softkeys_options_back__change;
       
    99     }
       
   100 
       
   101 // -----------------------------------------------------------------------------
       
   102 //
       
   103 // r_gs_menubar_change_exit
       
   104 // GS menu with 'change' and 'exit' items.
       
   105 //
       
   106 // -----------------------------------------------------------------------------
       
   107 //
       
   108 RESOURCE MENU_BAR r_gs_sim_sec_menubar_change_exit
       
   109     {
       
   110     titles =
       
   111         {
       
   112         MENU_TITLE
       
   113             {
       
   114             menu_pane = r_gs_sim_sec_menu_item_exit;
       
   115             },
       
   116         MENU_TITLE
       
   117             {
       
   118             menu_pane = r_gs_sim_sec_menu_item_help;
       
   119             },
       
   120         MENU_TITLE
       
   121             {
       
   122             menu_pane = r_gs_sim_sec_menu_item_change;
       
   123             }
       
   124         };
       
   125     }
       
   126 
       
   127 // -----------------------------------------------------------------------------
       
   128 //
       
   129 // r_gs_menu_item_exit
       
   130 //
       
   131 // -----------------------------------------------------------------------------
       
   132 //
       
   133 RESOURCE MENU_PANE r_gs_sim_sec_menu_item_exit
       
   134     {
       
   135     items =
       
   136         {
       
   137         MENU_ITEM
       
   138             {
       
   139             command = EAknCmdExit;
       
   140             txt = qtn_options_exit;
       
   141             }
       
   142         };
       
   143     }
       
   144 
       
   145 
       
   146 // -----------------------------------------------------------------------------
       
   147 //
       
   148 // r_gs_menu_item_change
       
   149 // Change item.
       
   150 //
       
   151 // -----------------------------------------------------------------------------
       
   152 //
       
   153 RESOURCE MENU_PANE r_gs_sim_sec_menu_item_change
       
   154     {
       
   155     items =
       
   156         {
       
   157         MENU_ITEM
       
   158             {
       
   159             flags = EEikMenuItemAction;
       
   160             command = EGSCmdAppChange;
       
   161             txt = qtn_options_change;
       
   162             }
       
   163         };
       
   164     }
       
   165 
       
   166 // -----------------------------------------------------------------------------
       
   167 //
       
   168 // r_gs_menu_item_help
       
   169 // Change item.
       
   170 //
       
   171 // -----------------------------------------------------------------------------
       
   172 //
       
   173 RESOURCE MENU_PANE r_gs_sim_sec_menu_item_help
       
   174     {
       
   175     items =
       
   176         {
       
   177         MENU_ITEM
       
   178             {
       
   179             command = EAknCmdHelp;
       
   180             txt = qtn_options_help;
       
   181             }
       
   182         };
       
   183     }
       
   184 
       
   185 //----------------------------------------------------
       
   186 //   
       
   187 //    r_sim_security_lbx
       
   188 //    SIM security view's list box items
       
   189 //
       
   190 //----------------------------------------------------
       
   191 //
       
   192 RESOURCE SIM_SEC_FEATURE_ARRAY r_sim_security_lbx
       
   193     {
       
   194     items =
       
   195         {
       
   196         SIM_SEC_FEATURE
       
   197             {
       
   198             txt = " \t"qtn_set_code_in_use"\t\t";
       
   199             item = EGSSettIdCodeInUse;
       
   200             type = EGSListBoxItemTypeIsDynamic;
       
   201             },
       
   202         SIM_SEC_FEATURE
       
   203             {
       
   204             txt = " \t"qtn_set_upin_code_req"\t\t";
       
   205             item = EGSSettIdUpinRequest;
       
   206             type = EGSListBoxItemTypeIsDynamic;            
       
   207             },
       
   208         SIM_SEC_FEATURE
       
   209             {
       
   210             txt = " \t"text_pin_code_cntrl"\t\t";
       
   211             item = EGSSettIdPinRequest;
       
   212 	    type = EGSListBoxItemTypeIsDynamic;            
       
   213             },
       
   214         SIM_SEC_FEATURE
       
   215             {
       
   216             txt = " \t"text_pin_change"\t\t";
       
   217             item = EGSSettIdPinCode;
       
   218             type = EGSListBoxItemTypeIsDynamic;
       
   219             },
       
   220         SIM_SEC_FEATURE
       
   221             {
       
   222             txt = " \t"qtn_set_upin_code"\t\t";
       
   223             item = EGSSettIdUpinCode;
       
   224             type = EGSListBoxItemTypeIsDynamic;
       
   225             },
       
   226         SIM_SEC_FEATURE
       
   227             {
       
   228             txt = " \t"text_pin2_change"\t\t";
       
   229             item = EGSSettIdPin2Code;
       
   230             },
       
   231         SIM_SEC_FEATURE
       
   232             {
       
   233             txt = " \t"qtn_set_autolock"\t\t";
       
   234             item = EGSSettIdAutolock;
       
   235             },
       
   236         SIM_SEC_FEATURE
       
   237             {
       
   238             txt = " \t"qtn_set_sec_code"\t\t";
       
   239             item = EGSSettIdSecurityCode;
       
   240             },
       
   241         SIM_SEC_FEATURE
       
   242             {
       
   243             txt = " \t"qtn_set_sim_change_sec"\t\t";
       
   244             item = EGSSettIdSimChange;
       
   245             },
       
   246 
       
   247 #ifdef RD_REMOTELOCK
       
   248         SIM_SEC_FEATURE
       
   249             {
       
   250             txt = " \t"qtn_set_remotelock_status"\t\t";
       
   251             item = EGSSettIdRemoteLock;
       
   252             },
       
   253 #endif //RD_REMOTELOCK
       
   254 
       
   255         SIM_SEC_FEATURE
       
   256             {
       
   257             txt = " \t"text_closed_user_groups"\t\t";
       
   258             item = EGSSettIdClosedUserGroup;
       
   259             type = EGSListBoxItemTypeIsDynamic;
       
   260             },
       
   261         SIM_SEC_FEATURE
       
   262             {
       
   263             txt = " \t"text_simatk_setting"\t\t";
       
   264             item = EGSSettIdSatOperations;
       
   265             type = EGSListBoxItemTypeIsDynamic;
       
   266             },
       
   267         SIM_SEC_FEATURE
       
   268             {
       
   269             txt = " \t"qtn_op_set_trusted_prov_server"\t\t ";
       
   270             item = EGSSettIdTPServer;
       
   271             type = EGSListBoxItemTypeIsDynamic;
       
   272             }
       
   273         };
       
   274 }
       
   275 
       
   276 //----------------------------------------------------
       
   277 //   
       
   278 //    r_autolock_array
       
   279 //    Autolock array items
       
   280 //
       
   281 //----------------------------------------------------
       
   282 //
       
   283 RESOURCE ARRAY r_autolock_array
       
   284     {
       
   285     items =
       
   286         {
       
   287         LBUF
       
   288             {
       
   289             txt = qtn_set_autolock_off;
       
   290             },
       
   291         LBUF
       
   292             {
       
   293             txt = qtn_set_autolock_min_one;
       
   294             },
       
   295         LBUF
       
   296             {
       
   297             txt = qtn_set_autolock_value_min;
       
   298             }
       
   299         };    
       
   300     }
       
   301 
       
   302 #ifdef RD_REMOTELOCK
       
   303 //----------------------------------------------------
       
   304 //   
       
   305 //    r_remotelock_array
       
   306 //    Remote Lock status (on/off) array items
       
   307 //
       
   308 //----------------------------------------------------
       
   309 //
       
   310 RESOURCE ARRAY r_remotelock_array
       
   311     {
       
   312     items =
       
   313         {
       
   314         LBUF
       
   315             {
       
   316             txt = qtn_set_remotelock_on;
       
   317             },
       
   318         LBUF
       
   319             {
       
   320             txt = qtn_set_remotelock_off;
       
   321             }
       
   322         };    
       
   323     }
       
   324 #endif // RD_REMOTELOCK
       
   325 
       
   326 //----------------------------------------------------
       
   327 //   
       
   328 //    r_pin_array
       
   329 //    PIN array items
       
   330 //
       
   331 //----------------------------------------------------
       
   332 //
       
   333 RESOURCE ARRAY r_pin_array
       
   334     {
       
   335     items =
       
   336         {
       
   337         LBUF
       
   338             {
       
   339             txt = text_pin_code_on;
       
   340             },
       
   341         LBUF
       
   342             {
       
   343             txt = text_pin_code_off;
       
   344             }
       
   345         };    
       
   346     }
       
   347 
       
   348 //----------------------------------------------------
       
   349 //   
       
   350 //    r_upin_array
       
   351 //    UPIN array items
       
   352 //
       
   353 //----------------------------------------------------
       
   354 //
       
   355 RESOURCE ARRAY r_upin_array
       
   356     {
       
   357     items =
       
   358         {
       
   359         LBUF
       
   360             {
       
   361             txt = text_pin_code_on;
       
   362             },
       
   363         LBUF
       
   364             {
       
   365             txt = text_pin_code_off;
       
   366             }
       
   367         };    
       
   368     }
       
   369 
       
   370 //----------------------------------------------------
       
   371 //   
       
   372 //    r_code_array
       
   373 //    Code in use array items
       
   374 //
       
   375 //----------------------------------------------------
       
   376 //
       
   377 RESOURCE ARRAY r_code_array
       
   378     {
       
   379     items =
       
   380         {
       
   381         LBUF
       
   382             {
       
   383             txt = qtn_set_pin;
       
   384             },
       
   385         LBUF
       
   386             {
       
   387             txt = qtn_set_upin;
       
   388             }
       
   389         };    
       
   390     }
       
   391 
       
   392 
       
   393 //----------------------------------------------------
       
   394 //   
       
   395 //    r_security_array
       
   396 //    Security array items
       
   397 //
       
   398 //----------------------------------------------------
       
   399 //
       
   400 RESOURCE ARRAY r_security_array
       
   401     {
       
   402     items =
       
   403         {
       
   404         LBUF
       
   405             {
       
   406             txt = qtn_set_sim_change_sec_on;
       
   407             },
       
   408         LBUF
       
   409             {
       
   410             txt = qtn_set_sim_change_sec_off;
       
   411             }
       
   412         };    
       
   413     }
       
   414 
       
   415 
       
   416 //----------------------------------------------------
       
   417 //   
       
   418 //    r_sat_array
       
   419 //    SAT array items
       
   420 //
       
   421 //----------------------------------------------------
       
   422 //
       
   423 RESOURCE ARRAY r_sat_array
       
   424     {
       
   425     items =
       
   426         {
       
   427         LBUF
       
   428             {
       
   429             txt = text_simatk_notes_off;
       
   430             },
       
   431         LBUF
       
   432             {
       
   433             txt = text_simatk_notes_on;
       
   434             }
       
   435         };    
       
   436     }
       
   437 
       
   438 //----------------------------------------------------
       
   439 //   
       
   440 //    r_cug_network_default
       
   441 //
       
   442 //----------------------------------------------------
       
   443 //
       
   444 RESOURCE TBUF r_cug_network_default { buf = text_cug_default; }
       
   445 
       
   446 //----------------------------------------------------
       
   447 //   
       
   448 //    r_cug_on
       
   449 //
       
   450 //----------------------------------------------------
       
   451 //
       
   452 RESOURCE TBUF r_cug_on { buf = text_cug_group; }
       
   453 
       
   454 //----------------------------------------------------
       
   455 //   
       
   456 //    r_cug_off
       
   457 //
       
   458 //----------------------------------------------------
       
   459 //
       
   460 RESOURCE TBUF r_cug_off { buf = text_cug_suppress; }
       
   461 
       
   462 //----------------------------------------------------
       
   463 //   
       
   464 //    r_cug_index
       
   465 //    CUG Index dialog resource
       
   466 //
       
   467 //----------------------------------------------------
       
   468 //
       
   469 RESOURCE DIALOG r_cug_index
       
   470     {
       
   471     flags=EGeneralQueryFlags; 
       
   472     buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   473     items =
       
   474         {
       
   475         DLG_LINE
       
   476             {
       
   477             type=EAknCtQuery;
       
   478             id=EGeneralQuery;
       
   479             control= AVKON_DATA_QUERY             
       
   480                 { 
       
   481                 layout = ENumberLayout;
       
   482                 label = text_give_group_number;
       
   483                 control = AVKON_INTEGER_EDWIN         
       
   484                     {
       
   485                     maxlength = 5;
       
   486                     min=0;
       
   487                     max=99999;
       
   488                     };
       
   489 
       
   490                 };
       
   491             }
       
   492         };
       
   493     }
       
   494   
       
   495 //----------------------------------------------------
       
   496 //   
       
   497 //    r_cug_index_error_note
       
   498 //    CUG Index error note dialog resource
       
   499 //
       
   500 //----------------------------------------------------
       
   501 //  
       
   502 RESOURCE DIALOG r_cug_index_error_note
       
   503     {
       
   504     flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar |
       
   505             EEikDialogFlagCbaButtons | EEikDialogFlagWait;
       
   506     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   507     items =
       
   508         {
       
   509         DLG_LINE
       
   510             {
       
   511             type = EAknCtNote;
       
   512             id = ECugIndexErrorNote;
       
   513             control = AVKON_NOTE 
       
   514                 { 
       
   515                 layout = EGeneralLayout;
       
   516                 singular_label = text_cug_error;
       
   517                 animation = R_QGN_NOTE_ERROR_ANIM;
       
   518                 };
       
   519             }
       
   520         };
       
   521     }            
       
   522 
       
   523 
       
   524 //----------------------------------------------------
       
   525 //   
       
   526 //    r_cug_setting_page
       
   527 //    CUG setting page dialog resource
       
   528 //
       
   529 //----------------------------------------------------
       
   530 //  
       
   531 RESOURCE AVKON_SETTING_PAGE r_cug_setting_page
       
   532     { 
       
   533     label= text_closed_user_groups;
       
   534     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   535     type =  EAknSetListBox;
       
   536     editor_resource_id= r_cug_listbox;
       
   537     }
       
   538 
       
   539 //----------------------------------------------------
       
   540 //   
       
   541 //    r_cug_listbox
       
   542 //    CUG list box resource
       
   543 //
       
   544 //----------------------------------------------------
       
   545 //  
       
   546 RESOURCE LISTBOX r_cug_listbox
       
   547     {
       
   548     array_id = r_cug_lbx;
       
   549     flags = EEikListBoxMultipleSelection;
       
   550     }
       
   551 
       
   552 
       
   553 //----------------------------------------------------
       
   554 //   
       
   555 //    r_cug_lbx
       
   556 //    CUG list box items
       
   557 //
       
   558 //----------------------------------------------------
       
   559 //  
       
   560 RESOURCE ARRAY r_cug_lbx
       
   561     {
       
   562     items =
       
   563         {
       
   564         LBUF
       
   565             {
       
   566             txt = text_cug_default;
       
   567             },
       
   568         LBUF
       
   569             {
       
   570             txt = text_cug_group;
       
   571             },
       
   572         LBUF
       
   573             {
       
   574             txt = text_cug_suppress;
       
   575             }
       
   576 
       
   577         };
       
   578     }    
       
   579 
       
   580 
       
   581 //----------------------------------------------------
       
   582 //   
       
   583 //    r_sat_setting_page
       
   584 //    SAT setting page resource
       
   585 //
       
   586 //----------------------------------------------------
       
   587 //  
       
   588 RESOURCE AVKON_SETTING_PAGE r_sat_setting_page
       
   589     { 
       
   590     label= text_simatk_setting;
       
   591     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   592     type =  EAknSetListBox;
       
   593     editor_resource_id= r_sat_listbox;
       
   594     }
       
   595 
       
   596 //----------------------------------------------------
       
   597 //   
       
   598 //    r_sat_listbox
       
   599 //    SAT list box resource
       
   600 //
       
   601 //----------------------------------------------------
       
   602 //  
       
   603 RESOURCE LISTBOX r_sat_listbox
       
   604     {
       
   605     array_id = r_sat_array;
       
   606     flags = EEikListBoxMultipleSelection;
       
   607     }
       
   608 
       
   609 //End of File