emailuis/emailui/data/FreestyleEmailUi.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 22:37:30 +0200
branchRCL_3
changeset 8 e1b6206813b4
parent 4 e7aa27f58ae1
child 10 f5907b1a1053
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Resource definitions for project FreestyleEmailUi
*
*/

NAME FSEU

#include <data_caging_paths_strings.hrh>
#include <eikon.rh>
#include <eikon.rsg>
#include <appinfo.rh>
#include <avkon.loc>
#include <avkon.mbg> 
#include <avkon.hrh>
#include <avkon.rsg>
#include <avkon.rh>
#include <AiwGenericParam.hrh>
#include <AiwCommon.hrh> // for service commands
#include <AiwCommon.rh>  // structure definitions
#include "FreestyleEmailUi.hrh"
#include <freestyleemailui.loc>
#include <unieditor.loc>
#include <fsccallplugin.loc>
#include <freestyleemailui.mbg>
#define EMAILUI_ICON_FILE BITMAP_DIR"\\FreestyleEmailUi.mif"

#ifndef qtn_cmail_options_moveto_folder
#define qtn_cmail_options_moveto_folder qtn_fse_action_menu_move_message
#endif

RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = "FreestyleEmailUi"; }

// APPLICATION APP INFO AND LOCALISABLE APP INFO
RESOURCE EIK_APP_INFO
    {
    menubar = r_freestyle_emailui_menubar;  
    cba = r_freestyle_emauil_ui_sk_options_back__open;
    } 


//------------------------------------------------------------------------------
// Blank toolbar
//------------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_freestyle_email_ui_toolbar_blank
    {
    flags = KAknToolbarFixed; 
    items = {};
    }

//------------------------------------------------------------------------------
// Message editor toolbar
//------------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_freestyle_email_ui_toolbar_message_editor
    {
    flags = KAknToolbarFixed; 
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdSend;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_msg_tb_tooltip_send;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_msg_send;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_msg_send_mask;                        
                        }  
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdAddRecipient;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_msg_tb_tooltip_add_recipient;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_add_recipient;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_add_recipient_mask;                        
                        }  
                    };            
                };
            },  
        TBAR_CTRL
            {
            type = EAknCtToolbarExtension;
            id = EFsEmailUiTbCmdExpandInsert;
            control = AVKON_TOOLBAR_EXTENSION
                {
                helptxt = qtn_fse_tb_editor_add_attachment;
                bmpFile = EMAILUI_ICON_FILE;
                bmpId = EMbmFreestyleemailuiQgn_indi_tb_expand_insert;
                bmpMask = EMbmFreestyleemailuiQgn_indi_tb_expand_insert_mask;
                items =
                    {
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdInsertImage;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonRequestExitOnButtonUpEvent;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_image;
                                    helptxt = qtn_msg_insert_tb_tooltip_image;
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_mce_tb_image;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_mce_tb_image_mask;                        
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdInsertVideo;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonRequestExitOnButtonUpEvent;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_video;
                                    helptxt = qtn_msg_insert_tb_tooltip_video;
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_mce_tb_video;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_mce_tb_video_mask;                        
                                    }  
                                };            
                            };
                        },                                    
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdInsertAudio;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonRequestExitOnButtonUpEvent;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_sound;
                                    helptxt = qtn_msg_insert_tb_tooltip_sound;
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_mce_tb_audio;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_mce_tb_audio_mask;                        
                                    }  
                                };            
                            };
                        },
                    /*TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdInsertTemplate;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonRequestExitOnButtonUpEvent;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = "Template";
                                    helptxt = "Insert template";
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_tb_template;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_tb_template_mask;                        
                                    }  
                                };            
                            };
                        },*/
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdInsertNote;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonRequestExitOnButtonUpEvent;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_note;
                                    helptxt = qtn_fse_msg_insert_tb_tooltip_note_att;
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_tb_note;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_tb_note_mask;                        
                                    }  
                                };            
                            };
                        },  
#ifdef EMAIL_PRESENTATION_SUPPORT
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdInsertPresentation;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonRequestExitOnButtonUpEvent;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_presentation;
                                    helptxt = qtn_msg_insert_tb_tooltip_presentation;
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_mce_tb_pres;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_mce_tb_pres_mask;                        
                                    }  
                                };            
                            };
                        },
#endif //EMAIL_PRESENTATION_SUPPORT
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdInsertOther;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonRequestExitOnButtonUpEvent;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_other;
                                    helptxt = qtn_msg_insert_tb_tooltip_other;
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_mce_tb_other;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_mce_tb_other_mask;                        
                                    }  
                                };            
                            };
                        }
                    }; // eof extension items
                }; // eof AVKON_TOOLBAR_EXTENSION control
           }
        };
    }

//------------------------------------------------------------------------------
// Folder list toolbar
//------------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_freestyle_email_ui_toolbar_folder_list
    {
    flags = KAknToolbarFixed; 
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdSelect;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_ncs_softkey_select_text;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_mark;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_mark_mask;                        
                        }  
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdExpandAll;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_message_list_options_expand_all;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_expand_all;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_expand_all_mask;
                        }
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdCollapseAll;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_message_list_options_collapse_all;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_collapse_all;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_collapse_all_mask;
                        }
                    };            
                };
            }
        };
    }

//------------------------------------------------------------------------------
// Message viewer toolbar
//------------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_freestyle_email_ui_toolbar_message_viewer
    {
    flags = KAknToolbarFixed; 
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtToolbarExtension;
            id = EFsEmailUiTbCmdActions;
            control = AVKON_TOOLBAR_EXTENSION
                {
                helptxt = qtn_fse_tb_actions;
                bmpFile = EMAILUI_ICON_FILE;
                bmpId = EMbmFreestyleemailuiQgn_indi_tb_email_extend;
                bmpMask = EMbmFreestyleemailuiQgn_indi_tb_email_extend_mask;
                items =
                    {
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdReplyAll;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonRequestExitOnButtonUpEvent;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_fse_tb_ext_reply_all;
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_tb_email_reply_all;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_tb_email_reply_all_mask;                        
                                    }  
                                };            
                            };
                        },                                    
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdForward;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonRequestExitOnButtonUpEvent;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_fse_tb_ext_forward;
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_tb_email_forward;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_tb_email_forward_mask;                        
                                    }  
                                };            
                            };
                        } 
                    }; // eof extension items
                }; // eof AVKON_TOOLBAR_EXTENSION control
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdReply;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_tb_ext_reply;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_email_reply;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_email_reply_mask;                        
                        }  
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdDelete;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_tb_delete;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_delete;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_delete_mask;                        
                        }  
                    };            
                };
            }
        };
    }

//------------------------------------------------------------------------------
// Html message viewer toolbar with Reply all
//------------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_freestyle_email_ui_toolbar_html_message_viewer
    {
    flags = KAknToolbarFixed; 
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtToolbarExtension;
            id = EFsEmailUiTbCmdActions;
            control = AVKON_TOOLBAR_EXTENSION
                {
                helptxt = qtn_fse_tb_actions;
                bmpFile = EMAILUI_ICON_FILE;
                bmpId = EMbmFreestyleemailuiQgn_indi_tb_email_extend;
                bmpMask = EMbmFreestyleemailuiQgn_indi_tb_email_extend_mask;
                items =
                    {
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdReply;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_fse_tb_ext_reply;
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_tb_email_reply;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_tb_email_reply_mask;                        
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EFsEmailUiTbCmdReplyAll;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonRequestExitOnButtonUpEvent;
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_fse_tb_ext_reply_all;
                                    bmpfile = EMAILUI_ICON_FILE;
                                    bmpid=EMbmFreestyleemailuiQgn_indi_tb_email_reply_all;
                                    bmpmask=EMbmFreestyleemailuiQgn_indi_tb_email_reply_all_mask;                        
                                    }  
                                };            
                            };
                        }
                    }; // eof extension items
                }; // eof AVKON_TOOLBAR_EXTENSION control
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdForward;
            control = AVKON_BUTTON
                {
                flags = KAknButtonRequestExitOnButtonUpEvent;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_tb_ext_forward;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_email_forward;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_email_forward_mask;                        
                        }  
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdDelete;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_tb_delete;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_delete;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_delete_mask;                        
                        }  
                    };            
                };
            }
        };
    }


//------------------------------------------------------------------------------
// Html message viewer toolbar without Reply all
//------------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_freestyle_email_ui_toolbar_html_message_viewer_no_reply_all
    {
    flags = KAknToolbarFixed; 
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdReply;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_tb_ext_reply;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_email_reply;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_email_reply_mask;                        
                        }  
                    };            
                };
            },        
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdForward;
            control = AVKON_BUTTON
                {
                flags = KAknButtonRequestExitOnButtonUpEvent;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_tb_ext_forward;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_email_forward;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_email_forward_mask;                        
                        }  
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdDelete;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_tb_delete;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_indi_tb_delete;
                        bmpmask=EMbmFreestyleemailuiQgn_indi_tb_delete_mask;                        
                        }  
                    };            
                };
            }
        };
    }


RESOURCE AVKON_TOOLBAR r_freestyle_email_ui_toolbar_attachment_list
    {
    flags = KAknToolbarFixed; 
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdDownloadAll;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_tb_attachment_list_download_all;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_prop_cmail_action_attachment_download_all;
                        bmpmask=EMbmFreestyleemailuiQgn_prop_cmail_action_attachment_download_all_mask;                        
                        }  
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdCancelDownload;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_tb_attachment_list_cancel_download;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_prop_cmail_action_attachment_cancel_download;
                        bmpmask=EMbmFreestyleemailuiQgn_prop_cmail_action_attachment_cancel_download_mask;                        
                        }  
                    };            
                };
            },
            TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFsEmailUiTbCmdSaveAll;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fse_tb_attachment_list_save_all;
                        bmpfile = EMAILUI_ICON_FILE;
                        bmpid=EMbmFreestyleemailuiQgn_prop_cmail_action_attachment_save_all;
                        bmpmask=EMbmFreestyleemailuiQgn_prop_cmail_action_attachment_save_all_mask;                        
                        }  
                    };            
                };
            }
        };
    }


RESOURCE LOCALISABLE_APP_INFO r_freestyle_email_ui_loc_app_info
	{
	short_caption = qtn_fse_short_app_name;
	caption_and_icon =
		{
		CAPTION_AND_ICON_INFO 
			{
			caption = qtn_fse_app_name;
	        number_of_icons = 1;
            icon_file = APP_BITMAP_DIR"\\FreestyleEmailUi_aif.mif";
			}
		};
	}  
  
// VIEW RESOURCES OF THE APPLICATION    
RESOURCE AVKON_VIEW r_fsemailui_dummy_view
    {
    } 

RESOURCE AVKON_VIEW r_fsemailui_mainui_view
    {
    menubar = r_fsemailui_mainuigrid_menubar;
    cba = r_freestyle_emauil_ui_sk_options_hide__open;
    } 

RESOURCE AVKON_VIEW r_fsemailui_mail_list_view
    {
    menubar = r_fsemailui_maillist_menubar;  
    cba = r_freestyle_emauil_ui_sk_options_back;
    }    

RESOURCE AVKON_VIEW r_fsemailui_mail_viewer_view
    {
    menubar = r_fsemailui_mailviewer_menubar;  
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    }      

RESOURCE AVKON_VIEW r_fsemailui_mail_details_view
    {
    menubar = r_fsemailui_maildetails_menubar;  
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    }  

RESOURCE AVKON_VIEW r_fsemailui_folder_list_view
    {
    menubar = r_fsemailui_folderlist_menubar;
    cba = r_freestyle_emauil_ui_sk_options_back__select;
    }  

RESOURCE AVKON_VIEW r_fsemailui_mail_editor_view
    {
    menubar = r_ncs_compose_menubar;  
    cba = r_freestyle_emauil_ui_sk_options_back;
    }          

RESOURCE AVKON_VIEW r_fsemailui_settings_view
    {
    menubar = r_fsemailui_settingsui_menubar;  
    cba = r_freestyle_emauil_ui_sk_options_back__open;
    }  
   
RESOURCE AVKON_VIEW r_fsemailui_attachments_view
    {
    menubar = r_fsemailui_attachments_menubar;  
    cba = r_freestyle_emauil_ui_sk_options_back;
    }   

RESOURCE AVKON_VIEW r_fsemailui_mail_search_view
    {
    menubar = r_fsemailui_searchlist_menubar;  
    cba = r_freestyle_emauil_ui_sk_options_back__open;
    }   

RESOURCE AVKON_VIEW r_fsemailui_html_view
    {
    menubar = r_fsemailui_htmlviewer_menubar; 
    cba = r_freestyle_emauil_ui_sk_options_back;
    }

