phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/data/ccappcommlauncherpluginrsc.rss
changeset 0 e686773b3f54
child 3 04ab22b956c2
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2008 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 CCA Communication Launcher plugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME    COML // 4 letter ID
       
    21 
       
    22 //  INCLUDES
       
    23 #include <bldvariant.hrh>
       
    24 #include <data_caging_paths_strings.hrh>
       
    25 
       
    26 #include <eikon.rh>
       
    27 #include <avkon.rh>
       
    28 
       
    29 #include <EIKCORE.rsg>
       
    30 #include <eikon.rsg>
       
    31 #include <avkon.hrh>
       
    32 #include <avkon.rsg>
       
    33 #include <avkon.mbg>
       
    34 #include <avkon.loc>
       
    35 
       
    36 #include <AiwCommon.rh>
       
    37 #include <AiwGenericParam.hrh>
       
    38 
       
    39 // Usually plugins should have their own localisation file, but this one uses ccapp's and phonebook2's
       
    40 #include <phonebook2.loc>
       
    41 #include <phonebook2ece.loc>
       
    42 #include "ccappcommlauncher.hrh"
       
    43 
       
    44 // Todo: This will be read from loc file after localization
       
    45 #define qtn_cca_default_status "Open Nokia OVI Services"
       
    46 
       
    47 //  RESOURCE DEFINITIONS 
       
    48 
       
    49 // ---------------------------------------------------------------------------
       
    50 // RSS_SIGNATURE
       
    51 // ---------------------------------------------------------------------------
       
    52 //
       
    53 RESOURCE RSS_SIGNATURE {}
       
    54 
       
    55 // --------------------------------------------------------------------------
       
    56 // r_ccacommlauncherw_softkeys_options_back_empty: Options - <Empty> - Back
       
    57 // --------------------------------------------------------------------------
       
    58 //
       
    59 RESOURCE CBA r_ccacommlauncher_softkeys_options_back_empty
       
    60     {
       
    61     flags = 0;
       
    62     buttons =
       
    63         {
       
    64         CBA_BUTTON
       
    65             {
       
    66             id = EAknSoftkeyOptions;
       
    67             txt = text_softkey_option;
       
    68             },
       
    69         CBA_BUTTON
       
    70             {
       
    71             id = EAknSoftkeyBack;
       
    72             txt = text_softkey_back;
       
    73             },
       
    74         CBA_BUTTON
       
    75             {
       
    76             }
       
    77         };
       
    78     }
       
    79 
       
    80 // ---------------------------------------------------------------------------
       
    81 // r_commlauncher_view
       
    82 // ---------------------------------------------------------------------------
       
    83 //
       
    84 RESOURCE AVKON_VIEW r_commlauncher_view
       
    85     {
       
    86     menubar = r_ccacommlauncher_menubar;
       
    87     cba = r_ccacommlauncher_softkeys_options_back_empty;
       
    88     }
       
    89 
       
    90 // ---------------------------------------------------------------------------
       
    91 // r_ccacommlauncher_menubar
       
    92 // ---------------------------------------------------------------------------
       
    93 //
       
    94 RESOURCE MENU_BAR r_ccacommlauncher_menubar
       
    95     {
       
    96     titles = 
       
    97         {
       
    98         MENU_TITLE { menu_pane = r_ccacommlauncher_menupane; }
       
    99         };
       
   100     }
       
   101 
       
   102 // ---------------------------------------------------------------------------
       
   103 // r_ccacommlauncher_menupane
       
   104 // ---------------------------------------------------------------------------
       
   105 //
       
   106 RESOURCE MENU_PANE r_ccacommlauncher_menupane
       
   107     {
       
   108     items =
       
   109         {
       
   110         MENU_ITEM 
       
   111             { 
       
   112             command = ECCAppCommLauncherSelectCmd;
       
   113             txt = qtn_cca_opt_select; 
       
   114             flags = EEikMenuItemAction;
       
   115             },
       
   116         MENU_ITEM 
       
   117             { 
       
   118             command = ECCAppCommLauncherSelectOtherNmbCmd;
       
   119             txt = qtn_cca_opt_select_other_number; 
       
   120             flags = EEikMenuItemAction;
       
   121             },
       
   122         MENU_ITEM 
       
   123             { 
       
   124             command = ECCAppCommLauncherSelectOtherAddrCmd;
       
   125             txt = qtn_cca_opt_select_other_address;
       
   126             },
       
   127         MENU_ITEM 
       
   128             { 
       
   129             // KAiwCmdAssign AIW service cmd used as Edit Options-menu item
       
   130             command = KAiwCmdAssign;
       
   131             txt = qtn_phob_opt_entry_edit; 
       
   132             },
       
   133         MENU_ITEM 
       
   134             { 
       
   135             command = ECCAppCommLauncherDeleteCmd;
       
   136             txt = qtn_cca_options_delete_contact;
       
   137             },
       
   138         MENU_ITEM
       
   139             { 
       
   140             command = ECCAppCommLauncherDefaultsCmd;
       
   141             txt = qtn_phob_opt_default_settings;
       
   142             },
       
   143         MENU_ITEM 
       
   144             { 
       
   145             command = ECCAppCommLauncherVoiceTagDetailsCmd; 
       
   146             txt = "";//will be filled dynamically by AIW 
       
   147             },
       
   148 #ifdef __SERIES60_HELP            
       
   149         MENU_ITEM 
       
   150             { 
       
   151             command = EAknCmdHelp;
       
   152             txt = qtn_options_help; 
       
   153             },
       
   154 #endif  // __SERIES60_HELP            
       
   155         MENU_ITEM 
       
   156             { 
       
   157             command = EAknCmdExit; 
       
   158             txt = qtn_options_exit; 
       
   159             }
       
   160         };
       
   161     }
       
   162 
       
   163 RESOURCE DIALOG r_deleteconfirmation_query
       
   164      {
       
   165      flags = EGeneralQueryFlags;
       
   166      buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   167      items =
       
   168          {
       
   169          DLG_LINE
       
   170              {
       
   171              type = EAknCtQuery;
       
   172              id = EGeneralQuery;
       
   173              control = AVKON_CONFIRMATION_QUERY
       
   174                  {
       
   175                  layout = EConfirmationQueryLayout;
       
   176                  };
       
   177              }
       
   178          };
       
   179      }
       
   180 
       
   181 
       
   182 // ---------------------------------------------------------------------------
       
   183 // r_ccacommlauncher_aiw_menu_interests
       
   184 // ---------------------------------------------------------------------------
       
   185 //
       
   186 RESOURCE AIW_INTEREST r_ccacommlauncher_aiw_menu_interests
       
   187     { 
       
   188     items=
       
   189         {
       
   190         AIW_CRITERIA_ITEM 
       
   191             { 
       
   192             id = ECCAppCommLauncherVoiceTagDetailsCmd;
       
   193             serviceCmd = KAiwCmdSindInfoView;
       
   194             contentType = "*";
       
   195             serviceClass = KAiwClassMenu;
       
   196             defaultProvider = KAspInfoViewProviderDllUid;            
       
   197             maxProviders = 1;
       
   198             }
       
   199         // Add here other possible AIW menu criterias..
       
   200         };
       
   201      }    
       
   202 
       
   203 // ---------------------------------------------------------------------------
       
   204 // r_ccacommlauncher_aiw_service_interests
       
   205 // ---------------------------------------------------------------------------
       
   206 //
       
   207 RESOURCE AIW_INTEREST r_ccacommlauncher_aiw_service_interests
       
   208     { 
       
   209     items=
       
   210         {
       
   211         AIW_CRITERIA_ITEM
       
   212             {
       
   213             id = KAiwCmdAssign;// serviceCmd used here also as ID
       
   214             serviceCmd = KAiwCmdAssign;
       
   215             contentType = EGenericParamContactLinkArrayStr;
       
   216             serviceClass = KAiwClassMenu;//not working with KAiwClassBase altough used as service cmd
       
   217             maxProviders    = 1;
       
   218             }            
       
   219         // Add here other possible AIW service criterias..
       
   220         };
       
   221      }    
       
   222 
       
   223 // ---------------------------------------------------------------------------
       
   224 // r_ccacommlauncher_contact_image_stylus_menu
       
   225 // ---------------------------------------------------------------------------
       
   226 //
       
   227 RESOURCE STYLUS_POPUP_MENU r_ccacommlauncher_contact_image_stylus_menu
       
   228     {
       
   229     items =
       
   230         {
       
   231         STYLUS_POPUP_MENU_ITEM { txt = qtn_cca_stylus_popup_view_image; 
       
   232                              command = ECCAppCommLauncherStylusViewImageCmd; },
       
   233         STYLUS_POPUP_MENU_ITEM { txt = qtn_cca_stylus_popup_change_image; 
       
   234                              command = ECCAppCommLauncherStylusChangeImageCmd; },
       
   235         STYLUS_POPUP_MENU_ITEM { txt = qtn_cca_stylus_popup_remove_image; 
       
   236                              command = ECCAppCommLauncherStylusRemoveImageCmd; },
       
   237         STYLUS_POPUP_MENU_ITEM { txt = qtn_cca_stylus_popup_add_image; 
       
   238                              command = ECCAppCommLauncherStylusAddImageCmd; }
       
   239         };
       
   240     }
       
   241 
       
   242 
       
   243 // ---------------------------------------------------------------------------
       
   244 // resource texts
       
   245 // ---------------------------------------------------------------------------
       
   246 //
       
   247 RESOURCE TBUF r_qtn_cca_call               { buf = qtn_cca_call; }
       
   248 RESOURCE TBUF r_qtn_cca_voip_call          { buf = qtn_cca_voip_call; }
       
   249 RESOURCE TBUF r_qtn_cca_message            { buf = qtn_cca_message; }
       
   250 RESOURCE TBUF r_qtn_cca_email              { buf = qtn_cca_email; }
       
   251 RESOURCE TBUF r_qtn_cca_chat               { buf = qtn_cca_chat; }
       
   252 RESOURCE TBUF r_qtn_cca_url                { buf = qtn_cca_url; }
       
   253 RESOURCE TBUF r_qtn_cca_video_call         { buf = qtn_cca_video_call; }
       
   254 RESOURCE TBUF r_qtn_cca_push_to_talk       { buf = qtn_cca_push_to_talk; }
       
   255 RESOURCE TBUF r_qtn_cca_multiple_numbers   { buf = qtn_cca_multiple_numbers; }
       
   256 RESOURCE TBUF r_qtn_cca_multiple_addresses { buf = qtn_cca_multiple_addresses; }
       
   257 RESOURCE TBUF r_qtn_cca_multiple_numbers_addresses { buf = qtn_cca_multiple_numbers_addresses; }
       
   258 RESOURCE TBUF r_qtn_cca_multiple_accounts  { buf = qtn_cca_multiple_accounts; }
       
   259 RESOURCE TBUF r_qtn_cca_multiple_other_numbers   { buf = qtn_cca_multiple_other_numbers; }
       
   260 RESOURCE TBUF r_qtn_cca_multiple_other_addresses { buf = qtn_cca_multiple_other_addresses; }
       
   261 RESOURCE TBUF r_qtn_cca_one_other_address   { buf = qtn_cca_one_other_address; }
       
   262 RESOURCE TBUF r_qtn_cca_one_other_number { buf = qtn_cca_one_other_number; }
       
   263 RESOURCE TBUF r_qtn_cca_no_communication_methods { buf = qtn_cca_no_communication_methods; }
       
   264 RESOURCE TBUF r_qtn_cca_confirmation_query_delete_contact { buf = qtn_cca_confirmation_query_delete_contact; }
       
   265 RESOURCE TBUF r_qtn_phob_comlauncher_find_on_map          { buf = qtn_phob_comlauncher_find_on_map; }
       
   266 RESOURCE TBUF r_qtn_phob_comlauncher_show_on_map          { buf = qtn_phob_comlauncher_show_on_map; }
       
   267 RESOURCE TBUF r_qtn_phob_popup_incomplete_address         { buf = qtn_phob_popup_incomplete_address; }
       
   268 RESOURCE TBUF r_qtn_phob_commlauncher_onelinepreview      { buf = qtn_phob_commlauncher_onelinepreview; }
       
   269 RESOURCE TBUF r_qtn_cca_voip_call_with_servicename { buf = qtn_cca_voip_call_single_service; }
       
   270 RESOURCE TBUF r_qtn_cca_default_status             { buf = qtn_cca_default_status; }
       
   271 //End of File