gssettingsuis/Gs/GSCallDivertPlugin/Data/GSCallDivertPluginRsc.rss
branchRCL_3
changeset 24 8ee96d21d9bf
parent 23 8bda91a87a00
child 25 7e0eff37aedb
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
     1 /*
       
     2 * Copyright (c) 2006 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 GSCallDivertPlugin
       
    15 *
       
    16 */
       
    17 
       
    18 //  RESOURCE IDENTIFIER
       
    19 NAME    CFWD // 4 letter ID
       
    20 
       
    21 //  INCLUDES
       
    22 #include     <bldvariant.hrh>
       
    23 
       
    24 #include    "CallDivertPlugin.hrh"
       
    25 
       
    26 #include    <cf.loc>
       
    27 #include    <gs.loc>
       
    28 #include    <gscommon.hrh>
       
    29 #include    <gscommon.rh>
       
    30 #include    <gsapp.rsg>
       
    31 #include    <appinfo.rh>
       
    32 #include    <avkon.loc>
       
    33 #include    <avkon.mbg>
       
    34 #include    <avkon.rsg>
       
    35 #include    <AvkonIcons.hrh>
       
    36 #include    <data_caging_paths_strings.hrh>
       
    37 #include    <eikcore.rsg>
       
    38 #include    <eikon.rsg>
       
    39 #include    <gscalldivertplugin.mbg>
       
    40 #include    <uikon.rh>
       
    41 
       
    42 
       
    43 #include <AiwCommon.rh> // AIW for pbk2
       
    44 #include <AiwGenericParam.hrh> // AIW for pbk2
       
    45 
       
    46 // CONSTANTS
       
    47 
       
    48 
       
    49 //  RESOURCE DEFINITIONS
       
    50 
       
    51 RESOURCE RSS_SIGNATURE
       
    52     {
       
    53     }
       
    54 
       
    55 // Common resources among GS
       
    56 #include    "GSCommonResources.rss"
       
    57 
       
    58 RESOURCE TBUF
       
    59     {
       
    60     buf="CFWD";
       
    61     }
       
    62 
       
    63 //----------------------------------------------------
       
    64 //
       
    65 //    EIK_APP_INFO
       
    66 //    It contains application information.
       
    67 //
       
    68 //----------------------------------------------------
       
    69 //
       
    70 RESOURCE EIK_APP_INFO
       
    71     {
       
    72     }
       
    73 
       
    74 
       
    75 //----------------------------------------------------
       
    76 //  r_gs_call_divert_caption
       
    77 //
       
    78 // Data call view caption for plugin
       
    79 //----------------------------------------------------
       
    80 //
       
    81 RESOURCE TBUF r_gs_call_divert_caption
       
    82     {
       
    83     buf = qtn_set_folder_divert;
       
    84     }
       
    85 
       
    86 //Divert
       
    87 
       
    88 //----------------------------------------------------
       
    89 //
       
    90 //    r_cf_main_view
       
    91 //    The main view.
       
    92 //
       
    93 //----------------------------------------------------
       
    94 //
       
    95 RESOURCE AVKON_VIEW r_cf_main_view
       
    96     {
       
    97     menubar = r_cf_menubar_open_exit;
       
    98     cba = R_GS_SOFTKEYS_OPTIONS_BACK_OPEN;
       
    99     }
       
   100 
       
   101 
       
   102 
       
   103 //----------------------------------------------------
       
   104 //
       
   105 //    r_cf_menubar_open_exit
       
   106 //    Call forward menu bar.
       
   107 //
       
   108 //----------------------------------------------------
       
   109 //
       
   110 RESOURCE MENU_BAR r_cf_menubar_open_exit
       
   111     {
       
   112     titles =
       
   113         {
       
   114         MENU_TITLE
       
   115             {
       
   116             menu_pane = r_gs_menu_item_exit;
       
   117             },
       
   118         MENU_TITLE
       
   119             {
       
   120             menu_pane = r_gs_menu_item_help;
       
   121             },    
       
   122         MENU_TITLE
       
   123             {
       
   124             menu_pane = r_cf_cancel_all_diverts;
       
   125             },
       
   126         MENU_TITLE
       
   127             {
       
   128             menu_pane = r_gs_menu_item_open;
       
   129             }
       
   130         };
       
   131     }
       
   132 
       
   133 
       
   134 
       
   135 //----------------------------------------------------
       
   136 //
       
   137 //    r_cf_cancel_all_diverts
       
   138 //    Call forward "cancel all" menu pane.
       
   139 //
       
   140 //----------------------------------------------------
       
   141 //
       
   142 RESOURCE MENU_PANE r_cf_cancel_all_diverts
       
   143     {
       
   144     items =
       
   145         {
       
   146         MENU_ITEM
       
   147             {
       
   148             command = ECFCmdCancelAll;
       
   149             txt = text_cancel_all_diverts;
       
   150             }
       
   151         };
       
   152     }
       
   153 
       
   154 
       
   155 //----------------------------------------------------
       
   156 //
       
   157 //    r_cf_main_view_title
       
   158 //    Title for the main view: "Call Divert"
       
   159 //
       
   160 //----------------------------------------------------
       
   161 //
       
   162 RESOURCE TITLE_PANE r_cf_main_view_title
       
   163     {
       
   164     txt = qtn_div_heading_cf;
       
   165     }
       
   166 
       
   167 
       
   168 //----------------------------------------------------
       
   169 //
       
   170 //    r_cf_div_view_menu
       
   171 //    Menu pane for Options.
       
   172 //
       
   173 //----------------------------------------------------
       
   174 //
       
   175 RESOURCE MENU_PANE r_cf_div_view_menu
       
   176     {
       
   177     items =
       
   178         {
       
   179         MENU_ITEM
       
   180             {
       
   181             command = ECFCmdActivate;
       
   182             txt = text_activate_divert;
       
   183             },
       
   184         MENU_ITEM
       
   185             {
       
   186             command = ECFCmdCancel;
       
   187             txt = text_cancel_divert;
       
   188             },
       
   189         MENU_ITEM
       
   190             {
       
   191             command = ECFCmdCheckStatus;
       
   192             txt = text_check_status;
       
   193             },
       
   194         MENU_ITEM
       
   195             {
       
   196             command = EAknCmdHelp;
       
   197             txt = qtn_options_help;
       
   198             },
       
   199         MENU_ITEM
       
   200             {
       
   201             command = EAknCmdExit;
       
   202             txt = qtn_options_exit;
       
   203             }
       
   204         };
       
   205     }
       
   206 
       
   207 //----------------------------------------------------
       
   208 //
       
   209 //    r_cf_menubar_options_view
       
   210 //    Menu bar in the Main view.
       
   211 //
       
   212 //----------------------------------------------------
       
   213 //
       
   214 RESOURCE MENU_BAR r_cf_menubar_options_view
       
   215     {
       
   216     titles =
       
   217         {
       
   218         MENU_TITLE {menu_pane = r_cf_div_view_menu;}
       
   219         };
       
   220     }
       
   221 
       
   222 //----------------------------------------------------
       
   223 //
       
   224 //    r_cf_menubar_div_view
       
   225 //    Menu bar in the Main view when selection key has been pressed.
       
   226 //
       
   227 //----------------------------------------------------
       
   228 //
       
   229 RESOURCE MENU_BAR r_cf_menubar_div_view
       
   230     {
       
   231     titles =
       
   232         {
       
   233         MENU_TITLE {menu_pane = r_cf_div_view_menu;}
       
   234         };
       
   235     }
       
   236 
       
   237 
       
   238 //-----------------------------------------------------------------------------
       
   239 //
       
   240 //    r_cf_main_lbx_resource
       
   241 //    List box resource.
       
   242 //
       
   243 //-----------------------------------------------------------------------------
       
   244 //
       
   245 RESOURCE LISTBOX r_cf_main_lbx_resource
       
   246     {
       
   247     array_id = r_cf_main_lbx;
       
   248     flags = EEikListBoxMultipleSelection;
       
   249     }
       
   250 
       
   251 
       
   252 //----------------------------------------------------
       
   253 //
       
   254 //    r_cf_voice_view_title
       
   255 //    Title for the sub view: "Voice Call Diverts"
       
   256 //
       
   257 //----------------------------------------------------
       
   258 //
       
   259 RESOURCE TITLE_PANE r_cf_voice_view_title
       
   260     {
       
   261     txt = qtn_div_heading_voice;
       
   262     }
       
   263 
       
   264 //----------------------------------------------------
       
   265 //
       
   266 //    r_cf_video_view_title
       
   267 //    Title for the sub view: "Video Call Diverts"
       
   268 //
       
   269 //----------------------------------------------------
       
   270 //
       
   271 RESOURCE TITLE_PANE r_cf_video_view_title
       
   272     {
       
   273     txt = qtn_div_heading_video;
       
   274     }
       
   275 
       
   276 //-----------------------------------------------------------------------------
       
   277 //
       
   278 //    r_cf_div_lbx
       
   279 //    List items in the call divert view.
       
   280 //
       
   281 //-----------------------------------------------------------------------------
       
   282 //
       
   283 RESOURCE GS_FEATURE_ARRAY r_cf_div_lbx
       
   284     {
       
   285     items =
       
   286         {
       
   287         GS_FEATURE
       
   288             {
       
   289             txt = " \t"qtn_div_dlist_all"\t\t";
       
   290             item = ECFDivertVoiceCalls;
       
   291             type = EGSListBoxItemTypeIsDynamic;
       
   292             },
       
   293         GS_FEATURE
       
   294             {
       
   295             txt = " \t"qtn_div_dlist_all_video"\t\t";
       
   296             item = ECFDivertVideoCalls;
       
   297             type = EGSListBoxItemTypeIsDynamic;
       
   298             },
       
   299         GS_FEATURE
       
   300             {
       
   301             txt = " \t"qtn_div_dlist_busy"\t\t";
       
   302             item = ECFDivertWhenBusy;
       
   303             },
       
   304         GS_FEATURE
       
   305             {
       
   306             txt = " \t"qtn_div_dlist_noreply"\t\t";
       
   307             item = ECFDivertWhenNoAnswer;
       
   308             },
       
   309         GS_FEATURE
       
   310             {
       
   311             txt = " \t"qtn_div_dlist_outreach"\t\t";
       
   312             item = ECFDivertWhenOutOfReach;
       
   313             },
       
   314         GS_FEATURE
       
   315             {
       
   316             txt = " \t"qtn_div_dlist_notavail"\t\t";
       
   317             item = ECFDivertWhenNotAvailable;
       
   318             }
       
   319         };
       
   320     }
       
   321 
       
   322 //-----------------------------------------------------------------------------
       
   323 //
       
   324 //    r_cf_main_lbx
       
   325 //    List items in the call divert main view. IDs are from enum 
       
   326 //    TGSCallDivertServiceGroups.
       
   327 //
       
   328 //-----------------------------------------------------------------------------
       
   329 //
       
   330 RESOURCE GS_FEATURE_ARRAY r_cf_main_lbx
       
   331     {
       
   332     items =
       
   333         {
       
   334         GS_FEATURE
       
   335             {
       
   336             txt = " \t"qtn_div_voice_calls;
       
   337             item = EGSSettIdVoiceDivert;
       
   338             },
       
   339         GS_FEATURE
       
   340             {
       
   341             txt = " \t"qtn_div_video_calls;
       
   342             item = EGSSettIdVideoDivert;
       
   343             }
       
   344         };
       
   345     }
       
   346 
       
   347 //----------------------------------------------------
       
   348 //
       
   349 //    r_cf_div_view
       
   350 //    The diverts view.
       
   351 //
       
   352 //----------------------------------------------------
       
   353 //
       
   354 RESOURCE AVKON_VIEW r_cf_div_view
       
   355     {
       
   356     menubar = r_cf_menubar_options_view;
       
   357     cba = R_GS_SOFTKEYS_OPTIONS_BACK_CONTEXTOPTIONS;
       
   358     }
       
   359 
       
   360 // -----------------------------------------------------------------------------
       
   361 //    
       
   362 //    r_cf_restricted_main_lbx_resource
       
   363 //    List box resource.
       
   364 //
       
   365 //-----------------------------------------------------------------------------
       
   366 //
       
   367 RESOURCE LISTBOX r_cf_restricted_main_lbx_resource
       
   368     {
       
   369     array_id = r_cf_restricted_main_lbx;
       
   370     flags = EEikListBoxMultipleSelection;    
       
   371     }
       
   372 
       
   373 //-----------------------------------------------------------------------------
       
   374 //    
       
   375 //    r_cf_restricted_main_lbx
       
   376 //    List items in the restricted call divert main view.
       
   377 //
       
   378 //-----------------------------------------------------------------------------
       
   379 //
       
   380 RESOURCE GS_FEATURE_ARRAY r_cf_restricted_main_lbx
       
   381     {
       
   382     items =
       
   383         {
       
   384         GS_FEATURE
       
   385             {
       
   386             txt = " \t"qtn_div_restricted;
       
   387             item = ECFDivertVoiceCalls;
       
   388             }
       
   389         };    
       
   390     }
       
   391 
       
   392 //-----------------------------------------------------------------------------
       
   393 //
       
   394 //    r_title_array
       
   395 //    Titles for specific popups.
       
   396 //
       
   397 //-----------------------------------------------------------------------------
       
   398 //
       
   399 RESOURCE ARRAY r_title_array
       
   400     {
       
   401     items =
       
   402         {
       
   403         LBUF {txt = qtn_div_title_all;},
       
   404         LBUF {txt = qtn_div_title_all_video;},
       
   405         LBUF {txt = qtn_div_title_busy;},
       
   406         LBUF {txt = qtn_div_title_not_answered;},
       
   407         LBUF {txt = qtn_div_title_not_reach;},
       
   408         LBUF {txt = qtn_div_title_not_available;}
       
   409         };
       
   410     }
       
   411 
       
   412 //-----------------------------------------------------------------------------
       
   413 //
       
   414 //   (various resources)
       
   415 //   Texts for additional dialogs and popups.
       
   416 //
       
   417 //-----------------------------------------------------------------------------
       
   418 //
       
   419 RESOURCE TBUF r_text_divert_to_voice_mail {buf = text_divert_to_voice_mail;}
       
   420 RESOURCE TBUF r_text_divert_to_number     {buf = text_divert_to_number;}
       
   421 RESOURCE TBUF r_text_slist_seconds        {buf = qtn_div_slist_seconds;}
       
   422 RESOURCE TBUF r_text_delay_header         {buf = qtn_div_heading_delay;}
       
   423 RESOURCE TBUF r_text_prmpt_data_number    {buf = qtn_ss_prmpt_video_number;}
       
   424 RESOURCE TBUF r_text_prmpt_number         {buf = qtn_div_prmpt_number;}
       
   425 RESOURCE TBUF r_invalid_number            {buf = text_invalid_number;}
       
   426 
       
   427 //-----------------------------------------------------------------------------
       
   428 //
       
   429 //    r_data_query
       
   430 //    "To other number"-dialog
       
   431 //
       
   432 //-----------------------------------------------------------------------------
       
   433 //
       
   434 RESOURCE DIALOG r_data_query
       
   435     {
       
   436     flags = EGeneralQueryFlags;
       
   437     buttons = R_AVKON_SOFTKEYS_SEARCH_BACK;
       
   438     items =
       
   439         {
       
   440         DLG_LINE
       
   441             {
       
   442             type = EAknCtQuery;
       
   443             id = EGeneralQuery;
       
   444             control = AVKON_DATA_QUERY
       
   445                 {
       
   446                 layout = EPhoneLayout;
       
   447                 control = EDWIN
       
   448                     {
       
   449                     flags = EEikEdwinNoHorizScrolling;
       
   450                     width = 10;
       
   451                     lines = 1;
       
   452                     maxlength = KGSMaxDataLength;
       
   453                     numeric_keymap=EAknEditorStandardNumberModeKeymap;
       
   454                     allowed_input_modes=EAknEditorNumericInputMode;
       
   455                     default_input_mode=EAknEditorNumericInputMode;
       
   456                     };
       
   457                 };
       
   458             }
       
   459         };
       
   460     }
       
   461 
       
   462 //----------------------------------------------------
       
   463 //
       
   464 //   r_cf_softkeys_search_cancel, own cba for
       
   465 //   search - cancel softkey combination
       
   466 //
       
   467 //----------------------------------------------------
       
   468 //
       
   469 RESOURCE CBA r_cf_softkeys_search_cancel
       
   470     {
       
   471     buttons =
       
   472         {
       
   473         CBA_BUTTON{id=EAknSoftkeySearch; txt=text_softkey_search; },
       
   474         CBA_BUTTON{id=EAknSoftkeyCancel; txt=text_softkey_cancel; },
       
   475         CBA_BUTTON{id=EAknSoftkeySearch; txt=text_softkey_search; }
       
   476         };
       
   477     }
       
   478 
       
   479 
       
   480 RESOURCE TBUF r_qtn_ss_divert_to_video_mailbox
       
   481     {
       
   482     buf = qtn_ss_divert_to_video_mailbox;
       
   483     }
       
   484 
       
   485 RESOURCE TBUF r_qtn_ss_divert_vcall_to_other_number
       
   486     {
       
   487     buf = qtn_ss_divert_vcall_to_other_number;
       
   488     }
       
   489 
       
   490 //MSK Labels and Resources
       
   491 
       
   492 //----------------------------------------------------
       
   493 //   
       
   494 //    r_call_divert_msk_contextmenubar
       
   495 //    Options menu with 'Open'.
       
   496 //    Context Menu Options for MSK key handling
       
   497 //----------------------------------------------------
       
   498 //
       
   499 RESOURCE MENU_BAR r_call_divert_msk_contextmenubar
       
   500     {
       
   501     titles =
       
   502         {
       
   503         MENU_TITLE {menu_pane = r_cf_msk_div_view_menu;}
       
   504         };
       
   505     }
       
   506 
       
   507 
       
   508 //----------------------------------------------------
       
   509 //
       
   510 //    r_cf_msk_div_view_menu
       
   511 //    Menu pane for Context Options.
       
   512 //
       
   513 //----------------------------------------------------
       
   514 //
       
   515 RESOURCE MENU_PANE r_cf_msk_div_view_menu
       
   516     {
       
   517     items =
       
   518         {
       
   519         MENU_ITEM
       
   520             {
       
   521             command = ECFCmdActivate;
       
   522             txt = text_activate_divert;
       
   523             },
       
   524         MENU_ITEM
       
   525             {
       
   526             command = ECFCmdCancel;
       
   527             txt = text_cancel_divert;
       
   528             },
       
   529         MENU_ITEM
       
   530             {
       
   531             command = ECFCmdCheckStatus;
       
   532             txt = text_check_status;
       
   533             }
       
   534         };
       
   535     }
       
   536 
       
   537 //----------------------------------------------------
       
   538 //
       
   539 //    r_call_divert_contact_selection_interest
       
   540 //    Contact selection interest.
       
   541 //
       
   542 //----------------------------------------------------
       
   543 RESOURCE AIW_INTEREST r_call_divert_contact_selection_interest
       
   544     {
       
   545     items=
       
   546         {
       
   547         AIW_CRITERIA_ITEM
       
   548             {
       
   549             id = KAiwCmdSelect;  // serviceCmd used here also as ID
       
   550             serviceCmd   = KAiwCmdSelect;
       
   551             contentType  = EGenericParamContactLinkArrayStr;
       
   552             serviceClass = KAiwClassBase;
       
   553             maxProviders = 1;
       
   554             }
       
   555         };
       
   556     }
       
   557     
       
   558 
       
   559 //End of File