RESOURCE MENU_BAR r_freestyle_emailui_menubar
    {
    titles =
        {
        MENU_TITLE {menu_pane = r_freestyle_emailui_menu;}
        };
    }

RESOURCE MENU_PANE r_freestyle_emailui_menu
    {
    items = 
        {
        MENU_ITEM { command = EFsEmailUiCmdSettings; txt = qtn_fse_message_list_options_settings; },
        MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help; },
        MENU_ITEM { command = EFsEmailUiCmdExit; txt = qtn_options_exit; }
        };
    }

// Softkeys
RESOURCE TBUF r_freestyle_email_ui_sk_exit		{ buf=text_softkey_exit; }
//RESOURCE TBUF r_freestyle_email_ui_sk_hide		{ buf=qtn_fse_launcher_softkey_hide; }
RESOURCE TBUF r_freestyle_email_ui_sk_back		{ buf=text_softkey_back; }
RESOURCE TBUF r_freestyle_email_ui_sk_options	{ buf=text_softkey_option; }
 
RESOURCE CBA r_freestyle_emauil_ui_sk_options_hide__open
    {
    buttons =
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyOptions; 
            txt = text_softkey_option;
            },
        AVKON_CBA_BUTTON
            {
            id = EFsEmailUiCmdHide;
            txt = text_softkey_exit;
            },
        CBA_BUTTON 
            {
            id=EAknSoftkeyOpen;
            txt=qtn_msk_open;
            }
        };
    }
 
RESOURCE CBA r_freestyle_emauil_ui_sk_options_back
    {
    buttons =
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyOptions; 
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = text_softkey_back;
            }
        };
    }

RESOURCE CBA r_freestyle_emauil_ui_sk_options_back__open
    {
    buttons =
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyOptions; 
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = text_softkey_back;
            },
        CBA_BUTTON 
            {
            id=EAknSoftkeyOpen;
            txt=qtn_msk_open;
            }
        };
    }

RESOURCE CBA r_freestyle_emauil_ui_sk_options_back__select
    {
    buttons =
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyOptions; 
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = text_softkey_back;
            },
        CBA_BUTTON 
            {
            id=EAknSoftkeySelect;
            txt=qtn_msk_select;
            }
        };
    }

RESOURCE CBA r_freestyle_emauil_ui_sk_options_back__change
    {
    buttons =
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyOptions; 
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = text_softkey_back;
            },
        CBA_BUTTON 
            {
            id=EAknSoftkeyChange;
            txt=qtn_msk_change;
            }
        };
    }
  
RESOURCE CBA r_freestyle_emauil_find_dialog_softkeys
    {
    buttons =
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyOk; 
            txt = qtn_fse_message_list_query_search_softkey;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyCancel;
            txt = text_softkey_cancel;
            },
        CBA_BUTTON 
            {
            id = EAknSoftkeyOk; 
            txt = qtn_fse_message_list_query_search_softkey;
            } 
        };
    }

 
// GENERAL USE TEXTS
RESOURCE TBUF r_freestyle_email_ui_size_less_than_kb		{ buf=qtn_fse_file_size_less_than_kb; }
RESOURCE TBUF r_freestyle_email_ui_size_less_than_kb_with_bytes		{ buf=qtn_fse_file_size_less_than_kb_with_bytes; }
RESOURCE TBUF r_freestyle_email_ui_size_in_kb				{ buf=qtn_fse_file_size_in_kb; }
RESOURCE TBUF r_freestyle_email_ui_size_in_kb_with_bytes				{ buf=qtn_fse_file_size_in_kb_with_bytes; }
RESOURCE TBUF r_freestyle_email_ui_size_in_mb				{ buf=qtn_fse_file_size_in_mb; }
RESOURCE TBUF r_freestyle_email_ui_size_in_mb_with_bytes				{ buf=qtn_fse_file_size_in_mb_with_bytes; }
RESOURCE TBUF r_freestyle_email_ui_overwrite_query	{ buf=qtn_fldr_overwrite_query; }

// MAIN UI GRID ITEM TEXTS    
RESOURCE TBUF r_freestyle_email_ui_griditem_inbox			{ buf=qtn_fse_message_list_inbox; }
RESOURCE TBUF r_freestyle_email_ui_griditem_inbox_unread	{ buf=qtn_fsemail_griditem_inbox_unread; }
RESOURCE TBUF r_freestyle_email_ui_griditem_compose			{ buf=qtn_fsemail_griditem_create; }
RESOURCE TBUF r_freestyle_email_ui_griditem_folders			{ buf=qtn_fsemail_griditem_folders; }
RESOURCE TBUF r_freestyle_email_ui_griditem_directory		{ buf=qtn_fse_launcher_directory; }
RESOURCE TBUF r_freestyle_email_ui_griditem_contacts		{ buf=qtn_fsemail_griditem_contacts; }
RESOURCE TBUF r_freestyle_email_ui_griditem_calendar		{ buf=qtn_fsemail_griditem_calendar; }
RESOURCE TBUF r_freestyle_email_ui_griditem_tasks			{ buf=qtn_fsemail_griditem_tasks; }
RESOURCE TBUF r_freestyle_email_ui_griditem_teams			{ buf=qtn_fsemail_griditem_teams; }
RESOURCE TBUF r_freestyle_email_ui_griditem_weather			{ buf=qtn_fsemail_griditem_weather; }
RESOURCE TBUF r_freestyle_email_ui_griditem_settings { buf=qtn_fse_launcher_settings; }
RESOURCE TBUF r_freestyle_email_ui_griditem_add_new_mailbox { buf=qtn_fse_launcher_add_new_mailbox; }
RESOURCE TBUF r_freestyle_email_ui_griditem_help { buf=qtn_fse_launcher_help; }

// ITEM IN MAIL VIEWER
RESOURCE TBUF r_freestyle_email_ui_viewer_from					{ buf=qtn_fse_viewer_header_from; }
RESOURCE TBUF r_freestyle_email_ui_viewer_to						{ buf=qtn_fse_viewer_header_to; }
RESOURCE TBUF r_freestyle_email_ui_viewer_cc						{ buf=qtn_fse_viewer_header_cc; }
RESOURCE TBUF r_freestyle_email_ui_viewer_bcc						{ buf=qtn_fse_viewer_header_bcc; }
RESOURCE TBUF r_freestyle_email_ui_viewer_sent					{ buf=qtn_fse_viewer_header_sent; }
RESOURCE TBUF r_freestyle_email_ui_viewer_subject				{ buf=qtn_fse_viewer_header_subject; }
RESOURCE TBUF r_freestyle_email_ui_viewer_attachment		{ buf=qtn_fse_viewer_attachments_text; }
RESOURCE TBUF r_freestyle_email_ui_viewer_html				{ buf=qtn_fse_viewer_header_view_html_message; }
RESOURCE TBUF r_freestyle_email_ui_viewer_n_more_recipients	{ buf=qtn_fse_viewer_header_view_all; }
RESOURCE TBUF r_freestyle_email_ui_viewer_no_subject		{ buf=qtn_fse_viewer_list_no_subject_available; }
RESOURCE TBUF r_freestyle_email_ui_viewer_call_hotspot	{ buf=qtn_fse_viewer_call_hotspot_popup_note; }
RESOURCE TBUF r_freestyle_email_ui_viewer_no_email_address { buf=qtn_fse_error_general_no_email_address; }
RESOURCE TBUF r_freestyle_email_ui_viewer_no_phone_number { buf=qtn_fse_error_general_no_phone_number; }
RESOURCE TBUF r_freestyle_email_ui_viewer_bookmark_added { buf=qtn_fse_info_note_bookmark_added; }
RESOURCE TBUF r_freestyle_email_ui_one_attachment_saved        	{ buf=qtn_fse_info_note_one_attachment_saved; }
RESOURCE TBUF r_freestyle_email_ui_multiple_attachment_saved    { buf=qtn_fse_info_note_multiple_attachments_saved; }
RESOURCE TBUF r_freestyle_email_ui_viewer_followup    { buf=qtn_cmail_header_followup; }
RESOURCE TBUF r_freestyle_email_ui_viewer_completed    { buf=qtn_cmail_header_completed; }
RESOURCE TBUF r_freestyle_email_ui_viewer_high_prio    { buf=qtn_cmail_header_high_prio; }
RESOURCE TBUF r_freestyle_email_ui_viewer_low_prio    { buf=qtn_cmail_header_low_prio; }

// NOTES
RESOURCE TBUF r_freestyle_email_delete_mail_note				{ buf=qtn_fse_delete_mail_note; }
RESOURCE TBUF r_freestyle_email_delete_n_mails_note			{ buf=qtn_fse_delete_mails_note; }
RESOURCE TBUF r_freestyle_email_delete_calevent_note		{ buf=qtn_fse_delete_calevent_note; }
RESOURCE TBUF r_freestyle_email_call_sender_query				{ buf=qtn_fse_viewer_call_sender_query; }
RESOURCE TBUF r_freestyle_email_fetch_from_remote_query	{ buf=qtn_fse_query_no_phone_number_found_search_server; }
RESOURCE TBUF r_freestyle_email_query_sync_status_go_online	{ buf=qtn_fse_launcher_options_go_online; }
RESOURCE TBUF r_freestyle_email_query_sync_status_go_offline	{ buf=qtn_fse_launcher_options_go_offline; }
RESOURCE TBUF r_freestyle_email_mail_deleted                    { buf=qtn_fse_mail_deleted_note; }
// ** Added 26.2.2008 **
RESOURCE TBUF r_freestyle_email_confirm_note_sending_queued		{ buf=qtn_fse_confirm_note_sending_queued; }
RESOURCE TBUF r_freestyle_email_confirm_note_queued_until_online	{ buf=qtn_fse_confirm_note_queued_until_online; }
RESOURCE TBUF r_freestyle_email_confirm_note_saved_to_drafts	{ buf=qtn_fse_confirm_note_saved_to_drafts; }
RESOURCE TBUF r_freestyle_email_confirm_note_message_copied		{ buf=qtn_fse_confirm_note_message_copied; }
RESOURCE TBUF r_freestyle_email_confirm_note_messages_copied	{ buf=qtn_fse_confirm_note_messages_copied; }
RESOURCE TBUF r_freestyle_email_confirm_note_meeting_on_calendar_after_sync	{ buf=qtn_fse_confirm_note_meeting_on_calendar_after_sync; }
RESOURCE TBUF r_freestyle_email_confirm_note_message_not_sent	{ buf=qtn_fse_info_note_message_not_sent; }
RESOURCE TBUF r_freestyle_email_confirm_note_invalid_email_address	{ buf=qtn_fse_info_note_invalid_email_address; }
RESOURCE TBUF r_freestyle_email_query_note_permanently_delete	        { buf=qtn_fse_query_note_permanently_delete; }
RESOURCE TBUF r_freestyle_email_query_no_subject			{ buf=qtn_fse_query_no_subject; }
RESOURCE TBUF r_freestyle_email_info_note_unable_to_open		{ buf=qtn_fse_info_note_unable_to_open; }
// ** Added 26.3.2008 **
RESOURCE TBUF r_freestyle_email_error_general_unable_to_complete	{ buf=qtn_fse_error_general_unable_to_complete; }

RESOURCE TBUF r_freestyle_email_error_general_connection_error	{ buf=qtn_fse_error_general_connection_error; }

