email/mail/group/MsgMailViewer.rss
changeset 0 72b543305e3a
child 1 d09ac5c1e252
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002-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:  This file contains all the resources for the MsgMailViewer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME    MAVW // MAilVieWer, 4 letter ID
       
    21 
       
    22 //  INCLUDES
       
    23 #include <appinfo.rh>
       
    24 #include <DRMCommon.loc>
       
    25 #include <Messaging.loc>
       
    26 #include <data_caging_paths_strings.hrh>
       
    27 #include <eikon.rh>
       
    28 #include <eikon.hrh>
       
    29 #include "msgmailviewer.hrh"
       
    30 #include <MsgMailEditor.loc>
       
    31 #include <MsgMailViewer.loc>
       
    32 #include "eikon.rsg"
       
    33 #include <avkon.loc>
       
    34 #include <avkon.rsg>
       
    35 #include <avkon.rh>
       
    36 #include <avkon.mbg>
       
    37 #include <MsgEditor.rh>
       
    38 #include "MsgMailViewer.rh"
       
    39 #include <MsgEditorAppUi.hrh>
       
    40 #include <finditem.hrh>
       
    41 #include <AiwCommon.rh>
       
    42 #include <AiwGenericParam.hrh>
       
    43 #include <MsgEditor.hrh>   
       
    44 
       
    45 #include <AvkonIcons.hrh> // Avkon icon files
       
    46 #include <muiu.mbg>
       
    47 
       
    48 //  RESOURCE DEFINITIONS 
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 //   Standard resource signature.
       
    52 // -----------------------------------------------------------------------------
       
    53 RESOURCE RSS_SIGNATURE { }
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 //   Application caption and default filename.
       
    57 // -----------------------------------------------------------------------------
       
    58 RESOURCE TBUF { buf=""; }
       
    59     
       
    60 //------------------------------------------------------------------------------
       
    61 //   Constants
       
    62 //------------------------------------------------------------------------------
       
    63 #define MUIU_ICON_FILE          BITMAP_DIR"\\muiu.mif"
       
    64 
       
    65 // -----------------------------------------------------------------------------
       
    66 //   Mail Editor application info
       
    67 // -----------------------------------------------------------------------------
       
    68 RESOURCE EIK_APP_INFO
       
    69 {
       
    70     menubar=r_msgmailviewer_menubar;
       
    71     cba=r_msgmailviewer_softkeys_options_back_contextoptions;
       
    72     custom_app_info_extension = r_msgmailviewer_app_info_extension;
       
    73 }
       
    74 
       
    75 //------------------------------------------------------------------------------
       
    76 //   Application resource info extension
       
    77 //------------------------------------------------------------------------------
       
    78 RESOURCE EIK_APP_INFO_EXT r_msgmailviewer_app_info_extension
       
    79     {
       
    80     popup_toolbar = r_mailviewer_toolbar;
       
    81     }
       
    82 
       
    83 // -----------------------------------------------------------------------------
       
    84 //   Mail Viewer cba (to be used when msk ready)
       
    85 // -----------------------------------------------------------------------------
       
    86 RESOURCE CBA r_msgmailviewer_softkeys_options_back_contextoptions
       
    87     {
       
    88     flags = 0;
       
    89     buttons = 
       
    90         {
       
    91         CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;},
       
    92         CBA_BUTTON {id=EAknSoftkeyBack; txt= text_softkey_back;},
       
    93         CBA_BUTTON {id=EAknSoftkeyContextOptions; txt=text_softkey_option;}
       
    94         };
       
    95     }
       
    96 
       
    97 
       
    98 // ----------------------------------------------------------------------------
       
    99 //   Application caption and default filename.
       
   100 // ----------------------------------------------------------------------------
       
   101 RESOURCE LOCALISABLE_APP_INFO r_msgmailviewer_localisable_app_info
       
   102     {
       
   103     short_caption = qtn_mail_title_mail;
       
   104     caption_and_icon = 
       
   105     CAPTION_AND_ICON_INFO
       
   106         {
       
   107         caption = qtn_mail_title_mail;
       
   108         number_of_icons = 1;
       
   109          // Use Same icons than Mail Editor
       
   110         icon_file = APP_BITMAP_DIR"\\MsgMailEditor_aif.mif";
       
   111         };
       
   112     }
       
   113 
       
   114 //------------------------------------------------------------------------------
       
   115 //   r_mailviewer_toolbar.
       
   116 //------------------------------------------------------------------------------
       
   117 //
       
   118 RESOURCE AVKON_TOOLBAR r_mailviewer_toolbar 
       
   119 	{
       
   120 	flags = KAknToolbarFixed;
       
   121     items =
       
   122         {
       
   123         TBAR_CTRL
       
   124             {
       
   125             type = EAknCtButton;
       
   126             id = EMsgMailViewerCmdReplySender;
       
   127             control = AVKON_BUTTON
       
   128                 {
       
   129                 flags = KAknButtonSizeFitText;
       
   130                 states =
       
   131                     {
       
   132                     AVKON_BUTTON_STATE
       
   133                         {
       
   134                         helptxt = qtn_mce_mail_tb_tooltip_reply;
       
   135 					    bmpfile = MUIU_ICON_FILE;
       
   136 					    bmpid=EMbmMuiuQgn_indi_tb_email_reply;
       
   137 					    bmpmask=EMbmMuiuQgn_indi_tb_email_reply_mask;                        
       
   138 					    }  
       
   139                     };            
       
   140                 };
       
   141             },
       
   142         TBAR_CTRL
       
   143             {
       
   144             type = EAknCtButton;
       
   145             id = EMsgMailViewerCmdForward;
       
   146             control = AVKON_BUTTON
       
   147                 {
       
   148                 flags = KAknButtonSizeFitText;
       
   149                 states =
       
   150                     {
       
   151                     AVKON_BUTTON_STATE
       
   152                         {
       
   153                         helptxt = qtn_mce_mail_tb_tooltip_forward;
       
   154 					    bmpfile = MUIU_ICON_FILE;
       
   155 					    bmpid=EMbmMuiuQgn_indi_tb_email_forward;
       
   156 					    bmpmask=EMbmMuiuQgn_indi_tb_email_forward_mask;                        
       
   157                         }  
       
   158                     };            
       
   159                 };
       
   160             },  
       
   161         TBAR_CTRL
       
   162             {
       
   163             type = EAknCtButton;
       
   164             id = EMsgMailViewerCmdDelete;
       
   165             control = AVKON_BUTTON
       
   166                 {
       
   167                 flags = KAknButtonSizeFitText;
       
   168                 states =
       
   169                     {
       
   170                     AVKON_BUTTON_STATE
       
   171                         {
       
   172                         helptxt = qtn_mce_mail_tb_tooltip_delete;
       
   173 					    bmpfile = MUIU_ICON_FILE;
       
   174 					    bmpid=EMbmMuiuQgn_indi_mg_tb_delete;
       
   175 					    bmpmask=EMbmMuiuQgn_indi_mg_tb_delete_mask;
       
   176                         }  
       
   177                     };            
       
   178                 };
       
   179             }            
       
   180       	};
       
   181 	}
       
   182 
       
   183 // -----------------------------------------------------------------------------
       
   184 //    Title text for attachments dialog
       
   185 // -----------------------------------------------------------------------------
       
   186 //
       
   187 RESOURCE TBUF r_viewer_title_attachments { buf = qtn_mail_title_attachments; }
       
   188 
       
   189 // -----------------------------------------------------------------------------
       
   190 //    r_msgmailviewer_menubar
       
   191 //    Application specific menubar
       
   192 // -----------------------------------------------------------------------------
       
   193 //
       
   194 RESOURCE MENU_BAR r_msgmailviewer_menubar
       
   195     {
       
   196     titles=
       
   197         {             
       
   198         MENU_TITLE { menu_pane=r_msgmailviewer_options_menu2; },
       
   199         MENU_TITLE { menu_pane=r_msgmailviewer_call_menu; },
       
   200         MENU_TITLE { menu_pane=r_msgmailviewer_options_menu1; }
       
   201         };
       
   202     }
       
   203 
       
   204 // -----------------------------------------------------------------------------
       
   205 //    r_msgmailviewer_call_interest
       
   206 // -----------------------------------------------------------------------------
       
   207 //
       
   208 RESOURCE AIW_INTEREST r_msgmailviewer_call_interest
       
   209     {
       
   210     items=
       
   211         {
       
   212         AIW_CRITERIA_ITEM 
       
   213             { 
       
   214             id = KAiwCmdCall;  // serviceCmd used here also as ID
       
   215             serviceCmd = KAiwCmdCall;
       
   216             contentType = "*";
       
   217             serviceClass = KAiwClassMenu;
       
   218             defaultProvider = 0x101F868E; // Call UI
       
   219             maxProviders    = 1;
       
   220             }
       
   221         };
       
   222     }
       
   223     
       
   224 // ----------------------------------------------------------------------------
       
   225 //    r_msgmailviewer_options_menu1
       
   226 //    Menu items in Options menu
       
   227 // ----------------------------------------------------------------------------
       
   228 //
       
   229 RESOURCE MENU_PANE r_msgmailviewer_options_menu1
       
   230     {
       
   231     items=
       
   232         {
       
   233         MENU_ITEM 
       
   234             { 
       
   235             command = EMsgMailViewerCmdReply; 
       
   236             txt=qtn_mail_om_reply; 
       
   237             cascade=r_msgmailviewer_reply_menu;
       
   238             flags=EEikMenuItemDimmed;
       
   239             },
       
   240         MENU_ITEM 
       
   241             { 
       
   242             command = EMsgMailViewerCmdReplySender; 
       
   243             txt=qtn_mail_om_reply;
       
   244             flags=EEikMenuItemDimmed; 
       
   245             },             
       
   246         MENU_ITEM
       
   247             {
       
   248             command = EMsgMailViewerCmdForward; 
       
   249         	txt=qtn_mail_om_forward;
       
   250         	},
       
   251         MENU_ITEM
       
   252             { 
       
   253             command = EMsgMailViewerCmdDelete; 
       
   254         	txt=qtn_msg_om_delete;
       
   255         	}
       
   256         };
       
   257     }
       
   258 
       
   259 // ----------------------------------------------------------------------------
       
   260 //    r_msgmailviewer_options_menu2
       
   261 //    Menu items in Options menu
       
   262 // ----------------------------------------------------------------------------
       
   263 //    
       
   264 RESOURCE MENU_PANE r_msgmailviewer_options_menu2
       
   265     {
       
   266     items=
       
   267         {
       
   268         MENU_ITEM
       
   269             {
       
   270             command = EFindItemMenuPlaceHolder;
       
   271             txt = ""; 
       
   272             flags = EEikMenuItemDimmed;
       
   273             },
       
   274 		MENU_ITEM
       
   275 		    {
       
   276 		    command = EMsgMailViewerCmdRetrieve; 
       
   277 			txt = qtn_mail_om_retrieve;
       
   278 			},
       
   279         MENU_ITEM
       
   280             {
       
   281             command = EMsgMailViewerCmdAttachments; 
       
   282         	txt = qtn_mail_om_attachments;
       
   283         	},
       
   284         MENU_ITEM
       
   285             {
       
   286             command = EMsgMailViewerCmdMessageInfo; 
       
   287         	txt = qtn_msg_om_message_info;
       
   288         	},
       
   289         MENU_ITEM
       
   290             {
       
   291             command = EMsgMailViewerCmdMove; 
       
   292         	txt = qtn_mail_om_move_to_folder;
       
   293             flags = EEikMenuItemDimmed;
       
   294             },
       
   295         MENU_ITEM
       
   296             {
       
   297             command = EMsgMailViewerCmdCopy; 
       
   298             txt = qtn_mail_om_copy_to_folder;
       
   299             flags = EEikMenuItemDimmed; },
       
   300 		MENU_ITEM
       
   301 		    {
       
   302 		    command = EMsgMailViewerCmdCharSet; 
       
   303 			txt = qtn_chi_mail_om_charset;
       
   304             cascade = r_msgmailviewer_charset_menu; 
       
   305             flags = EEikMenuItemDimmed;
       
   306             },
       
   307         MENU_ITEM
       
   308             {
       
   309             command = EMsgMailViewerEncode; 
       
   310         	txt = qtn_mail_settings_encode; 
       
   311         	flags = EEikMenuItemDimmed;
       
   312         	},
       
   313         MENU_ITEM
       
   314             {
       
   315             command = EMsgMailViewerSubmenuZoomCommands;  
       
   316             txt = qtn_options_text_size;
       
   317             cascade = r_msgmailviewer_zoom_submenu;
       
   318             },
       
   319     	MENU_ITEM
       
   320     	    {
       
   321     	    command = EAknCmdHelp;
       
   322             txt = qtn_options_help;
       
   323             },
       
   324         MENU_ITEM
       
   325             {
       
   326             command = EAknCmdExit;
       
   327             txt = qtn_options_exit;
       
   328             }
       
   329         };
       
   330     }    
       
   331     
       
   332 RESOURCE MENU_PANE r_msgmailviewer_call_menu
       
   333     {
       
   334     items=
       
   335         {         			
       
   336         // This menu item will be replaced by AIW.
       
   337         MENU_ITEM 
       
   338             { 
       
   339             command = KAiwCmdCall; // The same ID than in interest.
       
   340             txt = ""; // Will be replaced by AIW (plugin).
       
   341             cascade = AIW_INTELLIGENT_CASCADE_ID;
       
   342             }                    			
       
   343         };
       
   344     }
       
   345 
       
   346 
       
   347 // -----------------------------------------------------------------------------
       
   348 //   
       
   349 //    r_msgmailviewer_reply_menu
       
   350 //    Menu items in Reply submenu
       
   351 //
       
   352 // -----------------------------------------------------------------------------
       
   353 //
       
   354 RESOURCE MENU_PANE r_msgmailviewer_reply_menu
       
   355     {
       
   356     items=
       
   357         {
       
   358         MENU_ITEM { command = EMsgMailViewerCmdReplySender; 
       
   359         			txt=qtn_mail_sm_reply_to_sender; },
       
   360         MENU_ITEM { command = EMsgMailViewerCmdReplyAll; 
       
   361         			txt=qtn_mail_sm_reply_to_all; },
       
   362         MENU_ITEM { command = EMsgMailViewerCmdReplyViaUnified; 
       
   363         			txt=qtn_mms_sm_via_message; 
       
   364         			flags=EEikMenuItemDimmed;},
       
   365         MENU_ITEM { command = EMsgMailViewerCmdReplyViaAudio; 
       
   366         			txt=qtn_msg_reply_via_audio_message; 
       
   367         			flags=EEikMenuItemDimmed;}        			
       
   368         };
       
   369     }
       
   370 
       
   371 // -----------------------------------------------------------------------------
       
   372 //   
       
   373 //    r_msgmailviewer_charset_menu
       
   374 //    Menu items are added dynamically
       
   375 //
       
   376 // -----------------------------------------------------------------------------
       
   377 //
       
   378 RESOURCE MENU_PANE r_msgmailviewer_charset_menu
       
   379     {
       
   380     items=
       
   381         {
       
   382         // Items are added dynamically
       
   383         };
       
   384     }
       
   385 
       
   386 // -----------------------------------------------------------------------------
       
   387 //   
       
   388 //    r_msgmailviewer_context_menubar
       
   389 //    Menubar for context menu
       
   390 //
       
   391 // -----------------------------------------------------------------------------
       
   392 //
       
   393 RESOURCE MENU_BAR r_msgmailviewer_context_menubar
       
   394 {
       
   395     titles=
       
   396     {
       
   397         MENU_TITLE { menu_pane=r_msgmailviewer_finditem_menu; },
       
   398         MENU_TITLE { menu_pane=r_msgmailviewer_call_menu; },
       
   399         MENU_TITLE { menu_pane = r_msgmailviewer_context_menupane; }
       
   400         
       
   401     };
       
   402 }
       
   403 
       
   404 
       
   405 RESOURCE MENU_PANE r_msgmailviewer_finditem_menu
       
   406     {
       
   407     items=
       
   408         {
       
   409         // This menu item will be replaced by AIW.
       
   410         MENU_ITEM
       
   411             {
       
   412             command = EFindItemContextMenuPlaceHolder;
       
   413             txt="";
       
   414             }
       
   415 
       
   416         };
       
   417     }
       
   418 
       
   419 // ----------------------------------------------------------------------------- 
       
   420 //    r_msgmailviewer_context_menupane
       
   421 //    Menupane for context menu
       
   422 // -----------------------------------------------------------------------------
       
   423 //
       
   424 RESOURCE MENU_PANE r_msgmailviewer_context_menupane
       
   425 {
       
   426     items=
       
   427     {
       
   428         
       
   429         MENU_ITEM 
       
   430             { 
       
   431             command = EMsgMailViewerCmdReplySender; 
       
   432             txt=qtn_mail_om_reply;
       
   433             }, 
       
   434         MENU_ITEM 
       
   435             { 
       
   436             command=EMsgMailViewerCmdDelete; 
       
   437             txt = qtn_msg_om_delete; 
       
   438             }
       
   439        
       
   440     };
       
   441 }
       
   442 
       
   443 // ------------------------------------------------------------------------------   
       
   444 //    R_MAIL_VIEWER_FROM
       
   445 //
       
   446 //    'From' field in mail viewer's scrollable form.
       
   447 // ------------------------------------------------------------------------------
       
   448 
       
   449 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mail_viewer_from
       
   450 {
       
   451     prompt = qtn_msg_from;
       
   452     id = EMsgComponentIdFrom;
       
   453     distance = 0;
       
   454 }
       
   455 
       
   456 
       
   457 // ------------------------------------------------------------------------------   
       
   458 //    R_MAIL_VIEWER_TO
       
   459 //
       
   460 //    'To' field in mail viewer's scollable form.
       
   461 // ------------------------------------------------------------------------------
       
   462 
       
   463 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mail_viewer_to
       
   464     {
       
   465     prompt = qtn_msg_to;
       
   466     id = EMsgComponentIdTo;
       
   467     distance = 0;    
       
   468     }
       
   469 
       
   470 
       
   471 // ------------------------------------------------------------------------------   
       
   472 //    R_MAIL_VIEWER_BCC
       
   473 //
       
   474 //    'Bcc' field in mail viewer's scollable form.
       
   475 // ------------------------------------------------------------------------------
       
   476 
       
   477 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mail_viewer_bcc
       
   478     {
       
   479     prompt = qtn_msg_bcc;
       
   480     id = EMsgComponentIdBcc;
       
   481     distance = 0;    
       
   482     }
       
   483     
       
   484 // ------------------------------------------------------------------------------     
       
   485 //    R_MAIL_VIEWER_CC
       
   486 //
       
   487 //    'Cc' field in mail viewer's scrollable form.
       
   488 // ------------------------------------------------------------------------------ 
       
   489 
       
   490 
       
   491 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mail_viewer_cc
       
   492     {
       
   493     prompt = qtn_msg_cc;
       
   494     id = EMsgComponentIdCc;
       
   495     distance = 0;   
       
   496     maxchars = 998;
       
   497     }
       
   498 
       
   499 // ------------------------------------------------------------------------------     
       
   500 //    R_MAIL_VIEWER_SUBJECT
       
   501 //
       
   502 //    'Subject' field in mail viewer's scrollable form.
       
   503 // ------------------------------------------------------------------------------ 
       
   504 
       
   505 RESOURCE MSG_EDITOR_EXPANDABLE_CONTROL r_mail_viewer_subject
       
   506     {
       
   507     prompt = qtn_msg_subject;
       
   508     id = EMsgComponentIdSubject;
       
   509     distance = 0;
       
   510     maxchars = 998;
       
   511     } 
       
   512 
       
   513 // ------------------------------------------------------------------------------ 
       
   514 //   R_MAIL_VIEWER_DELETE_LOCAL_SERVER
       
   515 //
       
   516 //   Items in delete confirmation dialog
       
   517 // ------------------------------------------------------------------------------ 
       
   518 RESOURCE ARRAY r_mail_viewer_delete_local_server
       
   519     {
       
   520     items = 
       
   521         {
       
   522         LBUF { txt = qtn_mce_pop_up_locally; },
       
   523         LBUF { txt = qtn_mce_pop_up_server; }
       
   524         };
       
   525     }
       
   526 
       
   527 // ------------------------------------------------------------------------------ 
       
   528 //    R_MAIL_VIEWER_CONFIRM_DELETE
       
   529 //    
       
   530 //    Delete confirmation dialog
       
   531 // ------------------------------------------------------------------------------ 
       
   532 RESOURCE DIALOG r_mail_viewer_confirm_delete
       
   533     {
       
   534     flags=EGeneralQueryFlags;
       
   535     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   536     items =
       
   537         {   
       
   538         DLG_LINE
       
   539             {
       
   540             type=EAknCtListQueryControl;
       
   541             id=EListQueryControl;
       
   542             control=AVKON_LIST_QUERY_CONTROL 
       
   543                 { 
       
   544                 listtype = EAknCtSinglePopupMenuListBox;
       
   545                 listbox = LISTBOX
       
   546                     {
       
   547                     flags = EAknListBoxMenuList;
       
   548                     //height = 3;
       
   549                     //width = 3;
       
   550                     array_id=r_mail_viewer_delete_local_server;
       
   551                     };
       
   552                 heading=qtn_mce_pop_up_delete;
       
   553                 };
       
   554             }
       
   555         };
       
   556     }
       
   557 
       
   558 // ---------------------------------------------------------------------------
       
   559 // Attachments dialog buttons.
       
   560 // Attachments dialog. Only temporary solution before base MagEditorAppUi.rss
       
   561 // is changed!
       
   562 // ---------------------------------------------------------------------------
       
   563 RESOURCE CBA r_mail_viewer_softkeys_options_open_back
       
   564     {
       
   565     buttons =
       
   566         {
       
   567         CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
       
   568         CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; },
       
   569         CBA_BUTTON {id=EAknSoftkeyOpen; txt = qtn_msk_open;}
       
   570         };
       
   571     }
       
   572 
       
   573 
       
   574 // ---------------------------------------------------------------------------
       
   575 //
       
   576 // r_mail_viewer_attachment_dialog
       
   577 // Attachments dialog. Only temporary solution before base MagEditorAppUi.rss
       
   578 // is changed!
       
   579 //
       
   580 // ---------------------------------------------------------------------------   
       
   581 RESOURCE DIALOG r_mail_viewer_attachment_dialog
       
   582 {
       
   583     flags =
       
   584         EEikDialogFlagNoDrag
       
   585         | EEikDialogFlagFillAppClientRect
       
   586         | EEikDialogFlagNoTitleBar
       
   587         | EEikDialogFlagCbaButtons
       
   588         ;
       
   589     buttons = r_mail_viewer_softkeys_options_open_back;
       
   590 
       
   591     items =
       
   592     {
       
   593         DLG_LINE
       
   594         {
       
   595             type      = EMsgAttachmentListBox;
       
   596             id        = EMsgAttachmentListBoxId;
       
   597             itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
   598             control   = LISTBOX
       
   599             {
       
   600                 flags    = 0;
       
   601                 height   = 3;
       
   602             };
       
   603         }
       
   604     };
       
   605 
       
   606 }
       
   607 
       
   608 
       
   609 // ------------------------------------------------------------------------------   
       
   610 //    r_attachments_menu
       
   611 //
       
   612 //    menu items for Attachments dialog 
       
   613 // ------------------------------------------------------------------------------
       
   614 RESOURCE MENU_PANE r_viewer_attachments_menu
       
   615 {
       
   616     items=
       
   617     {
       
   618         MENU_ITEM { command = EMsgViewAttachmentCmdOpen; 
       
   619             txt=qtn_mail_om_open;
       
   620             flags=EEikMenuItemDimmed; },
       
   621         MENU_ITEM { command = EMsgViewAttachmentCmdFetch; 
       
   622             txt=qtn_mail_om_fetch;
       
   623             flags=EEikMenuItemDimmed; },
       
   624         MENU_ITEM { command = EMsgViewAttachmentCmdSave; 
       
   625             txt=qtn_mail_om_save;
       
   626             flags=EEikMenuItemDimmed; },
       
   627         MENU_ITEM { command = EMsgViewAttachmentCmdRemove; 
       
   628             txt=qtn_mail_om_remove;
       
   629             flags=EEikMenuItemDimmed; },
       
   630         
       
   631         MENU_ITEM { command = EAknCmdHelp; txt=qtn_options_help; },
       
   632         MENU_ITEM { command = EMsgMailViewerCmdAttachmentCmdExit; 
       
   633             txt=qtn_options_exit; }
       
   634     };
       
   635 }
       
   636 
       
   637 
       
   638 // -----------------------------------------------------------------------------
       
   639 //    r_viewer_wait_open_note
       
   640 // Shown when viewer is opened
       
   641 // -----------------------------------------------------------------------------
       
   642 //
       
   643 RESOURCE DIALOG r_viewer_wait_open_note
       
   644     {
       
   645     flags = EAknWaitNoteFlags;
       
   646     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   647     items =
       
   648         {
       
   649         DLG_LINE
       
   650             { 
       
   651             type = EAknCtNote;
       
   652             id = EGeneralNote;
       
   653             control = AVKON_NOTE
       
   654                 {
       
   655                 layout = EWaitLayout;
       
   656                 singular_label = qtn_mail_wait_opening_editor;
       
   657                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   658                 };
       
   659             }
       
   660         };
       
   661     }
       
   662     
       
   663 
       
   664 // -----------------------------------------------------------------------------
       
   665 //    r_viewer_wait_open_dialog_note
       
   666 // Shown when trying to forward messages and attachment loading is running.
       
   667 // -----------------------------------------------------------------------------
       
   668 //
       
   669 RESOURCE DIALOG r_viewer_wait_open_dialog_note
       
   670     {
       
   671     flags = EAknWaitNoteFlags;
       
   672     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   673     items =
       
   674         {
       
   675         DLG_LINE
       
   676             { 
       
   677             type = EAknCtNote;
       
   678             id = EGeneralNote;
       
   679             control = AVKON_NOTE
       
   680                 {
       
   681                 layout = EWaitLayout;
       
   682                 singular_label = qtn_mail_wait_opening_editor;
       
   683                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   684                 };
       
   685             }
       
   686         };
       
   687     }    
       
   688 
       
   689 
       
   690 // -----------------------------------------------------------------------------
       
   691 //    r_mail_quest_delete_msg
       
   692 // -----------------------------------------------------------------------------
       
   693 //
       
   694 RESOURCE TBUF r_mail_quest_delete_msg
       
   695     {
       
   696     buf = qtn_mail_quest_delete_msg;
       
   697     }
       
   698 
       
   699 // -----------------------------------------------------------------------------
       
   700 //    r_mail_viewer_remove_attachment
       
   701 // -----------------------------------------------------------------------------
       
   702 //
       
   703 RESOURCE TBUF r_mail_viewer_remove_attachment
       
   704     {
       
   705     buf = qtn_query_common_conf_remove;
       
   706     }
       
   707 
       
   708 // -----------------------------------------------------------------------------
       
   709 //    r_viewer_wait_opening
       
   710 // -----------------------------------------------------------------------------
       
   711 //
       
   712 RESOURCE TBUF r_viewer_wait_opening { buf = qtn_mail_wait_opening_editor; }
       
   713 
       
   714 // China
       
   715 RESOURCE TBUF r_qtn_chi_mail_sm_gb2312 { buf = qtn_chi_mail_sm_gb2312; }
       
   716 RESOURCE TBUF r_qtn_chi_mail_sm_big5 { buf = qtn_chi_mail_sm_big5; }
       
   717 
       
   718 // Japanise
       
   719 RESOURCE TBUF r_qtn_jpn_mail_om_charset { buf = qtn_jpn_mail_om_charset; }
       
   720 RESOURCE TBUF r_qtn_jpn_mail_sm_charset_iso2022jp 
       
   721     { 
       
   722     buf = qtn_jpn_mail_sm_charset_iso2022jp; 
       
   723     }
       
   724 RESOURCE TBUF r_qtn_jpn_mail_sm_charset_eucjp 
       
   725     { 
       
   726     buf = qtn_jpn_mail_sm_charset_eucjp; 
       
   727     }
       
   728 RESOURCE TBUF r_qtn_jpn_mail_sm_charset_shiftjis 
       
   729     { 
       
   730     buf = qtn_jpn_mail_sm_charset_shiftjis; 
       
   731     }
       
   732 
       
   733 // -----------------------------------------------------------------------------
       
   734 //    r_qtn_mail_wait_fecth_all
       
   735 // -----------------------------------------------------------------------------
       
   736 //
       
   737 RESOURCE TBUF r_qtn_mail_wait_fetch_att
       
   738     { 
       
   739     buf=qtn_mail_wait_fetch_att; 
       
   740     }
       
   741     
       
   742 // -----------------------------------------------------------------------------
       
   743 //    r_qtn_msg_mail_re
       
   744 // -----------------------------------------------------------------------------
       
   745 //
       
   746 RESOURCE TBUF r_qtn_msg_mail_re
       
   747     {
       
   748     buf = qtn_msg_mail_re;
       
   749     }
       
   750     
       
   751 // -----------------------------------------------------------------------------
       
   752 //    r_qtn_msk_attachment
       
   753 // -----------------------------------------------------------------------------
       
   754 //
       
   755 RESOURCE TBUF r_qtn_msk_attachment
       
   756     {
       
   757     buf = qtn_msk_attachment;
       
   758     }
       
   759 
       
   760 // -----------------------------------------------------------------------------
       
   761 //    r_qtn_msk_fetch
       
   762 // -----------------------------------------------------------------------------
       
   763 //
       
   764 RESOURCE TBUF r_qtn_msk_fetch
       
   765     {
       
   766     buf = qtn_msk_fetch;
       
   767     }    
       
   768 
       
   769 // -----------------------------------------------------------------------------
       
   770 //    r_text_softkey_option
       
   771 // -----------------------------------------------------------------------------
       
   772 //    
       
   773 RESOURCE TBUF r_text_softkey_option
       
   774     {
       
   775     buf = text_softkey_option;
       
   776     }     
       
   777 
       
   778 // Array containing HTML macroes and Unicode characters they represent
       
   779 RESOURCE ARRAY r_mail_html_macro
       
   780 {
       
   781     items=
       
   782     {
       
   783         STRING_PAIR{macro="nbsp";   text= <0x00A0>; },
       
   784         STRING_PAIR{macro="iexcl";   text= <0x00A1>; },
       
   785         STRING_PAIR{macro="cent";   text= <0x00A2>; },
       
   786         STRING_PAIR{macro="pound";   text= <0x00A3>; },
       
   787         STRING_PAIR{macro="curren";   text= <0x00A4>; },
       
   788         STRING_PAIR{macro="yen";   text= <0x00A5>; },
       
   789         STRING_PAIR{macro="brvbar";   text= <0x00A6>; },
       
   790         STRING_PAIR{macro="sect";   text= <0x00A7>; },
       
   791         STRING_PAIR{macro="uml";   text= <0x00A8>; },
       
   792         STRING_PAIR{macro="copy";   text= <0x00A9>; },
       
   793         STRING_PAIR{macro="ordf";   text= <0x00AA>; },
       
   794         STRING_PAIR{macro="laquo";   text= <0x00AB>; },
       
   795         STRING_PAIR{macro="not";   text= <0x00AC>; },
       
   796         STRING_PAIR{macro="shy";   text= <0x00AD>; },
       
   797         STRING_PAIR{macro="reg";   text= <0x00AE>; },
       
   798         STRING_PAIR{macro="macr";   text= <0x00AF>; },
       
   799         STRING_PAIR{macro="deg";   text= <0x00B0>; },
       
   800         STRING_PAIR{macro="plusmn";   text= <0x00B1>; },
       
   801         STRING_PAIR{macro="sup2";   text= <0x00B2>; },
       
   802         STRING_PAIR{macro="sup3";   text= <0x00B3>; },
       
   803         STRING_PAIR{macro="acute";   text= <0x00B4>; },
       
   804         STRING_PAIR{macro="micro";   text= <0x00B5>; },
       
   805         STRING_PAIR{macro="para";   text= <0x00B6>; },
       
   806         STRING_PAIR{macro="middot";   text= <0x00B7>; },
       
   807         STRING_PAIR{macro="cedil";   text= <0x00B8>; },
       
   808         STRING_PAIR{macro="sup1";   text= <0x00B9>; },
       
   809         STRING_PAIR{macro="ordm";   text= <0x00BA>; },
       
   810         STRING_PAIR{macro="raquo";   text= <0x00BB>; },
       
   811         STRING_PAIR{macro="frac14";   text= <0x00BC>; },
       
   812         STRING_PAIR{macro="frac12";   text= <0x00BD>; },
       
   813         STRING_PAIR{macro="frac34";   text= <0x00BE>; },
       
   814         STRING_PAIR{macro="iquest";   text= <0x00BF>; },
       
   815         STRING_PAIR{macro="Agrave";   text= <0x00C0>; },
       
   816         STRING_PAIR{macro="Aacute";   text= <0x00C1>; },
       
   817         STRING_PAIR{macro="Acirc";   text= <0x00C2>; },
       
   818         STRING_PAIR{macro="Atilde";   text= <0x00C3>; },
       
   819         STRING_PAIR{macro="Auml";   text= <0x00C4>; },
       
   820         STRING_PAIR{macro="Aring";   text= <0x00C5>; },
       
   821         STRING_PAIR{macro="AElig";   text= <0x00C6>; },
       
   822         STRING_PAIR{macro="Ccedil";   text= <0x00C7>; },
       
   823         STRING_PAIR{macro="Egrave";   text= <0x00C8>; },
       
   824         STRING_PAIR{macro="Eacute";   text=<0x00C9>; },
       
   825         STRING_PAIR{macro="Ecirc";   text=<0x00CA>; },
       
   826         STRING_PAIR{macro="Euml";   text=<0x00CB>; },
       
   827         STRING_PAIR{macro="Igrave";   text=<0x00CC>; },
       
   828         STRING_PAIR{macro="Iacute";   text=<0x00CD>; },
       
   829         STRING_PAIR{macro="Icirc";   text=<0x00CE>; },
       
   830         STRING_PAIR{macro="Iuml";   text=<0x00CF>; },
       
   831         STRING_PAIR{macro="ETH";   text=<0x00D0>; },
       
   832         STRING_PAIR{macro="Ntilde";   text=<0x00D1>; },
       
   833         STRING_PAIR{macro="Ograve";   text=<0x00D2>; },
       
   834         STRING_PAIR{macro="Oacute";   text=<0x00D3>; },
       
   835         STRING_PAIR{macro="Ocirc";   text=<0x00D4>; },
       
   836         STRING_PAIR{macro="Otilde";   text=<0x00D5>; },
       
   837         STRING_PAIR{macro="Ouml";   text=<0x00D6>; },
       
   838         STRING_PAIR{macro="times";   text=<0x00D7>; },
       
   839         STRING_PAIR{macro="Oslash";   text=<0x00D8>; },
       
   840         STRING_PAIR{macro="Ugrave";   text=<0x00D9>; },
       
   841         STRING_PAIR{macro="Uacute";   text=<0x00DA>; },
       
   842         STRING_PAIR{macro="Ucirc";   text=<0x00DB>; },
       
   843         STRING_PAIR{macro="Uuml";   text=<0x00DC>; },
       
   844         STRING_PAIR{macro="Yacute";   text=<0x00DD>; },
       
   845         STRING_PAIR{macro="THORN";   text=<0x00DE>; },
       
   846         STRING_PAIR{macro="szlig";   text=<0x00DF>; },
       
   847         STRING_PAIR{macro="agrave";   text=<0x00E0>; },
       
   848         STRING_PAIR{macro="aacute";   text=<0x00E1>; },
       
   849         STRING_PAIR{macro="acirc";   text=<0x00E2>; },
       
   850         STRING_PAIR{macro="atilde";   text=<0x00E3>; },
       
   851         STRING_PAIR{macro="auml";   text=<0x00E4>; },
       
   852         STRING_PAIR{macro="aring";   text=<0x00E5>; },
       
   853         STRING_PAIR{macro="aelig";   text=<0x00E6>; },
       
   854         STRING_PAIR{macro="ccedil";   text=<0x00E7>; },
       
   855         STRING_PAIR{macro="egrave";   text=<0x00E8>; },
       
   856         STRING_PAIR{macro="eacute";   text=<0x00E9>; },
       
   857         STRING_PAIR{macro="ecirc";   text=<0x00EA>; },
       
   858         STRING_PAIR{macro="euml";   text=<0x00EB>; },
       
   859         STRING_PAIR{macro="igrave";   text=<0x00EC>; },
       
   860         STRING_PAIR{macro="iacute";   text=<0x00ED>; },
       
   861         STRING_PAIR{macro="icirc";   text=<0x00EE>; },
       
   862         STRING_PAIR{macro="iuml";   text=<0x00EF>; },
       
   863         STRING_PAIR{macro="eth";   text=<0x00F0>; },
       
   864         STRING_PAIR{macro="ntilde";   text=<0x00F1>; },
       
   865         STRING_PAIR{macro="ograve";   text=<0x00F2>; },
       
   866         STRING_PAIR{macro="oacute";   text=<0x00F3>; },
       
   867         STRING_PAIR{macro="ocirc";   text=<0x00F4>; },
       
   868         STRING_PAIR{macro="otilde";   text=<0x00F5>; },
       
   869         STRING_PAIR{macro="ouml";   text=<0x00F6>; },
       
   870         STRING_PAIR{macro="divide";   text=<0x00F7>; },
       
   871         STRING_PAIR{macro="oslash";   text=<0x00F8>; },
       
   872         STRING_PAIR{macro="ugrave";   text=<0x00F9>; },
       
   873         STRING_PAIR{macro="uacute";   text=<0x00FA>; },
       
   874         STRING_PAIR{macro="ucirc";   text=<0x00FB>; },
       
   875         STRING_PAIR{macro="uuml";   text=<0x00FC>; },
       
   876         STRING_PAIR{macro="yacute";   text=<0x00FD>; },
       
   877         STRING_PAIR{macro="thorn";   text=<0x00FE>; },
       
   878         STRING_PAIR{macro="yuml";   text=<0x00FF>; },
       
   879         STRING_PAIR{macro="fnof";   text=<0x0192>; },
       
   880         STRING_PAIR{macro="Alpha";   text=<0x0391>; },
       
   881         STRING_PAIR{macro="Beta";   text=<0x0392>; },
       
   882         STRING_PAIR{macro="Gamma";   text=<0x0393>; },
       
   883         STRING_PAIR{macro="Delta";   text=<0x0394>; },
       
   884         STRING_PAIR{macro="Epsilon";   text=<0x0395>; },
       
   885         STRING_PAIR{macro="Zeta";   text=<0x0396>; },
       
   886         STRING_PAIR{macro="Eta";   text=<0x0397>; },
       
   887         STRING_PAIR{macro="Theta";   text=<0x0398>; },
       
   888         STRING_PAIR{macro="Iota";   text=<0x0399>; },
       
   889         STRING_PAIR{macro="Kappa";   text=<0x039A>; },
       
   890         STRING_PAIR{macro="Lambda";   text=<0x039B>; },
       
   891         STRING_PAIR{macro="Mu";   text=<0x039C>; },
       
   892         STRING_PAIR{macro="Nu";   text=<0x039D>; },
       
   893         STRING_PAIR{macro="Xi";   text=<0x039E>; },
       
   894         STRING_PAIR{macro="Omicron";   text=<0x039F>; },
       
   895         STRING_PAIR{macro="Pi";   text=<0x03A0>; },
       
   896         STRING_PAIR{macro="Rho";   text=<0x03A1>; },
       
   897         STRING_PAIR{macro="Sigma";   text=<0x03A3>; },
       
   898         STRING_PAIR{macro="Tau";   text=<0x03A4>; },
       
   899         STRING_PAIR{macro="Upsilon";   text=<0x03A5>; },
       
   900         STRING_PAIR{macro="Phi";   text=<0x03A6>; },
       
   901         STRING_PAIR{macro="Chi";   text=<0x03A7>; },
       
   902         STRING_PAIR{macro="Psi";   text=<0x03A8>; },
       
   903         STRING_PAIR{macro="Omega";   text=<0x03A9>; },
       
   904         STRING_PAIR{macro="alpha";   text=<0x03B1>; },
       
   905         STRING_PAIR{macro="beta";   text=<0x03B2>; },
       
   906         STRING_PAIR{macro="gamma";   text=<0x03B3>; },
       
   907         STRING_PAIR{macro="delta";   text=<0x03B4>; },
       
   908         STRING_PAIR{macro="epsilon";   text=<0x03B5>; },
       
   909         STRING_PAIR{macro="zeta";   text=<0x03B6>; },
       
   910         STRING_PAIR{macro="eta";   text=<0x03B7>; },
       
   911         STRING_PAIR{macro="theta";   text=<0x03B8>; },
       
   912         STRING_PAIR{macro="iota";   text=<0x03B9>; },
       
   913         STRING_PAIR{macro="kappa";   text=<0x03BA>; },
       
   914         STRING_PAIR{macro="lambda";   text=<0x03BB>; },
       
   915         STRING_PAIR{macro="mu";   text=<0x03BC>; },
       
   916         STRING_PAIR{macro="nu";   text=<0x03BD>; },
       
   917         STRING_PAIR{macro="xi";   text=<0x03BE>; },
       
   918         STRING_PAIR{macro="omicron";   text=<0x03BF>; },
       
   919         STRING_PAIR{macro="pi";   text=<0x03C0>; },
       
   920         STRING_PAIR{macro="rho";   text=<0x03C1>; },
       
   921         STRING_PAIR{macro="sigmaf";   text=<0x03C2>; },
       
   922         STRING_PAIR{macro="sigma";   text=<0x03C3>; },
       
   923         STRING_PAIR{macro="tau";   text=<0x03C4>; },
       
   924         STRING_PAIR{macro="upsilon";   text=<0x03C5>; },
       
   925         STRING_PAIR{macro="phi";   text=<0x03C6>; },
       
   926         STRING_PAIR{macro="chi";   text=<0x03C7>; },
       
   927         STRING_PAIR{macro="psi";   text=<0x03C8>; },
       
   928         STRING_PAIR{macro="omega";   text=<0x03C9>; },
       
   929         STRING_PAIR{macro="thetasym";   text=<0x03D1>; },
       
   930         STRING_PAIR{macro="upsih";   text=<0x03D2>; },
       
   931         STRING_PAIR{macro="piv";   text=<0x03D6>; },
       
   932         STRING_PAIR{macro="bull";   text=<0x2022>; },
       
   933         STRING_PAIR{macro="hellip";   text=<0x2026>; },
       
   934         STRING_PAIR{macro="prime";   text=<0x2032>; },
       
   935         STRING_PAIR{macro="Prime";   text=<0x2033>; },
       
   936         STRING_PAIR{macro="oline";   text=<0x203E>; },
       
   937         STRING_PAIR{macro="frasl";   text=<0x2044>; },
       
   938         STRING_PAIR{macro="weierp";   text=<0x2118>; },
       
   939         STRING_PAIR{macro="image";   text=<0x2111>; },
       
   940         STRING_PAIR{macro="real";   text=<0x211C>; },
       
   941         STRING_PAIR{macro="trade";   text=<0x2122>; },
       
   942         STRING_PAIR{macro="alefsym";   text=<0x2135>; },
       
   943         STRING_PAIR{macro="larr";   text=<0x2190>; },
       
   944         STRING_PAIR{macro="uarr";   text=<0x2191>; },
       
   945         STRING_PAIR{macro="rarr";   text=<0x2192>; },
       
   946         STRING_PAIR{macro="darr";   text=<0x2193>; },
       
   947         STRING_PAIR{macro="harr";   text=<0x2194>; },
       
   948         STRING_PAIR{macro="crarr";   text=<0x21B5>; },
       
   949         STRING_PAIR{macro="lArr";   text=<0x21D0>; },
       
   950         STRING_PAIR{macro="uArr";   text=<0x21D1>; },
       
   951         STRING_PAIR{macro="rArr";   text=<0x21D2>; },
       
   952         STRING_PAIR{macro="dArr";   text=<0x21D3>; },
       
   953         STRING_PAIR{macro="hArr";   text=<0x21D4>; },
       
   954         STRING_PAIR{macro="forall";   text=<0x2200>; },
       
   955         STRING_PAIR{macro="part";   text=<0x2202>; },
       
   956         STRING_PAIR{macro="exist";   text=<0x2203>; },
       
   957         STRING_PAIR{macro="empty";   text=<0x2205>; },
       
   958         STRING_PAIR{macro="nabla";   text=<0x2207>; },
       
   959         STRING_PAIR{macro="isin";   text=<0x2208>; },
       
   960         STRING_PAIR{macro="notin";   text=<0x2209>; },
       
   961         STRING_PAIR{macro="ni";   text=<0x220B>; },
       
   962         STRING_PAIR{macro="prod";   text=<0x220F>; },
       
   963         STRING_PAIR{macro="sum";   text=<0x2211>; },
       
   964         STRING_PAIR{macro="minus";   text=<0x2212>; },
       
   965         STRING_PAIR{macro="lowast";   text=<0x2217>; },
       
   966         STRING_PAIR{macro="radic";   text=<0x221A>; },
       
   967         STRING_PAIR{macro="prop";   text=<0x221D>; },
       
   968         STRING_PAIR{macro="infin";   text=<0x221E>; },
       
   969         STRING_PAIR{macro="ang";   text=<0x2220>; },
       
   970         STRING_PAIR{macro="and";   text=<0x2227>; },
       
   971         STRING_PAIR{macro="or";   text=<0x2228>; },
       
   972         STRING_PAIR{macro="cap";   text=<0x2229>; },
       
   973         STRING_PAIR{macro="cup";   text=<0x222A>; },
       
   974         STRING_PAIR{macro="int";   text=<0x222B>; },
       
   975         STRING_PAIR{macro="there4";   text=<0x2234>; },
       
   976         STRING_PAIR{macro="sim";   text=<0x223C>; },
       
   977         STRING_PAIR{macro="cong";   text=<0x2245>; },
       
   978         STRING_PAIR{macro="asymp";   text=<0x2248>; },
       
   979         STRING_PAIR{macro="ne";   text=<0x2260>; },
       
   980         STRING_PAIR{macro="equiv";   text=<0x2261>; },
       
   981         STRING_PAIR{macro="le";   text=<0x2264>; },
       
   982         STRING_PAIR{macro="ge";   text=<0x2265>; },
       
   983         STRING_PAIR{macro="sub";   text=<0x2282>; },
       
   984         STRING_PAIR{macro="sup";   text=<0x2283>; },
       
   985         STRING_PAIR{macro="nsub";   text=<0x2284>; },
       
   986         STRING_PAIR{macro="sube";   text=<0x2286>; },
       
   987         STRING_PAIR{macro="supe";   text=<0x2287>; },
       
   988         STRING_PAIR{macro="oplus";   text=<0x2295>; },
       
   989         STRING_PAIR{macro="otimes";   text=<0x2297>; },
       
   990         STRING_PAIR{macro="perp";   text=<0x22A5>; },
       
   991         STRING_PAIR{macro="sdot";   text=<0x22C5>; },
       
   992         STRING_PAIR{macro="lceil";   text=<0x2308>; },
       
   993         STRING_PAIR{macro="rceil";   text=<0x2309>; },
       
   994         STRING_PAIR{macro="lfloor";   text=<0x230A>; },
       
   995         STRING_PAIR{macro="rfloor";   text=<0x230B>; },
       
   996         STRING_PAIR{macro="lang";   text=<0x2329>; },
       
   997         STRING_PAIR{macro="rang";   text=<0x232A>; },
       
   998         STRING_PAIR{macro="loz";   text=<0x25CA>; },
       
   999         STRING_PAIR{macro="spades";   text=<0x2660>; },
       
  1000         STRING_PAIR{macro="clubs";   text=<0x2663>; },
       
  1001         STRING_PAIR{macro="hearts";   text=<0x2665>; },
       
  1002         STRING_PAIR{macro="diams";   text=<0x2666>; },
       
  1003         STRING_PAIR{macro="quot";   text=<0x0022>; },
       
  1004         STRING_PAIR{macro="amp";   text=<0x0026>; },
       
  1005         STRING_PAIR{macro="lt";   text=<0x003C>; },
       
  1006         STRING_PAIR{macro="gt";   text=<0x003E>; },
       
  1007         STRING_PAIR{macro="apos";   text=<0x0027>; },
       
  1008         STRING_PAIR{macro="OElig";   text=<0x0152>; },
       
  1009         STRING_PAIR{macro="oelig";   text=<0x0153>; },
       
  1010         STRING_PAIR{macro="Scaron";   text=<0x0160>; },
       
  1011         STRING_PAIR{macro="scaron";   text=<0x0161>; },
       
  1012         STRING_PAIR{macro="Yuml";   text=<0x0178>; },
       
  1013         STRING_PAIR{macro="circ";   text=<0x02C6>; },
       
  1014         STRING_PAIR{macro="tilde";   text=<0x02DC>; },
       
  1015         STRING_PAIR{macro="ensp";   text=<0x2002>; },
       
  1016         STRING_PAIR{macro="emsp";   text=<0x2003>; },
       
  1017         STRING_PAIR{macro="thinsp";   text=<0x2009>; },
       
  1018         STRING_PAIR{macro="zwnj";   text=<0x200C>; },
       
  1019         STRING_PAIR{macro="zwj";   text=<0x200D>; },
       
  1020         STRING_PAIR{macro="lrm";   text=<0x200E>; },
       
  1021         STRING_PAIR{macro="rlm";   text=<0x200F>; },
       
  1022         STRING_PAIR{macro="ndash";   text=<0x2013>; },
       
  1023         STRING_PAIR{macro="mdash";   text=<0x2014>; },
       
  1024         STRING_PAIR{macro="lsquo";   text=<0x2018>; },
       
  1025         STRING_PAIR{macro="rsquo";   text=<0x2019>; },
       
  1026         STRING_PAIR{macro="sbquo";   text=<0x201A>; },
       
  1027         STRING_PAIR{macro="ldquo";   text=<0x201C>; },
       
  1028         STRING_PAIR{macro="rdquo";   text=<0x201D>; },
       
  1029         STRING_PAIR{macro="bdquo";   text=<0x201E>; },
       
  1030         STRING_PAIR{macro="dagger";   text=<0x2020>; },
       
  1031         STRING_PAIR{macro="Dagger";   text=<0x2021>; },
       
  1032         STRING_PAIR{macro="permil";   text=<0x2030>; },
       
  1033         STRING_PAIR{macro="lsaquo";   text=<0x2039>; },
       
  1034         STRING_PAIR{macro="rsaquo";   text=<0x203A>; },
       
  1035         STRING_PAIR{macro="euro";   text=<0x20AC>; }
       
  1036     };
       
  1037 }
       
  1038 
       
  1039 
       
  1040 // Copied from MCE
       
  1041 RESOURCE TBUF r_mce_move_messages                     
       
  1042     { 
       
  1043     buf = qtn_mce_move_move_to; 
       
  1044     }
       
  1045 
       
  1046 RESOURCE TBUF r_mce_copy_messages                     
       
  1047     { 
       
  1048     buf = qtn_mce_copy_copy_to; 
       
  1049     }
       
  1050 RESOURCE AIW_INTEREST r_phonenumber_match_interest
       
  1051     {
       
  1052     items=
       
  1053         {
       
  1054         AIW_CRITERIA_ITEM 
       
  1055             { 
       
  1056             id = KAiwCmdSelect;  // serviceCmd used here also as ID
       
  1057             serviceCmd   = KAiwCmdSelect;
       
  1058             contentType  = EGenericParamContactItemStr;
       
  1059             serviceClass = KAiwClassBase; 
       
  1060             maxProviders = 1;
       
  1061             }
       
  1062         };
       
  1063     }
       
  1064 
       
  1065 //----------------------------------------------------
       
  1066 //
       
  1067 //    r_msgmailviewer_zoom_submenu
       
  1068 //
       
  1069 //----------------------------------------------------
       
  1070 //
       
  1071 RESOURCE MENU_PANE r_msgmailviewer_zoom_submenu
       
  1072     {
       
  1073     items=
       
  1074         {
       
  1075         
       
  1076         MENU_ITEM   { command = EMsgDispSizeAutomatic; 
       
  1077                     txt = qtn_options_auto;
       
  1078                     flags = EEikMenuItemRadioStart;
       
  1079                     }
       
  1080         ,
       
  1081         MENU_ITEM   { command = EMsgDispSizeLarge; 
       
  1082                     txt = qtn_options_large;
       
  1083                     flags = EEikMenuItemRadioMiddle;
       
  1084                     }
       
  1085         ,
       
  1086         MENU_ITEM   { command = EMsgDispSizeNormal; 
       
  1087                     txt = qtn_options_normal;
       
  1088                     flags = EEikMenuItemRadioMiddle;
       
  1089                     }
       
  1090         ,
       
  1091         MENU_ITEM   { command = EMsgDispSizeSmall;
       
  1092                     txt = qtn_options_small;
       
  1093                     flags = EEikMenuItemRadioEnd;
       
  1094                     }
       
  1095         }; 
       
  1096     }
       
  1097     
       
  1098 // -----------------------------------------------------------------------------
       
  1099 //    r_msgmailviewer_no_matches_note
       
  1100 // Shown when no matches are found when matching address to contacts.
       
  1101 // -----------------------------------------------------------------------------
       
  1102 //
       
  1103 RESOURCE TBUF r_msgmailviewer_no_matches_note                     
       
  1104     { 
       
  1105     buf = qtn_phob_note_no_number; 
       
  1106     }
       
  1107 
       
  1108 // -----------------------------------------------------------------------------
       
  1109 //    r_viewer_wait_matching_note
       
  1110 // Wait note shown when matching address to contacts
       
  1111 // -----------------------------------------------------------------------------
       
  1112 //
       
  1113 RESOURCE DIALOG r_viewer_wait_matching_note
       
  1114     {
       
  1115     flags = EAknWaitNoteFlags;
       
  1116     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
  1117     items =
       
  1118         {
       
  1119         DLG_LINE
       
  1120             { 
       
  1121             type = EAknCtNote;
       
  1122             id = EGeneralNote;
       
  1123             control = AVKON_NOTE
       
  1124                 {
       
  1125                 layout = EWaitLayout;
       
  1126                 singular_label = qtn_fdn_reading_memory;
       
  1127                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
  1128                 };
       
  1129             }
       
  1130         };
       
  1131     }         
       
  1132         
       
  1133 // End of File