phoneclientserver/callui/data/callui.rss
changeset 51 12bc758d6a02
parent 48 78df25012fda
child 53 25b8d29b7c59
equal deleted inserted replaced
48:78df25012fda 51:12bc758d6a02
     1 /*
       
     2 * Copyright (c) 2004-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:  This file contains all the resources 
       
    15 *                for the CallUI.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 NAME     CAUI
       
    22 
       
    23 //  INCLUDES
       
    24 #include <eikon.rh>
       
    25 #include <avkon.rh>
       
    26 #include <avkon.hrh>
       
    27 #include <avkon.rsg>
       
    28 #include <avkon.loc>
       
    29 
       
    30 #include "caui.hrh" 
       
    31 #include <callui.loc>
       
    32 #include <aiwcommon.hrh>
       
    33 
       
    34 
       
    35 
       
    36 //  RESOURCE DEFINITIONS 
       
    37 
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 //    RSS_SIGNATURE
       
    41 //    
       
    42 //    Signature.
       
    43 //
       
    44 // -----------------------------------------------------------------------------
       
    45 //
       
    46 RESOURCE RSS_SIGNATURE { }
       
    47 
       
    48 
       
    49 // -----------------------------------------------------------------------------
       
    50 //   
       
    51 //    r_callui_call_menu
       
    52 //    
       
    53 //    Call menu (non-cascaded).
       
    54 //    
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 RESOURCE MENU_PANE r_callui_call_menu
       
    58     {
       
    59     items=
       
    60         {
       
    61         MENU_ITEM
       
    62             {
       
    63             command = ECallUIVoice; 
       
    64             txt     = qtn_options_call;
       
    65             extratxt  = qtn_call_sub_voice;
       
    66             },
       
    67         MENU_ITEM 
       
    68             { 
       
    69             command = AIW_SUBMENU_TITLE;
       
    70             txt     = qtn_options_call;
       
    71             }
       
    72         };
       
    73     }
       
    74 
       
    75 // -----------------------------------------------------------------------------
       
    76 //   
       
    77 //    r_callui_cascaded_submenu
       
    78 //    
       
    79 //    Cascaded call submenu.
       
    80 //    
       
    81 // -----------------------------------------------------------------------------
       
    82 //
       
    83 RESOURCE MENU_PANE r_callui_cascaded_submenu
       
    84     {
       
    85     items=
       
    86         {
       
    87         MENU_ITEM
       
    88             { 
       
    89             command = ECallUIVoice;
       
    90             txt     = qtn_call_sub_voice;
       
    91             },
       
    92         MENU_ITEM
       
    93             { 
       
    94             command = ECallUIVideo;
       
    95             txt     = qtn_call_sub_video; 
       
    96             },
       
    97         MENU_ITEM
       
    98             { 
       
    99             command = ECallUIInternet;
       
   100             txt     = qtn_call_sub_internet; 
       
   101             },
       
   102         MENU_ITEM 
       
   103             { 
       
   104             command = AIW_SUBMENU_TITLE;
       
   105             txt = qtn_options_call;
       
   106             }
       
   107         };
       
   108     }
       
   109 
       
   110 
       
   111 
       
   112 // -----------------------------------------------------------------------------
       
   113 //
       
   114 //    r_callui_create_list_query
       
   115 //    
       
   116 //    List query dialog for call type query or confirmation.
       
   117 //
       
   118 // -----------------------------------------------------------------------------
       
   119 //
       
   120 RESOURCE DIALOG r_callui_create_list_query
       
   121     {
       
   122     flags   = EGeneralQueryFlags;
       
   123     buttons = R_AVKON_SOFTKEYS_CALL_CANCEL__CALL;
       
   124     items   =
       
   125         {
       
   126         DLG_LINE
       
   127             {
       
   128             type    = EAknCtListQueryControl;
       
   129             id      = EListQueryControl;
       
   130             control = AVKON_LIST_QUERY_CONTROL
       
   131                 {
       
   132                 listtype = EAknCtSinglePopupMenuListBox;
       
   133                 listbox  = LISTBOX
       
   134                     {
       
   135                     flags    = EAknListBoxMenuList;
       
   136                     height   = ECaUiCreateListQueryHeight;
       
   137                     width    = ECaUiCreateListQueryWidth;
       
   138                     array_id = r_callui_create_list_items;
       
   139                     };
       
   140                 heading  = qtn_popup_title_create;
       
   141                 };
       
   142             }
       
   143         };
       
   144     }
       
   145 
       
   146 
       
   147 // -----------------------------------------------------------------------------
       
   148 //
       
   149 //  r_callui_create_list_items
       
   150 //  
       
   151 //  List items for call types used in create query.
       
   152 //
       
   153 // -----------------------------------------------------------------------------
       
   154 //
       
   155 RESOURCE ARRAY r_callui_create_list_items
       
   156     {
       
   157     items=
       
   158         {
       
   159         LBUF { txt = qtn_popup_create_voice; },
       
   160         LBUF { txt = qtn_popup_create_video; }
       
   161         };
       
   162     }
       
   163 
       
   164 // -----------------------------------------------------------------------------
       
   165 //
       
   166 //    r_callui_create_list_voice
       
   167 //    
       
   168 //    The voice call item string in call type query.
       
   169 //
       
   170 // -----------------------------------------------------------------------------
       
   171 //
       
   172 RESOURCE TBUF r_callui_create_list_voice
       
   173     {
       
   174     buf = qtn_popup_create_voice;
       
   175     }
       
   176 
       
   177 // -----------------------------------------------------------------------------
       
   178 //
       
   179 //    r_callui_create_list_video
       
   180 //    
       
   181 //    The video item string in call type query
       
   182 //
       
   183 // -----------------------------------------------------------------------------
       
   184 //
       
   185 RESOURCE TBUF r_callui_create_list_video
       
   186     {
       
   187     buf = qtn_popup_create_video;
       
   188     }
       
   189     
       
   190 // -----------------------------------------------------------------------------
       
   191 //
       
   192 //    r_callui_create_list_internet
       
   193 //    
       
   194 //    The internet item string in call type query
       
   195 //
       
   196 // -----------------------------------------------------------------------------
       
   197 //
       
   198 RESOURCE TBUF r_callui_create_list_internet
       
   199     {
       
   200     buf = qtn_popup_create_internet;
       
   201     }
       
   202 
       
   203 
       
   204 // -----------------------------------------------------------------------------
       
   205 //
       
   206 //    r_callui_no_video_network
       
   207 //    
       
   208 //    The text shown in information note when there is no
       
   209 //    network support for video call.
       
   210 //
       
   211 // -----------------------------------------------------------------------------
       
   212 //
       
   213 RESOURCE TBUF r_callui_no_video_network
       
   214     {
       
   215     buf = qtn_tel_no_video_network;
       
   216     }
       
   217 
       
   218 
       
   219 // -----------------------------------------------------------------------------
       
   220 //
       
   221 //    r_callui_reconnect_query_header
       
   222 //    
       
   223 //    The header string in reconnect confirmation query.
       
   224 //
       
   225 // -----------------------------------------------------------------------------
       
   226 //
       
   227 RESOURCE TBUF r_callui_reconnect_query_header
       
   228     {
       
   229     buf = qtn_tel_retry_voicevideo_call;
       
   230     }
       
   231 
       
   232 
       
   233 // -----------------------------------------------------------------------------
       
   234 //
       
   235 //    r_callui_reconnect_list_item_voice
       
   236 //    
       
   237 //    The voice call option item string in create confirmation query.
       
   238 //
       
   239 // -----------------------------------------------------------------------------
       
   240 //
       
   241 RESOURCE TBUF r_callui_reconnect_list_item_voice
       
   242     {
       
   243     buf = qtn_tel_retry_voice_call_item;
       
   244     }
       
   245 
       
   246 
       
   247 // -----------------------------------------------------------------------------
       
   248 //
       
   249 //    r_callui_reconnect_list_item_video
       
   250 //    
       
   251 //    The video call option item string in create confirmation query.
       
   252 //
       
   253 // -----------------------------------------------------------------------------
       
   254 //
       
   255 RESOURCE TBUF r_callui_reconnect_list_item_video
       
   256     {
       
   257     buf = qtn_tel_retry_video_call_item;
       
   258     }
       
   259 
       
   260 
       
   261 // -----------------------------------------------------------------------------
       
   262 //
       
   263 //    r_callui_reconnect_list_item_mms
       
   264 //    
       
   265 //    The mms option item string in create confirmation query.
       
   266 //
       
   267 // -----------------------------------------------------------------------------
       
   268 //
       
   269 RESOURCE TBUF r_callui_reconnect_list_item_mms
       
   270     {
       
   271     buf = qtn_tel_retry_mms_call_item;
       
   272     }
       
   273 
       
   274 
       
   275 // -----------------------------------------------------------------------------
       
   276 //
       
   277 //    r_callui_reconnect_list_item_sms
       
   278 //    
       
   279 //    The sms option item string in create confirmation query.
       
   280 //
       
   281 // -----------------------------------------------------------------------------
       
   282 //
       
   283 RESOURCE TBUF r_callui_reconnect_list_item_sms
       
   284     {
       
   285     buf = qtn_tel_retry_sms_call_item;
       
   286     }
       
   287     
       
   288 // -----------------------------------------------------------------------------
       
   289 //   
       
   290 //    r_callui_call_internet_menu
       
   291 //    
       
   292 //    Call menu Voice call, Internet call
       
   293 //    
       
   294 // -----------------------------------------------------------------------------
       
   295 //
       
   296 RESOURCE MENU_PANE r_callui_call_internet_menu
       
   297     {
       
   298     items=
       
   299         {
       
   300         MENU_ITEM
       
   301             {
       
   302             command = ECallUIVoice; 
       
   303             txt     = qtn_call_sub_voice;
       
   304             },
       
   305         MENU_ITEM
       
   306             { 
       
   307             command = ECallUIInternet;
       
   308             txt     = qtn_call_sub_internet; 
       
   309             },
       
   310         MENU_ITEM 
       
   311             { 
       
   312             command = AIW_SUBMENU_TITLE;
       
   313             txt = qtn_options_call;
       
   314             }
       
   315         };
       
   316     }
       
   317     
       
   318 // -----------------------------------------------------------------------------
       
   319 //   
       
   320 //    r_callui_internet_menu
       
   321 //    
       
   322 //    Call menu Internet call (non-cascaded).
       
   323 //    
       
   324 // -----------------------------------------------------------------------------
       
   325 //
       
   326 RESOURCE MENU_PANE r_callui_internet_menu
       
   327     {
       
   328     items=
       
   329         {
       
   330         MENU_ITEM
       
   331             { 
       
   332             command = ECallUIInternet;
       
   333             txt     = qtn_options_internet_call; 
       
   334             },
       
   335         MENU_ITEM 
       
   336             { 
       
   337             command = AIW_SUBMENU_TITLE;
       
   338             txt = qtn_options_call;
       
   339             }
       
   340         };
       
   341     }
       
   342     
       
   343 // -----------------------------------------------------------------------------
       
   344 //   
       
   345 //    r_callui_call_menu
       
   346 //    
       
   347 //    Call menu Voice call, Video call
       
   348 //    
       
   349 // -----------------------------------------------------------------------------
       
   350 //
       
   351 RESOURCE MENU_PANE r_callui_call_video_menu
       
   352     {
       
   353     items=
       
   354         {
       
   355         MENU_ITEM
       
   356             {
       
   357             command = ECallUIVoice; 
       
   358             txt     = qtn_call_sub_voice;
       
   359             },
       
   360         MENU_ITEM
       
   361             { 
       
   362             command = ECallUIVideo;
       
   363             txt     = qtn_call_sub_video; 
       
   364             },
       
   365         MENU_ITEM 
       
   366             { 
       
   367             command = AIW_SUBMENU_TITLE;
       
   368             txt = qtn_options_call;
       
   369             }
       
   370         };
       
   371     }
       
   372 
       
   373 
       
   374 
       
   375 // -----------------------------------------------------------------------------
       
   376 //
       
   377 //    NEW_MESSAGE_MTM_TYPE
       
   378 //    
       
   379 //    Message MTM types
       
   380 //
       
   381 // -----------------------------------------------------------------------------
       
   382 //
       
   383 STRUCT NEW_MESSAGE_MTM_TYPE
       
   384     {
       
   385     LONG id = 0;
       
   386     LTEXT name = "";
       
   387     }
       
   388 
       
   389 // -----------------------------------------------------------------------------
       
   390 //
       
   391 //    NEW_MESSAGE_MTM_ARRAY
       
   392 //    
       
   393 //    Message MTM items struct
       
   394 //
       
   395 // -----------------------------------------------------------------------------
       
   396 //
       
   397 STRUCT NEW_MESSAGE_MTM_ARRAY
       
   398     {
       
   399     STRUCT items[];
       
   400     }
       
   401 
       
   402 
       
   403 // -----------------------------------------------------------------------------
       
   404 //
       
   405 //    new_message_types_array
       
   406 //    
       
   407 //    Message type array
       
   408 //
       
   409 // -----------------------------------------------------------------------------
       
   410 //
       
   411 RESOURCE NEW_MESSAGE_MTM_ARRAY new_message_types_array
       
   412     {
       
   413     items = 
       
   414         {
       
   415 #ifndef RD_UNIFIED_EDITOR        
       
   416         NEW_MESSAGE_MTM_TYPE
       
   417             {
       
   418             id = 0x1000102C;
       
   419             name = qtn_mce_pop_up_sms;
       
   420             }
       
   421 #ifdef __MMS
       
   422             ,
       
   423         NEW_MESSAGE_MTM_TYPE
       
   424             {
       
   425             id = 0x100058E1;
       
   426             name = qtn_mce_pop_up_mms;
       
   427             }
       
   428 #endif //__MMS
       
   429 #else  // RD_UNIFIED_EDITOR
       
   430         NEW_MESSAGE_MTM_TYPE
       
   431             {
       
   432             id = 0x102072D6; 
       
   433             name = qtn_tel_retry_message_call_item;
       
   434             }
       
   435 #endif // RD_UNIFIED_EDITOR
       
   436 #ifdef __EMAIL_UI 
       
   437             ,
       
   438         NEW_MESSAGE_MTM_TYPE
       
   439             {
       
   440             id = 0x10001028;
       
   441             name = qtn_mce_pop_up_email;
       
   442             }
       
   443 #endif //__EMAIL_UI
       
   444             ,
       
   445         NEW_MESSAGE_MTM_TYPE
       
   446             {
       
   447             id = 0x10207245; 
       
   448             name = qtn_mce_pop_up_PostCard;
       
   449             }
       
   450         };
       
   451     }
       
   452 // -----------------------------------------------------------------------------
       
   453 //
       
   454 //    r_callui_reconnect_list_item_message
       
   455 //    
       
   456 //    The mms option item string in create confirmation query.
       
   457 //
       
   458 // -----------------------------------------------------------------------------
       
   459 //
       
   460 RESOURCE TBUF r_callui_reconnect_list_item_message
       
   461     {
       
   462     buf = qtn_tel_retry_message_call_item;
       
   463     }
       
   464 
       
   465 // -----------------------------------------------------------------------------
       
   466 //
       
   467 //    r_callui_vt_setting_note
       
   468 //    
       
   469 //    Text for query dialog
       
   470 //
       
   471 // -----------------------------------------------------------------------------
       
   472 //
       
   473 RESOURCE TBUF r_callui_vt_setting_note
       
   474     {
       
   475     buf = qtn_incal_set_long_press_call_video;
       
   476     }
       
   477         
       
   478 // -----------------------------------------------------------------------------
       
   479 //
       
   480 //    r_callui_vt_setting_note
       
   481 //    
       
   482 //    The string in VT setting note
       
   483 //
       
   484 // -----------------------------------------------------------------------------
       
   485 //
       
   486 RESOURCE TBUF r_callui_popup_vt_title_setting
       
   487     {
       
   488     buf = qtn_popup_vt_title_setting;
       
   489     }
       
   490 
       
   491 // -----------------------------------------------------------------------------
       
   492 //
       
   493 //    r_callui_vt_setting_query
       
   494 //    
       
   495 //    Query dialog for Video Telephony setting
       
   496 //
       
   497 //    
       
   498 // -----------------------------------------------------------------------------
       
   499 //
       
   500 
       
   501 RESOURCE DIALOG r_callui_vt_setting_query
       
   502     {
       
   503     flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
       
   504     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   505     items=
       
   506         {
       
   507         DLG_LINE
       
   508             {
       
   509             type = EAknCtPopupHeadingPane;
       
   510             id = EAknMessageQueryHeaderId;
       
   511             control = AVKON_HEADING
       
   512                 {
       
   513                 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
       
   514                 };
       
   515             },
       
   516         DLG_LINE
       
   517             {
       
   518             type = EAknCtMessageQuery;
       
   519             id = EAknMessageQueryContentId;
       
   520             control = AVKON_MESSAGE_QUERY
       
   521                 {
       
   522                 message = qtn_incal_set_long_press_call_video;
       
   523                 };
       
   524             }
       
   525         };
       
   526     }        
       
   527 
       
   528 RESOURCE TBUF r_callui_cs_voice_call
       
   529     {
       
   530     buf = qtn_call_sub_voice;
       
   531     }
       
   532 
       
   533 RESOURCE TBUF r_callui_cs_video_call
       
   534     {
       
   535     buf = qtn_call_sub_video;
       
   536     }
       
   537 
       
   538 RESOURCE TBUF r_callui_internet_call
       
   539     {
       
   540     buf = qtn_call_sub_internet;
       
   541     }
       
   542     
       
   543 RESOURCE TBUF r_callui_xsp_call_with_service_name
       
   544     {
       
   545     buf = qtn_call_sub_voip_with_name;
       
   546     }
       
   547     
       
   548 RESOURCE TBUF r_callui_call_submenu_title
       
   549     {
       
   550     buf = qtn_options_call;
       
   551     }
       
   552     
       
   553 RESOURCE TBUF r_callui_xsp_test_temp
       
   554     {
       
   555     buf = qtn_call_sub_test;
       
   556     }
       
   557 
       
   558 // End of File