// ITEMS IN MAIL MAIL LIST
RESOURCE TBUF r_freestyle_email_ui_weeekday_monday			{ buf=qtn_fse_message_list_date_monday_divider; }
RESOURCE TBUF r_freestyle_email_ui_weeekday_tuesday			{ buf=qtn_fse_message_list_date_tuesday_divider; }
RESOURCE TBUF r_freestyle_email_ui_weeekday_wednesday		{ buf=qtn_fse_message_list_date_wednesday_divider; }
RESOURCE TBUF r_freestyle_email_ui_weeekday_thursday		{ buf=qtn_fse_message_list_date_thursday_divider; }
RESOURCE TBUF r_freestyle_email_ui_weeekday_friday			{ buf=qtn_fse_message_list_date_friday_divider; }
RESOURCE TBUF r_freestyle_email_ui_weeekday_saturday		{ buf=qtn_fse_message_list_date_saturday_divider; }
RESOURCE TBUF r_freestyle_email_ui_weeekday_sunday			{ buf=qtn_fse_message_list_date_sunday_divider; }
RESOURCE TBUF r_freestyle_email_ui_weeekday_today				{ buf=qtn_fse_message_list_date_today_divider; }
RESOURCE TBUF r_freestyle_email_ui_weeekday_yesterday		{ buf=qtn_fse_message_list_date_yesterday_divider; }
RESOURCE TBUF r_freestyle_email_ui_separator_follow_up		{ buf=qtn_fse_message_list_flag_followup; }
RESOURCE TBUF r_freestyle_email_ui_separator_flag_complete{ buf=qtn_fse_message_list_flag_complete; }
RESOURCE TBUF r_freestyle_email_ui_separator_no_flag			{ buf=qtn_fse_message_list_flag_none; }
RESOURCE TBUF r_freestyle_email_ui_separator_attachments	{ buf=qtn_fse_message_list_attachments; }
RESOURCE TBUF r_freestyle_email_ui_separator_no_attachments	{ buf=qtn_fse_message_list_no_attachments; }
RESOURCE TBUF r_freestyle_email_ui_separator_read_msgs		{ buf=qtn_fse_message_list_read_read_status; }
RESOURCE TBUF r_freestyle_email_ui_separator_unread_msgs	{ buf=qtn_fse_message_list_unread_status; }
RESOURCE TBUF r_freestyle_email_ui_flag_follow_up					{ buf=qtn_fse_list_flag_follow_up; }
RESOURCE TBUF r_freestyle_email_ui_flag_complete					{ buf=qtn_fse_list_flag_complete; }
RESOURCE TBUF r_freestyle_email_ui_flag_clear							{ buf=qtn_fse_list_flag_clear; }
RESOURCE TBUF r_freestyle_email_ui_separator_prio_high		{ buf=qtn_fse_message_list_priority_high; }
RESOURCE TBUF r_freestyle_email_ui_separator_prio_normal	{ buf=qtn_fse_message_list_priority_normal; }
RESOURCE TBUF r_freestyle_email_ui_separator_prio_low			{ buf=qtn_fse_message_list_priority_low; }
RESOURCE TBUF r_freestyle_email_ui_find_dlg_label					{ buf=qtn_fse_message_list_search_for; }
RESOURCE TBUF r_freestyle_email_ui_find_dlg_search				{ buf=qtn_fse_message_list_search; }
RESOURCE TBUF r_freestyle_email_ui_find_dlg_searching			{ buf=qtn_fse_message_list_searching; }
RESOURCE TBUF r_freestyle_email_ui_find_dlg_search_results{ buf=qtn_fse_message_list_search_results; }
RESOURCE TBUF r_freestyle_email_ui_prev_pane_msg_size			{ buf=qtn_fse_list_message_size; }
RESOURCE TBUF r_freestyle_email_ui_sort_by_date						{ buf=qtn_fse_message_list_date; }
RESOURCE TBUF r_freestyle_email_ui_sort_by_sender					{ buf=qtn_fse_message_list_sender; }
RESOURCE TBUF r_freestyle_email_ui_sort_by_flag						{ buf=qtn_fse_message_list_flag; }
RESOURCE TBUF r_freestyle_email_ui_sort_by_attachment			{ buf=qtn_fse_message_list_attachment; }
RESOURCE TBUF r_freestyle_email_ui_sort_by_unread					{ buf=qtn_fse_message_list_unread; }
RESOURCE TBUF r_freestyle_email_ui_sort_by_subject				{ buf=qtn_fse_message_list_subject; }
RESOURCE TBUF r_freestyle_email_ui_sort_by_priority				{ buf=qtn_fse_message_list_priority; }
RESOURCE TBUF r_freestyle_email_ui_sort_by_recipient			{ buf=qtn_fse_message_list_recipient; }
RESOURCE TBUF r_freestyle_email_ui_empty_msg_list_text		{ buf=qtn_fse_message_list_no_messages; }
RESOURCE TBUF r_freestyle_email_ui_message_to_folder		{ buf=qtn_fse_confirm_note_message_moved; }
RESOURCE TBUF r_freestyle_email_ui_messages_to_folder		{ buf=qtn_fse_confirm_note_messages_moved; }
RESOURCE TBUF r_freestyle_email_ui_settings_ips_text		{ buf=qtn_fse_message_list_options_settings_mailbox; }

// OUTBOX NOTE
RESOURCE TBUF r_freestyle_email_ui_open_from_outbox_note	{ buf=qtn_fse_info_note_cannot_open; }

// MOVE TO DRAFTS
RESOURCE TBUF r_freestyle_email_ui_msg_moved_to_drafts_note	{ buf=qtn_fse_confirm_note_saved_to_drafts; }

// ACTION MENU
RESOURCE TBUF r_freestyle_email_ui_am_open			{ buf=qtn_fse_action_menu_open; }
RESOURCE TBUF r_freestyle_email_ui_am_reply			{ buf=qtn_fse_action_menu_reply; }
RESOURCE TBUF r_freestyle_email_ui_am_reply_all			{ buf=qtn_fse_action_menu_reply_all; }
RESOURCE TBUF r_freestyle_email_ui_am_forward			{ buf=qtn_fse_action_menu_forward; }
RESOURCE TBUF r_freestyle_email_ui_am_delete			{ buf=qtn_fse_action_menu_delete; }
RESOURCE TBUF r_freestyle_email_ui_am_call_sender					{ buf=qtn_fse_action_menu_call_sender; }
RESOURCE TBUF r_freestyle_email_ui_am_move_to_drafts			{ buf=qtn_fse_action_menu_move_to_drafts; }
RESOURCE TBUF r_freestyle_email_ui_am_move			{ buf=qtn_fse_message_list_options_move_message; }
RESOURCE TBUF r_freestyle_email_ui_am_rem_from_cal			{ buf=qtn_fse_action_menu_remove_from_calendar; }
RESOURCE TBUF r_freestyle_email_ui_am_accept			{ buf=qtn_fse_action_menu_accept; }
RESOURCE TBUF r_freestyle_email_ui_am_tentative			{ buf=qtn_fse_action_menu_tentative; }
RESOURCE TBUF r_freestyle_email_ui_am_decline			{ buf=qtn_fse_action_menu_decline; }
RESOURCE TBUF r_freestyle_email_ui_am_mark_read			{ buf=qtn_fse_action_menu_mark_read; }
RESOURCE TBUF r_freestyle_email_ui_am_mark_unread			{ buf=qtn_fse_action_menu_mark_unread; }
RESOURCE TBUF r_freestyle_email_ui_am_open_in_web			{ buf=qtn_fse_action_menu_open_in_web; }
RESOURCE TBUF r_freestyle_email_ui_am_open_in_intra		{ buf=qtn_fse_action_menu_open_in_intra; }
RESOURCE TBUF r_freestyle_email_ui_am_bookmark			{ buf=qtn_fse_action_menu_bookmark; }

RESOURCE TBUF r_freestyle_email_ui_am_call				{ buf=qtn_fse_viewer_options_call; }
RESOURCE TBUF r_freestyle_email_ui_am_call_video        { buf=qtn_fs_action_vidcall; }

RESOURCE TBUF r_freestyle_email_ui_am_create_message	{ buf=qtn_fse_viewer_options_create_message; }
RESOURCE TBUF r_freestyle_email_ui_am_create_email       		{ buf=qtn_fse_viewer_options_create_email; }
RESOURCE TBUF r_freestyle_email_ui_am_contact_details	{ buf=qtn_fse_viewer_options_contact_details; }
RESOURCE TBUF r_freestyle_email_ui_am_add_to_contacts	{ buf=qtn_fse_viewer_options_add_to_contacts; }
RESOURCE TBUF r_freestyle_email_ui_am_remote_lookup		{ buf=qtn_fse_viewer_options_remote_lookup; }

RESOURCE TBUF r_freestyle_email_ui_am_attach_download { buf=qtn_fse_viewer_options_attach_download; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_cancel { buf=qtn_fse_viewer_options_attach_cancel_download; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_save { buf=qtn_fse_viewer_options_attach_save; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_view_all { buf=qtn_fse_viewer_options_attach_view_list; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_download_all { buf=qtn_fse_viewer_options_attach_download_all; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_cancel_all { buf=qtn_fse_viewer_options_attach_cancel_all_downloads; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_save_all { buf=qtn_fse_viewer_options_attach_save_all; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_remove { buf=qtn_fse_editor_attachment_list_options_remove; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_remove_all { buf=qtn_fse_editor_attachment_list_options_remove_all; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_add { buf=qtn_fse_editor_attachment_list_options_add; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_clear_fetched      { buf=qtn_fse_viewer_options_attach_clear_fetched; }
RESOURCE TBUF r_freestyle_email_ui_am_attach_remove_unfetched   { buf=qtn_fse_viewer_options_attach_remove_unfetched; }


// ITEMS IN MSG DETAILS VIEW
RESOURCE TBUF r_freestyle_email_ui_msg_details_heading  { buf=qtn_fse_viewer_list_message_details; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_meeting_heading  { buf=qtn_fse_viewer_list_meeting_details; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_priority  { buf=qtn_fse_viewer_list_message_priority; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_priority_high  { buf=qtn_fse_viewer_list_message_priority_high; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_priority_normal  { buf=qtn_fse_viewer_list_message_priority_normal; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_priority_low  { buf=qtn_fse_viewer_list_message_priority_low; }
//RESOURCE TBUF r_freestyle_email_ui_msg_details_no_to  { buf=qtn_fsemail_msg_details_no_to_recipints; }
//RESOURCE TBUF r_freestyle_email_ui_msg_details_no_cc { buf=qtn_fsemail_msg_details_no_cc_recipints; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_no_display_name { buf=qtn_fse_viewer_list_no_display_name_available; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_no_email_address { buf=qtn_fse_viewer_list_no_email_address_available; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_no_visible_recipients { buf=qtn_fse_viewer_list_no_visible_recipients; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_no_sender_info_available { buf=qtn_fse_viewer_list_no_sender_info_available; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_from { buf=qtn_fse_viewer_list_recipients_from; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_organizer { buf=qtn_fse_viewer_list_recipients_organizer; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_to { buf=qtn_fse_viewer_list_recipients_to; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_required { buf=qtn_fse_viewer_list_recipients_required; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_cc { buf=qtn_fse_viewer_list_recipients_cc; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_optional { buf=qtn_fse_viewer_list_recipients_optional; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_bcc { buf=qtn_fse_viewer_list_recipients_bcc; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_subject { buf=qtn_fse_viewer_list_subject; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_no_subject { buf=qtn_fse_viewer_list_no_subject_available; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_size_header { buf=qtn_fse_viewer_list_message_size; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_sent { buf=qtn_fse_viewer_list_message_sent; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_date { buf=qtn_fse_viewer_list_message_date; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_date_u { buf=qtn_fse_viewer_list_message_date_u; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_time { buf=qtn_fse_viewer_list_message_time; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_time_u { buf=qtn_fse_viewer_list_message_time_u; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_msg_type { buf=qtn_fse_viewer_list_message_type; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_msg_type_email { buf=qtn_fse_viewer_list_message_type_email; }
RESOURCE TBUF r_freestyle_email_ui_msg_details_msg_type_meeting { buf=qtn_fse_viewer_list_message_type_meeting_request; }

// ITEMS IN FOLDER LIST VIEW
RESOURCE TBUF r_freestyle_email_ui_folder_list_move_one_heading		{ buf=qtn_fse_move_list_heading; }
RESOURCE TBUF r_freestyle_email_ui_folder_list_move_more_heading	{ buf=qtn_fse_move_messages_list_heading; }
RESOURCE TBUF r_freestyle_email_ui_folder_list_copy_one_heading		{ buf=qtn_fse_copy_list_heading; }
RESOURCE TBUF r_freestyle_email_ui_folder_list_copy_more_heading	{ buf=qtn_fse_copy_messages_list_heading; }

RESOURCE TBUF r_freestyle_email_ui_folder_list_inbox				{ buf=qtn_fse_folder_list_inbox; }
RESOURCE TBUF r_freestyle_email_ui_folder_list_outbox				{ buf=qtn_fse_folder_list_outbox; }
RESOURCE TBUF r_freestyle_email_ui_folder_list_drafts				{ buf=qtn_fse_folder_list_drafts; }
RESOURCE TBUF r_freestyle_email_ui_folder_list_sent					{ buf=qtn_fse_folder_list_sent; }
RESOURCE TBUF r_freestyle_email_ui_folder_list_deleted				{ buf=qtn_fse_folder_list_deleted_items; }

RESOURCE TBUF r_freestyle_email_ui_folder_list_folder_with_unread	{ buf=qtn_fse_folder_list_folder_with_unread; }

RESOURCE TBUF r_freestyle_email_ui_dropdown_list_inbox				{ buf=qtn_fse_message_list_inbox; }
RESOURCE TBUF r_freestyle_email_ui_dropdown_list_outbox				{ buf=qtn_fse_message_list_outbox; }
RESOURCE TBUF r_freestyle_email_ui_dropdown_list_drafts				{ buf=qtn_fse_message_list_draft; }
RESOURCE TBUF r_freestyle_email_ui_dropdown_list_sent				{ buf=qtn_fse_message_list_sent; }
RESOURCE TBUF r_freestyle_email_ui_dropdown_list_deleted			{ buf=qtn_fse_message_list_deleted_items; }
RESOURCE TBUF r_freestyle_email_ui_dropdown_list_more_folders		{ buf=qtn_cmail_command_area_select_folders; }

RESOURCE TBUF r_freestyle_email_ui_folder_list_message_count		{ buf=qtn_fse_folder_list_message_count; }
RESOURCE TBUF r_freestyle_email_ui_folder_list_message_count_with_unread	{ buf=qtn_fse_folder_list_message_count_with_unread; }
RESOURCE TBUF r_freestyle_email_ui_folder_list_no_folders_available		{ buf=qtn_fse_folder_list_no_folders_available; }


// STATUS INDICATOR TEXTS
RESOURCE TBUF r_freestyle_email_ui_status_updating      { buf=qtn_popup_note_updating; }
RESOURCE TBUF r_freestyle_email_ui_status_connected			{ buf=qtn_fse_status_connected; }
RESOURCE TBUF r_freestyle_email_ui_status_connecting		{ buf=qtn_fse_status_connecting; }
RESOURCE TBUF r_freestyle_email_ui_status_disconnected	{ buf=qtn_fse_status_disconnected; }
RESOURCE TBUF r_freestyle_email_ui_status_email_sent		{ buf=qtn_fse_status_email_sent; }
RESOURCE TBUF r_freestyle_email_ui_status_cancel_sync		{ buf=qtn_fse_wait_note_canceling_synch ; }


// ** ADDED BY JARI ASP 30.11.2007 **
// GENERAL ERROR FOR SETUP WIZARD PARAMETER PASSING
RESOURCE TBUF r_freestyle_email_ui_login_info_note_error_mailbox_setup_try_again { buf=qtn_fse_login_info_note_error_mailbox_setup_try_again; }

// ** ADDED BY JARI ASP 22.01.2008 **
// ERROR SHOWN WHEN MAX AMOUNT OF MAILBOXES REACHED
RESOURCE TBUF r_freestyle_email_ui_login_info_note_error_mailbox_setup_max_amount_reached { buf=qtn_fse_login_info_note_error_mailbox_setup_max_amount_reached; }


// PASSWORD QUERY DIALOG
RESOURCE DIALOG r_freestyle_email_ui_password_query    
 	{
	flags = EEikDialogFlagWait|EEikDialogFlagNoDrag|EEikDialogFlagNoTitleBar|
			EEikDialogFlagCbaButtons|EEikDialogFlagNoBorder|EEikDialogFlagNoShadow|EEikDialogFlagNotifyEsc;
	buttons=R_AVKON_SOFTKEYS_OK_CANCEL;
    items=
		{
		DLG_LINE
			{
			type=EAknCtQuery;
			id=EGeneralQuery;
			control= AVKON_DATA_QUERY 
				{ 
					layout = ECodeLayout;
					label = qtn_fsemail_password_query_title;
					control=SECRETED 
					    {
						num_letters=16;
						};
				};
			}
		};
	}   
	
RESOURCE DIALOG r_fsemail_query_dialog
    {
    flags=EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_YES_NO; 
    items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control= AVKON_CONFIRMATION_QUERY 
                { 
                layout = EConfirmationQueryLayout;             
                animation = R_QGN_NOTE_QUERY_ANIM;  
                };
            }
        };
    }

RESOURCE DIALOG r_fsemail_information_note
    {
    flags = EAknInformationNoteFlags | EEikDialogFlagWait;
    items =
        {
	DLG_LINE
	    {
	    type = EAknCtNote;
	    id = EGeneralNote;
	    control = AVKON_NOTE
	        {
		layout = EGeneralLayout;
		animation = R_QGN_NOTE_INFO_ANIM;
		};
	    }
	};
    }

RESOURCE AVKON_VIEW r_fsemailui_downloadmanager_view
    {
    menubar = r_fsemailui_downloadmanager_menubar;  
    cba = r_freestyle_emauil_ui_sk_options_back__open;
    }   

RESOURCE MENU_BAR r_fsemailui_downloadmanager_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_downloadmanager_menupane; txt = ""; }
        };
    }

RESOURCE DIALOG r_fsemailui_find_mail_dialog
    {
    flags = EGeneralQueryFlags;
    buttons = r_freestyle_emauil_find_dialog_softkeys;
    items = 
            {
            DLG_LINE
                {
                type = EAknCtQuery;
                id = EGeneralQuery;
                control = AVKON_DATA_QUERY
                    {
                    layout = EDataLayout;
                    control =
                        EDWIN
                        {
                        lines = 1;
                        maxlength = 255; 
                        };
                    };
                }
            };
    }
    
RESOURCE MENU_BAR r_fsemailui_mainuigrid_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_mainuigrid_menupane; txt = ""; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_mainuigrid_menupane
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdOpen; txt = qtn_options_open; },
        MENU_ITEM { command = EFsEmailUiCmdDeleteMailbox; txt = qtn_mail_options_delete_mailbox; },
        MENU_ITEM { command = EFsEmailUiCmdSync; txt = qtn_fse_launcher_options_synchronize; },
        MENU_ITEM { command = EFsEmailUiCmdSyncAll; txt = qtn_fse_launcher_options_synchronize_all; },
        MENU_ITEM { command = EFsEmailUiCmdCancelSync; txt = qtn_fse_launcher_options_cancel_sync; },  
        MENU_ITEM { command = EFsEmailUiCmdGoOffline; txt = qtn_fse_launcher_options_go_offline; },
        MENU_ITEM { command = EFsEmailUiCmdGoOfflineAll; txt = qtn_fse_launcher_options_go_offline_all; },
        MENU_ITEM { command = EFsEmailUiCmdGoOnline; txt = qtn_fse_launcher_options_go_online; },
        MENU_ITEM { command = EFsEmailUiCmdGoOnlineAll; txt = qtn_fse_launcher_options_go_online_all; },
        MENU_ITEM { command = EFsEmailUiCmdAbout; txt = qtn_fse_launcher_about; },
        MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help; },
        MENU_ITEM { command = EFsEmailUiCmdExit; txt = qtn_options_exit; }
        };
    }



RESOURCE MENU_BAR r_fsemailui_maillist_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_maillist_menupane; txt = ""; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_maillist_menupane
    {
    items =
          {
          MENU_ITEM { command = EFsEmailUiCmdCompose; txt=qtn_fse_message_list_options_compose; },
          MENU_ITEM { command = EFsEmailUiCmdActionsEmptyDeleted; txt=qtn_fse_message_list_options_empty_deleted_items; },
          MENU_ITEM { command = EFsEmailUiCmdSearch; txt = qtn_fse_message_list_options_search; },

          // email message specific commands
          MENU_ITEM { command = EFsEmailUiCmdActionsReply; txt = qtn_fse_message_list_options_reply; },
          MENU_ITEM { command = EFsEmailUiCmdActionsReplyAll; txt = qtn_fse_message_list_options_reply_all; },
          MENU_ITEM { command = EFsEmailUiCmdActionsForward; txt = qtn_fse_message_list_options_forward; },
          MENU_ITEM { command = EFsEmailUiCmdMailActions; txt = qtn_cmail_message_list_options_actions; cascade=r_fsemailui_maillist_submenu_mail_actions;},
          MENU_ITEM { command = EFsEmailUiCmdSync; txt = qtn_cmail_message_list_options_send_receive; },
          MENU_ITEM { command = EFsEmailUiCmdCancelSync; txt = qtn_fse_launcher_options_cancel_sync; },  
          MENU_ITEM { command = EFsEmailUiCmdSubMenuMark; txt = qtn_fse_message_list_options_mark; cascade=r_fsemailui_maillist_submenu_mark;},
          MENU_ITEM { command = EFsEmailUiCmdSubMenuUnmark; txt = qtn_fse_message_list_options_unmark; cascade=r_fsemailui_maillist_submenu_unmark;},
          MENU_ITEM { command = EFsEmailUiCmdSettings; txt = qtn_fse_message_list_options_settings; },
          MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help; },
          MENU_ITEM { command = EFsEmailUiCmdExit; txt = qtn_options_exit; }
          };
    }
	
RESOURCE MENU_PANE r_fsemailui_maillist_submenu_mail_actions
    {
    items =
        {
        // generic message commands
        MENU_ITEM { command = EFsEmailUiCmdActionsDelete; txt = qtn_fse_message_list_options_delete; },
        MENU_ITEM { command = EFsEmailUiCmdMarkAsRead; txt = qtn_fse_message_list_options_mark_read; },
       	MENU_ITEM { command = EFsEmailUiCmdMarkAsUnread; txt = qtn_fse_message_list_options_mark_unread; },
      	MENU_ITEM { command = EFsEmailUiCmdActionsMove; txt = qtn_fse_message_list_options_move_message; },
        MENU_ITEM { command = EFsEmailUiCmdActionsFlag; txt = qtn_fse_message_list_options_flag; },
        MENU_ITEM { command = EFsEmailUiCmdActionsCollapseAll; txt = qtn_fse_message_list_options_collapse_all; },
        MENU_ITEM { command = EFsEmailUiCmdActionsExpandAll; txt = qtn_fse_message_list_options_expand_all; }
        };
	}

RESOURCE MENU_PANE r_fsemailui_maillist_submenu_mark
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdMarkMark; txt = qtn_cmail_message_list_options_sub_mark; },
        MENU_ITEM { command = EFsEmailUiCmdMarkMarkAll; txt = qtn_cmail_message_list_options_sub_mark_all; },
        MENU_ITEM { command = EFsEmailUiCmdMarkSubAll; txt = qtn_cmail_message_list_options_sub_all; }
        };
	}

RESOURCE MENU_PANE r_fsemailui_maillist_submenu_unmark
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdUnmarkSubAll; txt = qtn_cmail_message_list_options_sub_all; }
        };
	}
	
RESOURCE MENU_PANE r_fsemailui_maillist_submenu_mail_settings
	{
	items =
	    {
	    MENU_ITEM 
	    	{ 
	    	command = EFsEmailUiCmdSettingsGlobal; 
	    	txt = qtn_fse_launcher_global_settings; 
	    	}
	    };
	}
		
RESOURCE MENU_BAR r_fsemailui_mailviewer_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_mailviewer_menupane; txt = ""; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_mailviewer_menupane
    {
    items =
        {                     
        MENU_ITEM { command = EFsEmailUiCmdActionsMoveToDrafts; txt = qtn_fse_message_list_options_move_to_drafts; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsForward; txt = qtn_fse_message_list_options_forward; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsReply; txt = qtn_fse_message_list_options_reply; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsReplyAll; txt = qtn_fse_message_list_options_reply_all; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsForward2; txt = qtn_fse_message_list_options_forward; },  
        MENU_ITEM { command = EFsEmailUiCmdActionsDelete; txt = qtn_fse_message_list_options_delete; },              
        MENU_ITEM { command = EFsEmailUiCmdReadEmail; txt = qtn_fse_message_list_options_read; }, 
        MENU_ITEM { command = EFsEmailUiCmdMailActions; txt = qtn_fse_message_list_options_actions; cascade=r_fsemailui_mailviewer_submenu_actions;},   
       	MENU_ITEM { command = EFsEmailUiCmdMore; txt = qtn_fse_message_list_options_more; cascade=r_fsemailui_mailviewer_submenu_more;},                       
        MENU_ITEM { command = EFsEmailUiCmdActionsCopyToClipboard; txt = qtn_fse_viewer_options_copy_to_clipboard; },            
        MENU_ITEM { command = EFsEmailUiCmdPreviousMessage; txt = qtn_fse_viewer_options_previous_message; },              
        MENU_ITEM { command = EFsEmailUiCmdNextMessage; txt = qtn_fse_viewer_options_next_message; },              
        MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help; },
        MENU_ITEM { command = EFsEmailUiCmdExit; txt = qtn_options_exit; }
        };
    }
	
//menu for msk in mail viewer
RESOURCE MENU_BAR r_fsemailui_mailviewer_msk_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_mailviewer_msk_menupane; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_mailviewer_msk_menupane
    {
    items =
        {                              
        MENU_ITEM { command = EFsEmailUiCmdActionsForward; txt = qtn_fse_message_list_options_forward; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsReply; txt = qtn_fse_message_list_options_reply; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsReplyAll; txt = qtn_fse_message_list_options_reply_all; }         
        };
    }
    
RESOURCE MENU_BAR r_fsemailui_htmlviewer_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_htmlviewer_menupane; txt = ""; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_htmlviewer_menupane
    {
    items =
        {                     
        MENU_ITEM { command = EFsEmailUiCmdActionsReply; txt = qtn_fse_message_list_options_reply; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsReplyAll; txt = qtn_fse_message_list_options_reply_all; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsForward; txt = qtn_fse_message_list_options_forward; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsDelete; txt = qtn_fse_message_list_options_delete; },              
       	MENU_ITEM { command = EFsEmailUiCmdMarkAsUnread; txt = qtn_fse_message_list_options_mark_unread; },
       	MENU_ITEM { command = EFsEmailUiCmdMarkAsRead; txt = qtn_fse_message_list_options_mark_read; },
        MENU_ITEM { command = EFsEmailUiCmdActionsMoveMessage; txt = qtn_cmail_options_moveto_folder; },
        MENU_ITEM { command = EFsEmailUiCmdActionsFlag; txt = qtn_fse_list_flag_follow_up; },
        //MENU_ITEM { command = EFsEmailUiCmdReadEmail; txt = qtn_fse_message_list_options_read; },
        MENU_ITEM { command = EFsEmailUiCmdZoomLevel; txt = qtn_fse_zoom_level_cascade; cascade = r_fsemailui_htmlviewer_submenu_zoom_level;},                       
        MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help; },
        MENU_ITEM { command = EFsEmailUiCmdExit; txt = text_softkey_exit; }
        };
    }
    
RESOURCE MENU_PANE r_fsemailui_htmlviewer_submenu_zoom_level
    {
    items =
        {
        MENU_ITEM 
            {
            command = EFsEmailUiCmdZoomSmall;
            txt = qtn_fse_zoom_level_small;
            flags = EEikMenuItemRadioMiddle;
            },
        MENU_ITEM 
            {
            command = EFsEmailUiCmdZoomNormal; 
            txt = qtn_fse_zoom_level_normal;
            flags = EEikMenuItemRadioMiddle;
            },
        MENU_ITEM 
            {
            command = EFsEmailUiCmdZoomLarge; 
            txt = qtn_fse_zoom_level_large;
            flags = EEikMenuItemRadioEnd;
            },
        MENU_ITEM
            {
            command = EFsEmailUiCmdZoom150Percent; 
            txt = qtn_fse_zoom_level_150_percent;
            flags = EEikMenuItemRadioStart;
            }
        };
    }

// MailViewer actions menu
// All items are hidden by default; appropriate items are made visible in DynInitMenuPaneL()
RESOURCE MENU_PANE r_fsemailui_mailviewer_submenu_actions
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdActionsCall; txt = qtn_fse_viewer_options_call; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdActionsAddContact; txt = qtn_fse_viewer_options_add_to_contacts; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdActionsCreateMessage; txt = qtn_fse_viewer_options_create_message; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdActionsCreateMail; txt = qtn_fse_viewer_options_create_email; flags = EEikMenuItemDimmed; },             
        MENU_ITEM { command = EFsEmailUiCmdActionsContactDetails; txt = qtn_fse_viewer_options_contact_details; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdActionsAddContact2; txt = qtn_fse_viewer_options_add_to_contacts; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdActionsRemoteLookup; txt = qtn_fse_viewer_options_remote_lookup; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdActionsOpenWeb; txt = qtn_fse_viewer_options_open_web; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdActionsOpenInIntranetMenu; txt = qtn_intra_fseoptions_open_intra; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdActionsAddBookmark; txt = qtn_fse_viewer_options_bookmark; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdOpenAttachment; txt = qtn_options_open; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdDownload; txt = qtn_fse_viewer_options_attach_download; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdCancelDownload; txt = qtn_fse_viewer_options_attach_cancel_download; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdSave; txt = qtn_fse_viewer_options_attach_save; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdClearFetchedAttachment; txt = qtn_fse_viewer_options_attach_clear_fetched; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdOpenAttachmentList; txt = qtn_fse_viewer_options_attach_view_list; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdDownloadAll; txt = qtn_fse_viewer_options_attach_download_all; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdCancelAllDownloads; txt = qtn_fse_viewer_options_attach_cancel_all_downloads; flags = EEikMenuItemDimmed; },
        MENU_ITEM { command = EFsEmailUiCmdSaveAll; txt = qtn_fse_viewer_options_attach_save_all; flags = EEikMenuItemDimmed; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_mailviewer_submenu_more
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdMarkAsUnread; txt = qtn_fse_message_list_options_mark_unread; },         
      	MENU_ITEM { command = EFsEmailUiCmdMarkAsRead; txt = qtn_fse_message_list_options_mark_read; },         
       	MENU_ITEM { command = EFsEmailUiCmdActionsMoveMessage; txt = qtn_fse_message_list_options_move_message; },              
        MENU_ITEM { command = EFsEmailUiCmdActionsFlag; txt = qtn_fse_message_list_options_flag; },      
        MENU_ITEM { command = EFsEmailUiCmdCompose; txt=qtn_fse_message_list_options_compose; },
       	MENU_ITEM { command = EFsEmailUiCmdMessageDetails; txt = qtn_fse_message_list_options_message_details; }
       };
	}

RESOURCE TBUF r_freestyle_email_ui_viewer_fetching_content_text	{ buf=qtn_fse_viewer_view_fetching_content; }
RESOURCE TBUF r_freestyle_email_ui_viewer_flag_dialog_header { buf=qtn_fse_list_flag_follow_up_title; }
 
RESOURCE TBUF r_freestyle_email_ui_viewer_add_to_contacts	{ buf=qtn_fse_viewer_options_add_to_contacts; }
RESOURCE TBUF r_freestyle_email_ui_viewer_create_new_contact	{ buf=qtn_fse_viewer_options_add_to_contacts_create_new; }
RESOURCE TBUF r_freestyle_email_ui_viewer_update_existing	{ buf=qtn_fse_viewer_options_add_to_contacts_update_existing; }
RESOURCE TBUF r_freestyle_email_ui_delete_message_confirmation	{ buf=qtn_fse_viewer_delete_message_query; }

// query items for create message query
RESOURCE TBUF r_freestyle_email_ui_viewer_text_message	{ buf=qtn_fse_viewer_options_text_message; }
RESOURCE TBUF r_freestyle_email_ui_viewer_multimedia_message	{ buf=qtn_fse_viewer_options_multimedia_message; }
RESOURCE TBUF r_freestyle_email_ui_viewer_voice_message	{ buf=qtn_fse_viewer_options_voice_message; }

// for attachment view
RESOURCE TBUF r_fse_viewer_cancel_download_query	{ buf=qtn_fse_viewer_cancel_download_query; }
RESOURCE TBUF r_fse_viewer_cancel_downloads_query	{ buf=qtn_fse_viewer_cancel_downloads_query; }
RESOURCE TBUF r_fse_viewer_clear_fetched_query      { buf=qtn_fse_viewer_remove_fetched_attachment_query; }

// wait note texts
RESOURCE TBUF r_fse_wait_opening_text   { buf=qtn_gen_note_opening; }
RESOURCE TBUF r_fse_wait_fetching_text          { buf=qtn_gen_note_fetching; }
RESOURCE TBUF r_fse_wait_removing_text          { buf=qtn_gen_note_removing; }
RESOURCE TBUF r_fse_wait_deleting_text          { buf=qtn_fse_wait_note_deleting; }
RESOURCE TBUF r_fse_wait_cancelling_sync_text   { buf=qtn_fse_wait_note_canceling_synch; }
RESOURCE TBUF r_fse_wait_sorting_text           { buf=qtn_fse_wait_note_sorting; }

// generic wait dialogs
RESOURCE DIALOG r_fse_wait_dialog
    {
    flags = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EGeneralNote;
            control= AVKON_NOTE
                {
                layout = EWaitLayout;
                singular_label = "";
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }

RESOURCE DIALOG r_fse_wait_dialog_no_cancel
    {
    flags = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_EMPTY;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EGeneralNote;
            control= AVKON_NOTE
                {
                layout = EWaitLayout;
                singular_label = "";
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }

// content fetching wait dialog
RESOURCE DIALOG r_fse_fetching_wait_dialog
    {
    flags = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EGeneralNote;
            control= AVKON_NOTE
                {
                layout = EWaitLayout;
                singular_label = qtn_gen_note_fetching;
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }


RESOURCE AIW_INTEREST r_intranet_aiw_interest_menu
	{
	items =
    	{
        AIW_CRITERIA_ITEM
        	{
            id = EFsEmailUiCmdActionsOpenInIntranetMenu; 
            serviceCmd = KAiwCmdView;
            serviceClass = KAiwClassMenu;
            contentType = "*";
            defaultProvider = 0x20002599;
            maxProviders = 1;
	        }
	    };
	}


RESOURCE AIW_INTEREST r_intranet_aiw_interest_base
{
    items =
    {
        AIW_CRITERIA_ITEM
        {
            id = EFsEmailUiCmdActionsOpenInIntranetBase;
            serviceCmd = KAiwCmdView;
            serviceClass = KAiwClassBase;
            contentType = "*";
            defaultProvider = 0x20002599;
            maxProviders = 1;
        }
    };
}


RESOURCE ARRAY r_create_message_list_query_item
	{
	items =
		{
		LBUF { txt = qtn_fse_viewer_options_text_message; },
		LBUF { txt = qtn_fse_viewer_options_multimedia_message; },
		LBUF { txt = qtn_fse_viewer_options_voice_message; }
		};
	}

RESOURCE AVKON_LIST_QUERY r_mail_viewer_create_message_dialog
	{
	flags = EGeneralQueryFlags;
	softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL;
	items =
		{
		AVKON_LIST_QUERY_DLG_LINE
			{
			control = AVKON_LIST_QUERY_CONTROL
				{
				listtype = EAknCtSinglePopupMenuListBox;
				listbox = AVKON_LIST_QUERY_LIST
					{
//					array_id = r_create_message_list_query_item;
					};
				heading = qtn_fse_viewer_options_create_message;
				};
			}
		};
	}

RESOURCE AVKON_LIST_QUERY r_fsemailui_launcher_grid_mailbox_selection_dialog
    {
    flags = EGeneralQueryFlags;
    softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    };
                heading = qtn_fse_launcher_select_mailbox_query_prompt;
                };
            }
        };
    }


RESOURCE MENU_BAR r_fsemailui_attachments_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_attachments_menupane; txt = ""; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_attachments_menupane
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdMailActions; txt = qtn_fse_viewer_options_actions; cascade=r_fsemailui_attachments_submenu_actions; },                       
        MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help; },
        MENU_ITEM { command = EFsEmailUiCmdExit; txt = qtn_options_exit; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_attachments_submenu_actions
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdOpen; txt = qtn_options_open; },
        MENU_ITEM { command = EFsEmailUiCmdDownload; txt = qtn_fse_viewer_attachment_list_options_download; },  
        MENU_ITEM { command = EFsEmailUiCmdDownloadAll; txt = qtn_fse_viewer_attachment_list_options_download_all; },  
        MENU_ITEM { command = EFsEmailUiCmdCancelDownload; txt = qtn_fse_viewer_attachment_list_options_cancel; },  
        MENU_ITEM { command = EFsEmailUiCmdCancelAllDownloads; txt = qtn_fse_viewer_attachment_list_options_cancel_all; },  
        MENU_ITEM { command = EFsEmailUiCmdSave; txt = qtn_fse_viewer_attachment_list_options_save; },  
        MENU_ITEM { command = EFsEmailUiCmdSaveAll; txt = qtn_fse_viewer_attachment_list_options_save_all; },
        MENU_ITEM { command = EFsEmailUiCmdClearFetchedAttachment; txt = qtn_fse_viewer_options_attach_clear_fetched; },
        MENU_ITEM { command = EFsEmailUiCmdRemoveAttachment; txt = qtn_fse_viewer_options_attach_remove_unfetched; }
        };
    }


RESOURCE MENU_PANE r_fsemailui_downloadmanager_menupane
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdMailActions; txt = qtn_fse_viewer_options_actions; cascade=r_fsemailui_attachments_submenu_actions; },                       
        MENU_ITEM { command = EFSEmailUICmdViewMessage; txt = qtn_fse_download_manager_options_view_message; },  
        MENU_ITEM { command = EFsEmailUiCmdMsgDetails; txt = qtn_fse_download_manager_options_message_details; },  
        // removed
        //MENU_ITEM { command = EFsEmailUiCmdMsgEmptyTempFolder; txt = qtn_fse_download_manager_options_empty_temp_file_folder; },  
        MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help	; },
        MENU_ITEM { command = EFsEmailUiCmdExit; txt = qtn_options_exit; }
        };
    }

RESOURCE MENU_BAR r_fsemailui_maildetails_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_maildetails_menupane; txt = ""; }
        };
    }

RESOURCE MENU_BAR r_fsemailui_folderlist_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_folderlist_menupane; txt = ""; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_maildetails_menupane
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdMailActions; txt = qtn_fse_message_list_options_actions; cascade=r_fsemailui_maildetails_submenu_actions;},
        MENU_ITEM { command = EFsEmailUiCmdActionsCopyToClipboard; txt = qtn_fse_viewer_options_copy_to_clipboard; },
        MENU_ITEM { command = EFsEmailUiCmdActionsCollapseAll; txt = qtn_fse_message_list_options_collapse_all; },
        MENU_ITEM { command = EFsEmailUiCmdActionsExpandAll; txt = qtn_fse_message_list_options_expand_all; },
        MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help; },
        MENU_ITEM { command = EFsEmailUiCmdExit; txt = qtn_options_exit; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_folderlist_menupane
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdSelect; txt = text_softkey_select; },
        MENU_ITEM { command = EFsEmailUiCmdGoOnline; txt = qtn_fse_launcher_options_go_online; },
        MENU_ITEM { command = EFsEmailUiCmdGoOffline; txt = qtn_fse_launcher_options_go_offline; },
        MENU_ITEM { command = EFsEmailUiCmdActionsCollapseAll; txt = qtn_fse_message_list_options_collapse_all; },
        MENU_ITEM { command = EFsEmailUiCmdActionsExpandAll; txt = qtn_fse_message_list_options_expand_all; },
        MENU_ITEM { command = EFsEmailUiCmdSettings; txt = qtn_fse_folder_list_options_folder_settings; },
        MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help; },
        MENU_ITEM { command = EFsEmailUiCmdExit; txt = qtn_options_exit; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_maildetails_submenu_actions
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdActionsCall; txt = qtn_fse_viewer_options_call; },
        MENU_ITEM { command = EFsEmailUiCmdActionsCallVideo; txt = qtn_fs_action_vidcall; },
        MENU_ITEM { command = EFsEmailUiCmdActionsCreateMessage; txt = qtn_fse_viewer_options_create_message; },
        MENU_ITEM { command = EFsEmailUiCmdActionsContactDetails; txt = qtn_fse_viewer_options_contact_details; },
        MENU_ITEM { command = EFsEmailUiCmdActionsAddContact; txt = qtn_fse_viewer_options_add_to_contacts; },
        MENU_ITEM { command = EFsEmailUiCmdActionsRemoteLookup; txt = qtn_fse_viewer_options_remote_lookup; }
        };
	}

RESOURCE MENU_BAR r_fsemailui_settingsui_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_settingsui_menupane; txt = ""; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_settingsui_menupane
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdOpen; txt = qtn_options_open; },  
        MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help; },
        MENU_ITEM { command = EFsEmailUiCmdExit; txt = qtn_options_exit; }
        };
    }


RESOURCE MENU_BAR r_fsemailui_searchlist_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_fsemailui_searchlist_menupane; txt = ""; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_searchlist_menupane
    {
    items =
        {
       	MENU_ITEM { command = EFsEmailUiCmdOpen; txt = qtn_options_open; },
        MENU_ITEM { command = EFsEmailUiCmdStopSearch; txt = qtn_fse_message_list_options_stop_search; },
        MENU_ITEM { command = EFsEmailUiCmdSearch; txt = qtn_fse_message_list_options_search; },
        MENU_ITEM { command = EFsEmailUiCmdNewSearch; txt = qtn_fse_message_list_options_new_search; },
        MENU_ITEM { command = EFsEmailUiCmdMailActions; txt = qtn_fse_message_list_options_actions; cascade=r_fsemailui_searchlist_submenu_actions;},                               
        MENU_ITEM { command = EFsEmailUiCmdCalActions; txt = qtn_fse_message_list_options_actions; cascade=r_fsemailui_searchlist_submenu_calevent_actions;},                               
        MENU_ITEM { command = EFsEmailUiCmdMore; txt = qtn_fse_message_list_options_more; cascade=r_fsemailui_searchlist_submenu_more;},   
       	MENU_ITEM { command = EFsEmailUiCmdReadEmail; txt =	qtn_fse_message_list_options_read; },
        MENU_ITEM { command = EFsEmailUiCmdHelp; txt = qtn_options_help; },
        MENU_ITEM { command = EFsEmailUiCmdExit; txt = qtn_options_exit; }
        };
    }

RESOURCE MENU_PANE r_fsemailui_searchlist_submenu_actions
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdActionsReply; txt = qtn_fse_message_list_options_reply; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsReplyAll; txt = qtn_fse_message_list_options_reply_all; },         
        MENU_ITEM { command = EFsEmailUiCmdActionsForward; txt = qtn_fse_message_list_options_forward; },      
        MENU_ITEM { command = EFsEmailUiCmdMarkAsRead; txt = qtn_fse_message_list_options_mark_read; },              
       	MENU_ITEM { command = EFsEmailUiCmdMarkAsUnread; txt = qtn_fse_message_list_options_mark_unread; },              
        MENU_ITEM { command = EFsEmailUiCmdActionsDelete; txt = qtn_fse_message_list_options_delete; }      
        };
	}

RESOURCE MENU_PANE r_fsemailui_searchlist_submenu_calevent_actions
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdCalActionsAccept; txt = qtn_fse_action_menu_accept; },         
       	MENU_ITEM { command = EFsEmailUiCmdCalActionsTentative; txt = qtn_fse_action_menu_tentative; },         
       	MENU_ITEM { command = EFsEmailUiCmdCalActionsDecline; txt = qtn_fse_action_menu_decline; },         
        MENU_ITEM { command = EFsEmailUiCmdCalRemoveFromCalendar; txt = qtn_fse_message_list_options_remove_from_calendar; },        	        
        MENU_ITEM { command = EFsEmailUiCmdMarkAsRead; txt = qtn_fse_message_list_options_mark_read; },              
       	MENU_ITEM { command = EFsEmailUiCmdMarkAsUnread; txt = qtn_fse_message_list_options_mark_unread; },                          
        MENU_ITEM { command = EFsEmailUiCmdActionsDeleteCalEvent; txt = qtn_fse_message_list_options_delete; }              
        };
	}

RESOURCE MENU_PANE r_fsemailui_searchlist_submenu_more
    {
    items =
        {
        MENU_ITEM { command = EFsEmailUiCmdActionsAddContact; txt = qtn_fse_viewer_options_add_to_contacts; },              
        MENU_ITEM { command = EFsEmailUiCmdActionsCallSender; txt = qtn_fse_message_list_options_call_sender; },              
       	MENU_ITEM { command = EFsEmailUiCmdMessageDetails; txt = qtn_fse_message_list_options_message_details; }
       	};
    }
	

RESOURCE DIALOG r_sending_mail_progress_note
    {
    flags = EAknProgressNoteFlags;
   // buttons = R_AVKON_SOFTKEYS_NONE;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EAknNoteProgressBar;
            control = AVKON_NOTE
                {
                layout = EProgressLayout;
                };
            }
        };
    }

RESOURCE AVKON_LIST_QUERY r_mail_flag_query_dialog
    {
    flags = EGeneralQueryFlags;
    softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSingleGraphicPopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    };
                heading = qtn_fse_list_flag_follow_up_title;
                };
            }
        };
    }

RESOURCE AVKON_LIST_QUERY r_ncs_mail_flag_query_dialog
    {
    flags = EGeneralQueryFlags;
    softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSingleGraphicPopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    };
                heading = qtn_fse_editor_list_flag;
                };
            }
        };
    }

// -----------------------------------------------------------------------------
//
//  r_fsemailui_launcher_grid
//  Define order of the items in launcher grid
//
// -----------------------------------------------------------------------------
//
STRUCT LAUNCHER_GRID
    {
    STRUCT items[]; // LAUNCHER_ITEMs
    }

STRUCT LAUNCHER_ITEM
    {
    WORD launcheritemid;
    }

RESOURCE LAUNCHER_GRID r_fsemailui_launcher_grid
    {
    items =
        {                     
        LAUNCHER_ITEM { launcheritemid = EDefaultMailboxItem; },
        LAUNCHER_ITEM { launcheritemid = EOtherMailboxItems; },
        LAUNCHER_ITEM { launcheritemid = EDirectoryItem; },
        LAUNCHER_ITEM { launcheritemid = ESettingsItem; },
        LAUNCHER_ITEM { launcheritemid = EIntellisyncFileSyncItem; },
        LAUNCHER_ITEM { launcheritemid = EIntellisyncTravelInfoItem; },
        LAUNCHER_ITEM { launcheritemid = EIntellisyncBackupItem; },
        LAUNCHER_ITEM { launcheritemid = EIntellisyncRestoreItem; },
        LAUNCHER_ITEM { launcheritemid = EIntellisyncUpgradeItem; },
        LAUNCHER_ITEM { launcheritemid = EIntellisyncRemoteControlItem; },        
        LAUNCHER_ITEM { launcheritemid = EAddNewMailboxItem; },
        LAUNCHER_ITEM { launcheritemid = EInfoItem; },
        LAUNCHER_ITEM { launcheritemid = EHelpItem; }
        };
    }


// -----------------------------------------------------------------------------
//
//    r_ncs_compose_view
//    Define compose view
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_ncs_compose_view
    {
    menubar = r_ncs_compose_menubar;
    cba = r_fse_editor_softkeys_options_close;
    }
    
// -----------------------------------------------------------------------------
//
//   r_ncs_compose_menubar
//   Menu title definition for compose view
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_ncs_compose_menubar
    {
        titles =
        {
            MENU_TITLE
            {
                menu_pane = r_ncs_compose_menu;
            }
        };
    }

// -----------------------------------------------------------------------------
//
//   r_ncs_compose_menu
//   Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_ncs_compose_menu
    {
    items =
        {
        MENU_ITEM
            {
            command = ENcsCmdSend;
            txt = qtn_fse_editor_options_send;
            },
        MENU_ITEM
            {
            command = ENcsCmdAddAttachment;
            txt = qtn_fse_editor_options_add_attachment;
            },
        MENU_ITEM
            {
            command = ENcsCmdRemoveAttachment;
            txt = qtn_fse_editor_options_remove_attachment;
            },
        MENU_ITEM
            {
            command = ENcsCmdRemoveAllAttachments;
            txt = qtn_fse_editor_options_remove_all_attachments;
            },
		MENU_ITEM
			{
            cascade = r_ncs_priority_menu;
			command = ENcsCmdPriority;
            txt = qtn_fse_editor_options_priority;      
			},
        MENU_ITEM
            {
            cascade = r_ncs_extra_recepient_fields_menu;
			command = ENcsCmdMore;
            txt = qtn_fse_editor_options_extra_recepient_fields;
            },
        MENU_ITEM
	        {
	        command = ENcsCmdFlag;
	        txt = qtn_fse_editor_options_flag;
	        },
        MENU_ITEM
	        {
	        command = ENcsCmdQuickText;
	        txt = qtn_fse_editor_options_insert_template;
	        },
        MENU_ITEM
            {
            command = ENcsCmdInsertContact;
            txt = qtn_fse_editor_options_insert_from_contacts;
            },
        MENU_ITEM
            {
            command = ENcsCmdSaveDraft;
            txt = qtn_fse_editor_options_save_as_draft;
            },
        MENU_ITEM
            {
            command = EAknCmdHelp;
            txt = qtn_options_help;
            },
        MENU_ITEM
            {
            command = ENcsCmdExit;
            txt = qtn_options_exit;
            }
        };
    }

// -----------------------------------------------------------------------------
//
//   r_ncs_view_menu
//   Menu for "View"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_ncs_view_menu
	{
	items =
		{
        MENU_ITEM
            {
            command = ENcsCmdShowCc;
            txt = qtn_fse_editor_options_show_cc;        
            },
        MENU_ITEM
            {
            command = ENcsCmdHideCc;
            txt = qtn_fse_editor_options_hide_cc;
            },
        MENU_ITEM
            {
            command = ENcsCmdShowBcc;
            txt = qtn_fse_editor_options_show_bcc;        
            },
        MENU_ITEM
            {
            command = ENcsCmdHideBcc;
            txt = qtn_fse_editor_options_hide_bcc;      
            }
		};
	}

// -----------------------------------------------------------------------------
//
//   r_ncs_priority_menu
//   Menu for "Priority"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_ncs_priority_menu
	{
	items =
		{
		MENU_ITEM
			{
			command = ENcsCmdPriorityHigh;
			txt = qtn_fse_editor_options_priority_high;
			},
		MENU_ITEM
			{
			command = ENcsCmdPriorityNormal;
			txt = qtn_fse_editor_options_priority_normal;
			},
		MENU_ITEM
			{
			command = ENcsCmdPriorityLow;
			txt = qtn_fse_editor_options_priority_low;
			}
		};
	}

// -----------------------------------------------------------------------------
//
//   r_ncs_extra_recepient_fields_menu
//   Menu for "Extra Recepient Fields"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_ncs_extra_recepient_fields_menu
    {
	items =
		{
        MENU_ITEM
            {
            command = ENcsCmdShowCc;
            txt = qtn_fse_editor_options_show_cc;        
            },
        MENU_ITEM
            {
            command = ENcsCmdHideCc;
            txt = qtn_fse_editor_options_hide_cc;      
            },
        MENU_ITEM
            {
            command = ENcsCmdShowBcc;
            txt = qtn_fse_editor_options_show_bcc;        
            },
        MENU_ITEM
            {
            command = ENcsCmdHideBcc;
            txt = qtn_fse_editor_options_hide_bcc;      
            }
		};
	}

// -----------------------------------------------------------------------------
//
//   r_ncs_compose_body_msk_menubar
//   Menu bar for composer msk for body part edition
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_ncs_compose_body_msk_menubar
    {
        titles =
        {
            MENU_TITLE
            {
                menu_pane = r_ncs_compose_body_msk_menu;
            }
        };
    }

// -----------------------------------------------------------------------------
//
//   r_ncs_compose_body_msk_menu
//   Menu for msk in body edition
//   Send, Add attachment and Add recipient.
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_ncs_compose_body_msk_menu
    {
    items =
        {
        MENU_ITEM
            {
            command = ENcsCmdSend;
            txt = qtn_fse_editor_options_send;
            },
        MENU_ITEM
            {
            command = ENcsCmdAddAttachment;
            txt = qtn_fse_editor_options_add_attachment;
            },
        MENU_ITEM
            {
            command = ENcsCmdInsertContact;
            txt = qtn_fse_editor_options_insert_from_contacts;
            },
        MENU_ITEM
            {
            command = EAknCmdEditItemPlaceHolder;
            }
        };
    }

// -----------------------------------------------------------------------------
//
//   r_draft_query_dialog
//   Save to drafts dialog
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_LIST_QUERY r_draft_query_dialog
    {
    flags = EGeneralQueryFlags;
    softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    };
                heading = qtn_fse_editor_close_message_query_prompt;
                };
            }
        };
    }

// -----------------------------------------------------------------------------
//
//   r_fse_editor_softkeys_options_close
//   Resource for composer view softkeys
//
// -----------------------------------------------------------------------------
//
RESOURCE CBA r_fse_editor_softkeys_options_close
    {
    buttons = 
        {
        CBA_BUTTON
            { 
            id = EAknSoftkeyOptions; 
            txt = text_softkey_option;
            },
        CBA_BUTTON
            { 
            id = EAknSoftkeyClose;
            txt= text_softkey_close;
            }
        };
    }

RESOURCE DIALOG r_fse_editor_confirm_attachment_download_dialog
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
    	{
    	DLG_LINE
    		{
    		type = EAknCtQuery;
    		id = EGeneralQuery;
    		control = AVKON_CONFIRMATION_QUERY
    			{
    			layout = EConfirmationQueryLayout;
    			label = "";
    			};
    		}
    	};
    }	
	
// -----------------------------------------------------------------------------
//
//   Editor strings
//
// -----------------------------------------------------------------------------
//

RESOURCE TBUF r_ncs_to_field_text { buf=qtn_fse_editor_header_to; }
RESOURCE TBUF r_ncs_cc_field_text { buf=qtn_fse_editor_header_cc; }
RESOURCE TBUF r_ncs_bcc_field_text { buf=qtn_fse_editor_header_bcc; }
RESOURCE TBUF r_fse_editor_header_subject { buf=qtn_fse_editor_header_subject; }
RESOURCE TBUF r_ncs_attachment_label_text { buf=qtn_fse_editor_header_attachment_label; }
RESOURCE TBUF r_ncs_attachments_field_text { buf=qtn_fse_editor_header_attachments; }
RESOURCE TBUF r_ncs_attachments_field_single_text { buf=qtn_fse_editor_header_single_attachment; }

RESOURCE TBUF r_ncs_engine_email_forward_prefix { buf=qtn_ncs_engine_email_forward_prefix_text; }
RESOURCE TBUF r_ncs_engine_email_reply_prefix { buf=qtn_ncs_engine_email_reply_prefix_text; }
RESOURCE TBUF r_ncs_engine_email_to { buf=qtn_ncs_engine_email_to_text; }
RESOURCE TBUF r_ncs_engine_email_cc { buf=qtn_ncs_engine_email_cc_text; }
RESOURCE TBUF r_ncs_engine_email_from { buf=qtn_ncs_engine_email_from_text; }
RESOURCE TBUF r_ncs_engine_email_sent { buf=qtn_ncs_engine_email_sent_text; }
RESOURCE TBUF r_ncs_engine_email_subject { buf=qtn_ncs_engine_email_subject_text; }
RESOURCE TBUF r_ncs_engine_email_message_line_separator { buf=qtn_ncs_engine_email_message_line_separator_text; }
RESOURCE TBUF r_ncs_quick_text_title_text { buf=qtn_fse_editor_options_insert_template; }
RESOURCE TBUF r_ncs_flag_follow_up { buf=qtn_fse_editor_list_flag_follow_up; }
RESOURCE TBUF r_ncs_flag_clear { buf=qtn_fse_editor_list_flag_clear; }
RESOURCE TBUF r_ncs_draft_save { buf=qtn_fse_editor_close_message_quey_save_to_drafts; }
RESOURCE TBUF r_ncs_draft_delete { buf=qtn_fse_editor_close_message_query_delete_message; }
RESOURCE TBUF r_fse_editor_address_list_remote_lookup_search { buf=qtn_fse_editor_address_list_remote_lookup_search; }
RESOURCE TBUF r_fse_editor_confirm_attachment_download { buf=qtn_fse_editor_confirm_attachment_download; }
RESOURCE TBUF r_fse_editor_smart_tag { buf=qtn_fse_editor_smart_tag; }
RESOURCE TBUF r_fse_editor_local_attachments { buf=qtn_fse_editor_local_attachments; }
RESOURCE TBUF r_fse_editor_remote_attachments { buf=qtn_fse_editor_remote_attachments; }
RESOURCE TBUF r_fse_editor_info_building_cache { buf=qtn_fs_info_building_cache; }
RESOURCE TBUF r_fse_editor_info_caching_completed { buf=qtn_fs_info_caching_completed; }

RESOURCE AIW_INTEREST r_aiw_interest_launch_setup_wizard
    {
    items =
        {
        AIW_CRITERIA_ITEM
            {                
            id = EFsEmailUiCmdAiwMenuPlaceHolder; // relevant if attaching AIW to menu
            serviceCmd = 0x2000CFE9; //KAiwCmdSettingWizardFsEmail
            contentType = "*";
            serviceClass = KAiwClassMenu; //from aiwcommon.hrh
            //defaultProvider = 0x2000E5FF; //KUidEsWizardAIWPlugin // preferred provider!
            defaultProvider = 0x2000CFEA; //==SETTINGWIZARD_FS_AIW_PROVIDER_IMPL_UID
            maxProviders = 1; // important, use only one provider!
            }
        };
    }

RESOURCE DIALOG r_fse_creating_mailbox_dialog
   {
    flags = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_EMPTY; //R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EGeneralNote;
            control= AVKON_NOTE
                {
                layout = EWaitLayout;
                singular_label = qtn_fse_general_creating_new_mailbox;
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }

// -----------------------------------------------------------------------------
//
//   Attachment view and download manager strings
//
// -----------------------------------------------------------------------------
//

RESOURCE TBUF r_fse_viewer_attachments_text { buf=qtn_fse_viewer_attachments_text; }
RESOURCE TBUF r_fse_viewer_attachments_text_with_size { buf=qtn_fse_viewer_header_attachments; }
RESOURCE TBUF r_fse_download_manager_options_message_details { buf=qtn_fse_download_manager_options_message_details; }
RESOURCE TBUF r_fse_download_manager_options_empty_temp_file_folder { buf=qtn_fse_download_manager_options_empty_temp_file_folder; }
RESOURCE TBUF r_fse_viewer_attachments_list_downloaded { buf=qtn_fse_viewer_attachments_list_downloaded; }
RESOURCE TBUF r_fse_viewer_attachments_list_not_yet_downloaded { buf=qtn_fse_viewer_attachments_list_not_yet_downloaded; }
RESOURCE TBUF r_fse_viewer_attachments_list_size { buf=qtn_fse_viewer_attachments_list_size; }
RESOURCE TBUF r_fse_viewer_attachments_list_downloading { buf=qtn_fse_viewer_attachments_downloading; }
RESOURCE TBUF r_fse_viewer_attachments_list_downloaded_100 { buf=qtn_fse_viewer_attachments_downloaded_100; } 
RESOURCE TBUF r_fse_viewer_attachments_list_downloading_cancelled { buf=qtn_fse_viewer_attachments_downloading_cancelled; } 
RESOURCE TBUF r_fse_viewer_attachments_list_download { buf=qtn_fse_viewer_attachments_download_prefix; } 
RESOURCE TBUF r_fse_viewer_attachments_list_download_cancelled { buf=qtn_fse_viewer_attachments_download_cancelled_prefix; } 
RESOURCE TBUF r_fse_viewer_attachments_list_manager_link { buf=qtn_fse_viewer_attachments_list_manager_link; }
RESOURCE TBUF r_fse_viewer_attachments_header_download_manager { buf=qtn_fse_viewer_attachments_header_download_manager; }
RESOURCE TBUF r_fse_viewer_note_attachment_downloading_progress { buf=qtn_fse_viewer_note_attachment_downloading_progress; }
RESOURCE TBUF r_fse_viewer_note_attachment_downloading { buf=qtn_fse_viewer_note_attachment_downloading; }
RESOURCE TBUF r_fse_viewer_note_attachments_download_complete { buf=qtn_fse_viewer_note_attachments_download_complete; }
RESOURCE TBUF r_fse_viewer_note_attachment_restart_downloading { buf=qtn_fse_viewer_note_attachment_restart_downloading; }
RESOURCE TBUF r_fse_viewer_attachments_text_from { buf=qtn_fse_viewer_attachments_text_from; }
RESOURCE TBUF r_fse_viewer_attachments_text_subject { buf=qtn_fse_viewer_attachments_text_subject; }
RESOURCE TBUF r_fse_viewer_attachments_downloaded { buf=qtn_fse_viewer_attachments_downloaded; }


// -----------------------------------------------------------------------------
//
//   Authentication error messages
//
// -----------------------------------------------------------------------------
//

 RESOURCE CBA r_freestyle_email_ui_sk_setup_cancel__ok
    {
    buttons =
        {
        CBA_BUTTON 
            {
            id = EFsEmailUiCmdSetup;
            txt = qtn_fse_login_device_not_yet_provisioned_set_up;
            },
        CBA_BUTTON  //AVKON_CBA_BUTTON can define e.g. long press...
            {
            id = EAknSoftkeyCancel;
            txt = text_softkey_cancel;
            },
            CBA_BUTTON 
            {
            id=EAknSoftkeyOk;
            txt=qtn_msk_ok;
            }   
        //R_AVKON_SOFTKEY_CANCEL
//#ifdef __MMP_MSK_SUPPORT__
//        , CBA_BUTTON { id=EFsEmailUiCmdSetup; txt=qtn_fse_login_device_not_yet_provisioned_set_up; }
//#endif
        };
    }

// --------------------------------------------------------------------------
// AIW_INTEREST
// Contact assignment interest.
// --------------------------------------------------------------------------
//
RESOURCE AIW_INTEREST r_fse_contact_assignment_interest
    {
    items=
        {
        AIW_CRITERIA_ITEM
            {
            id = KAiwCmdSelect;  // serviceCmd used here also as ID
            serviceCmd = KAiwCmdAssign;
            contentType = EGenericParamContactLinkArrayStr;
            serviceClass = KAiwClassMenu;
            maxProviders    = 1;
            }
        };
    }

// --------------------------------------------------------------------------
// AIW_INTEREST
// Contact selection interest.
// --------------------------------------------------------------------------
//
RESOURCE AIW_INTEREST r_fse_contact_selection_interest
    {
    items=
        {
        AIW_CRITERIA_ITEM
            {
            id = KAiwCmdSelect;  // serviceCmd used here also as ID
            serviceCmd   = KAiwCmdSelect;
            contentType  = EGenericParamContactLinkArrayStr;
            serviceClass = KAiwClassBase;
            maxProviders = 1;
            }
        };
    }

RESOURCE AIW_INTEREST r_fse_call_interest
    {
    items=
        {
        AIW_CRITERIA_ITEM 
            { 
            id = KAiwCmdCall;  // serviceCmd used here also as ID
            serviceCmd = KAiwCmdCall;
            contentType = "*";
            serviceClass = KAiwClassMenu;
            defaultProvider = 0; // Call UI
            maxProviders    = 1;
            }
        };
    }

RESOURCE CBA_BUTTON r_fse_qtn_msk_collapse
    {
    id = EFsEmailUiCmdCollapse;
    txt = qtn_msk_collapse;
    }    
RESOURCE CBA_BUTTON r_fse_qtn_msk_expand
    {
    id = EFsEmailUiCmdExpand;
    txt = qtn_msk_expand;
    }    
RESOURCE CBA_BUTTON r_fse_qtn_msk_open
    {
    id = EAknSoftkeyOpen;
    txt = qtn_msk_open;
    }    
RESOURCE CBA_BUTTON r_fse_qtn_msk_empty
    {
    id = EFsEmailUiCmdEmpty;
    txt =text_softkey_empty;
    } 
RESOURCE CBA_BUTTON r_fse_qtn_msk_open_blocked
    {
    id = EAknSoftkeyOpen;
    txt = text_softkey_empty;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_add
    {
    id = ENcsInsertContact;
    txt = qtn_msk_add;
    }    
RESOURCE CBA_BUTTON r_fse_qtn_msk_compose
    {
    id = EFsEmailUiCmdComposeTo;
    txt= qtn_msk_compose;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_call
    {
    id = EFsEmailUiCmdActionsCall;
    txt= qtn_msk_call;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_openurl
    {
    id = EFsEmailUiCmdActionsOpenWeb;
    txt= qtn_msk_openurl;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_openhtmlviewer
    {
    id = EFsEmailUiCmdActionsOpenHtmlViewer;
    txt= qtn_msk_select;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_viewattachment
    {
    id = EFsEmailUiCmdOpenAttachment;
    txt= qtn_msk_open;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_viewattachments
    {
    id = EFsEmailUiCmdOpenAttachmentList;
    txt= qtn_msk_viewattachmentlist;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_reply
    {
    id = EFsEmailUiCmdActionsReply;
    txt= qtn_msk_reply;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_viewall
    {
    id = EFsEmailUiCmdViewAll;
    txt= qtn_msk_select;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_downloadmanager
    {
    id = EFsEmailUiCmdOpenDownloadManagerView;
    txt= qtn_msk_select;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_download
    {
    id = EFsEmailUiCmdDownload;
    txt= qtn_msk_download;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_mark
    {
    id = EFsEmailUiCmdMarkMark;
    txt= qtn_msk_mark;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_unmark
    {
    id = EFsEmailUiCmdMarkUnmark;
    txt= qtn_msk_unmark;
    }
RESOURCE CBA_BUTTON r_fse_qtn_msk_change 
    {
    id = EAknSoftkeyChange;
    txt = qtn_msk_change;
    }

RESOURCE CBA_BUTTON r_fse_qtn_msk_body_menu 
    {
    id = EAknSoftkeyContextOptions;
    txt = text_softkey_option;    
    }

//------------------------------------------------------------------------------
// message query resource
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_disclaimer_message
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
    items=
        {
       DLG_LINE 
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                };
            }
        };
    }

RESOURCE DIALOG r_fse_attachment_download_progress
    {
    flags = EAknProgressNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CLOSE;
    items = 
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EAknNoteProgressBar;
            control = AVKON_NOTE
                {                
                layout = EProgressLayout;
                singular_label = "";
                imagefile = "\\system\data\avkon.mbm";
                imageid = EMbmAvkonQgn_note_progress;
                imagemask = EMbmAvkonQgn_note_progress_mask;
                };
            }
        };
    }

//
// Disclaimer dialog resources
//
RESOURCE TBUF r_disclaimer_fsemail_version
    {
    buf = qtn_disclaimer_title_version;
    }
RESOURCE TBUF r_fsemail_app_name
    {
    buf = qtn_fse_app_name;
    }

RESOURCE TBUF r_disclaimer_part_1 
    {
    buf = qtn_disclaimer_part_1;
    }

RESOURCE TBUF r_disclaimer_part_2
    {
    buf = qtn_disclaimer_part_2;
    }

RESOURCE TBUF r_disclaimer_part_3
    {
    buf = qtn_disclaimer_part_3;
    }

RESOURCE TBUF r_disclaimer_part_4 
    {
    buf = qtn_disclaimer_part_4;
    }

RESOURCE TBUF r_disclaimer_part_5 
    {
    buf = qtn_disclaimer_part_5;
    }

RESOURCE TBUF r_disclaimer_part_6 
    {
    buf = qtn_disclaimer_part_6;
    }

RESOURCE TBUF r_disclaimer_part_7
    {
    buf = qtn_disclaimer_part_7;
    }

RESOURCE TBUF r_disclaimer_part_8
    {
    buf = qtn_disclaimer_part_8;
    }

RESOURCE TBUF r_disclaimer_part_9 
    {
    buf = qtn_disclaimer_part_9;
    }

RESOURCE TBUF r_disclaimer_part_10
    {
    buf = qtn_disclaimer_part_10;
    }

RESOURCE TBUF r_disclaimer_part_11 
    {
    buf = qtn_disclaimer_part_11;
    }

RESOURCE TBUF r_fse_viewer_attachments_view_title
    {
    buf = qtn_cmail_attachments_view;
    }

RESOURCE TBUF r_mass_storage_offline
    {
    buf = qtn_fse_mass_storage_offline;
    }

RESOURCE TBUF r_delete_mailbox_query
    {
    buf = qtn_mail_launcher_settings_delete_mailbox_query;
    }

RESOURCE TBUF r_delete_multiple_mailboxes_query
    {
    buf = qtn_mail_launcher_settings_delete_multiple_mailboxes_query;
    }
    
RESOURCE TBUF r_command_area_new_email
    {
    buf = qtn_cmail_command_area_new;
    }

// -----------------------------------------------------------------------------
//   r_delete_mailboxes_multi_selection_query
//   Dialog to query mailboxes for deletion
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_delete_mailboxes_multi_selection_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtDoubleLargeGraphicPopupMenuListBox;
                listbox = AVKON_MULTISELECTION_LIST_QUERY_LIST
                    {
                    };
                heading = qtn_mail_title_delete_mailboxes;                
                };
            }
        };
    }

//------------------------------------------------------------------------------
// Stylus longtap popup menu in message list view
//------------------------------------------------------------------------------
RESOURCE STYLUS_POPUP_MENU r_stylus_popup_menu_message_list_view
    {
    items =
    {
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_fse_action_menu_delete; 		// Delete
                command = EFsEmailUiCmdActionsDelete; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_fse_action_menu_mark_unread;	// Mark as unread
                command = EFsEmailUiCmdMarkAsUnread; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_fse_action_menu_mark_read;	// Mark as read
                command = EFsEmailUiCmdMarkAsRead;
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_fse_action_menu_move_message;	// Initiates moving mail by displaying the “Move to folder view”
                command = EFsEmailUiCmdActionsMoveMessage; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_action_menu_followup;	// Initiates the follow up query
                command = EFsEmailUiCmdActionsFlag;
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_action_menu_mark;	// Marks the message, puts the list view to mark mode
                command = EFsEmailUiCmdMarkUnmarkToggle;
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_action_menu_collapse_all;	// Collapses all dividers in message list view
                command = EFsEmailUiCmdActionsCollapseAll;
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_action_menu_expand_all;	// Expands all divider in message list view
                command = EFsEmailUiCmdActionsExpandAll;
            }
        };
    }

//-----------------------------------------------------------------------------
// Stylus long tap pop-up menu in launcher grid view.
//-----------------------------------------------------------------------------
//
RESOURCE STYLUS_POPUP_MENU r_stylus_popup_menu_launcher_grid_view
    {
    items =
		{
        STYLUS_POPUP_MENU_ITEM
            {
				// Delete mailbox.
                txt = qtn_mail_options_delete_mailbox;
                command = EFsEmailUiCmdDeleteSelectedMailbox; 
            }
        };
    }


//------------------------------------------------------------------------------
// Stylus longtap popup menu in search list view
//------------------------------------------------------------------------------
RESOURCE STYLUS_POPUP_MENU r_stylus_popup_menu_search_list_view
    {
    items =
    {
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_fse_action_menu_delete;       // Delete
                command = EFsEmailUiCmdActionsDelete; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_fse_action_menu_mark_unread;  // Mark as unread
                command = EFsEmailUiCmdMarkAsUnread; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_fse_action_menu_mark_read;    // Mark as read
                command = EFsEmailUiCmdMarkAsRead;
            }
        };
    }

//------------------------------------------------------------------------------
// Stylus longtap popup menu in html viewer when pressing on an email address
//------------------------------------------------------------------------------
RESOURCE STYLUS_POPUP_MENU r_stylus_popup_menu_html_view_email_address
    {
    items =
		{
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_popup_send_email;       // Send email
                command = EFsEmailUiCmdActionsReply; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_mail_stylus_popup_add_to_contacts;  // Save to contacts
                command = EFsEmailUiCmdActionsAddContact; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
            txt = qtn_fse_viewer_options_contact_details;    // contact details
            command = EFsEmailUiCmdActionsContactDetails;
            },     
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_popup_search_server;    // Search from server
                command = EFsEmailUiCmdActionsRemoteLookup;
            },
       STYLUS_POPUP_MENU_ITEM
            {
	    txt = qtn_cmail_popup_copy_address;    // Copies the address to clipboard
	    command = EFsEmailUiCmdActionsCopyToClipboard;
	    }
        };
    }

//------------------------------------------------------------------------------
// Stylus longtap popup menu in html viewer when pressing on an attachment
//------------------------------------------------------------------------------
RESOURCE STYLUS_POPUP_MENU r_stylus_popup_menu_html_view_attachment
    {
    items =
		{	
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_popup_open;       // Open the attachment
                command = EFsEmailUiCmdOpenAttachment; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_popup_save;  // Save the attachment
                command = EFsEmailUiCmdSave; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_popup_save_all;    // Save all the attachments
                command = EFsEmailUiCmdSaveAll;
            },
	STYLUS_POPUP_MENU_ITEM
	    {
	        txt = qtn_cmail_popup_cancel_download;    // Cancel attachment downloads
                command = EFsEmailUiCmdCancelDownload;
            }
        };
    }

//------------------------------------------------------------------------------
// Stylus longtap popup menu in html viewer when pressing on a web address
//------------------------------------------------------------------------------
RESOURCE STYLUS_POPUP_MENU r_stylus_popup_menu_html_view_web_address
    {
    items =
		{	
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_popup_open;       // Opens the web page in browser
                command = EFsEmailUiCmdActionsOpenWeb; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_popup_add_bookmark;  // Add the web address to bookmarks 
                command = EFsEmailUiCmdActionsAddBookmark; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_cmail_popup_copy_address;    // Copies the address to clipboard
                command = EFsEmailUiCmdActionsCopyWWWAddressToClipboard;
            }
        };
    }

//------------------------------------------------------------------------------
// Stylus longtap popup menu in compose view (mail editor) when pressing on an attachment
//------------------------------------------------------------------------------
RESOURCE STYLUS_POPUP_MENU r_stylus_popup_menu_compose_view_attachment
    {
    items =
		{	
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_mail_stylus_popup_open;    // Open attachment
                command = EFsEmailUiCmdOpenAttachment; 
            },
        STYLUS_POPUP_MENU_ITEM
            {
                txt = qtn_mail_stylus_popup_remove;  // Remove attachment 
                command = EFsEmailUiCmdRemoveAttachment; 
            }
        };
    }

#include "FreestyleEmailUiGlobalSettings.rssi"
#include "FreestyleEmailUiSettingsList.rssi"
#include "FreestyleEmailUiSendAttachmentList.rssi"