/*
* Copyright (c) 2006-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:   This file contains all the resources for the module..
*
*/



// ========== RESOURCE IDENTIFIER ==========================

NAME    UNIE   // 4 letter id resource file. 

// ========== INCLUDE FILES ================================

#include <bldvariant.hrh>
#include <AvkonIcons.hrh>
#include <aknsconstants.hrh>

#include <eikon.rh>
#include <avkon.rh>
#include <MsgEditor.rh>
#include <avkon.hrh>

#include <avkon.rsg>
#include <avkon.mbg>

#include <mtud.rh>
#include <MtmExtendedCapabilities.hrh>

#include <avkon.loc>
#include <drmcommon.loc>
#include <messaging.loc>

#include <appinfo.rh>
#include <data_caging_paths_strings.hrh>

#include <muiusettingsarray.rh>

#include "UniEditorApp.hrh"
#include <unieditor.loc>
#include <muiu.mbg>

#include <MsgEditor.hrh>  
 
// ========== CONSTANTS ====================================

// ========== MACROS =======================================

// ========== RESOURCE DEFINITIONS =========================

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = ""; }

// ---------------------------------------------------------
//   
//    eik_app_info
//    Application resource info
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    menubar      = r_unieditor_menubar;
    cba          = r_unieditor_options_close;
    status_pane  = r_unieditor_status_pane;
    }

// ---------------------------------------------------------
//   
//    r_unieditor_localisable_app_info
//    Application resource info
//
// ---------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_unieditor_localisable_app_info
    {
    short_caption = qtn_apps_unieditor_grid;
    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = qtn_apps_unieditor_list;
        number_of_icons = 1;
          icon_file = APP_BITMAP_DIR"\\unieditor_aif.mif";
        };
    }

// ---------------------------------------------------------
//   
//    r_unieditor_status_pane
//    Status pane resource
//
// ---------------------------------------------------------
// 
RESOURCE STATUS_PANE_APP_MODEL r_unieditor_status_pane
{
    panes=
        {
        SPANE_PANE
            {
            id = EEikStatusPaneUidTitle;
            type = EAknCtTitlePane;
            resource = r_unieditor_app_name;
            }
        };
}

// ---------------------------------------------------------
//   
//    r_unieditor_app_name
//    Title pane resource
//
// ---------------------------------------------------------
// 
RESOURCE TITLE_PANE r_unieditor_app_name
    {
    txt = qtn_msg_title_message;
    }

//----------------------------------------------------
//   
//    r_unieditor_title_sms
//    r_unieditor_title_mms
//    r_unieditor_title
//       - texts to be shown in title pane
//
//----------------------------------------------------

RESOURCE TBUF r_unieditor_title_sms
    {
    buf = qtn_msg_title_sms_message;
    }

RESOURCE TBUF r_unieditor_title_mms
    {
    buf = qtn_msg_title_mms_message;
    }

RESOURCE TBUF r_unieditor_title
    {
    buf = qtn_msg_title_message;
    }

//----------------------------------------------------
//   
//    r_unieditor_navipane_sms
//    r_unieditor_navipane_mms
//       - texts to be shown as message lengths in navipane
//
//----------------------------------------------------

RESOURCE TBUF r_unieditor_sms_length
    {
    buf = qtn_sms_message_length;
    }

RESOURCE TBUF r_unieditor_mms_length
    {
    buf = qtn_size_kb_with_one_decimal;
    }


//////////////////////////////////
//
//  MAIN VIEW


// ---------------------------------------------------------
//   
//    r_unieditor_to - MSG_EDITOR_ADDRESS_CONTROL
//
// ---------------------------------------------------------
//
RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_unieditor_to
    {
    prompt      = qtn_msg_to;
    id          = EMsgComponentIdTo;
    distance    = 0;

    default_case            = EAknEditorLowerCase;
    allowed_case_modes      = EAknEditorAllCaseModes;
    default_input_mode      = EAknEditorNumericInputMode;
    allowed_input_modes     = EAknEditorTextInputMode | EAknEditorNumericInputMode;
    numeric_keymap          = EAknEditorStandardNumberModeKeymap;
    avkon_flags             = EAknEditorFlagNoT9 | EAknEditorFlagUseSCTNumericCharmap;
    }

// ---------------------------------------------------------
//   
//    r_unieditor_cc - CMsgEditorAddressControl
//
// ---------------------------------------------------------
//
RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_unieditor_cc
    {
    prompt      = qtn_msg_cc;
    id          = EMsgComponentIdCc;
    distance    = 0;

    default_case            = EAknEditorLowerCase;
    allowed_case_modes      = EAknEditorAllCaseModes;
    default_input_mode      = EAknEditorNumericInputMode;
    allowed_input_modes     = EAknEditorTextInputMode | EAknEditorNumericInputMode;
    numeric_keymap          = EAknEditorStandardNumberModeKeymap;
    avkon_flags             = EAknEditorFlagNoT9 | EAknEditorFlagUseSCTNumericCharmap;
    }

// ---------------------------------------------------------
//   
//    r_unieditor_cc - CMsgEditorAddressControl
//
// ---------------------------------------------------------
//
RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_unieditor_bcc
    {
    prompt      = qtn_msg_bcc;
    id          = EMsgComponentIdBcc;
    distance    = 0;

    default_case            = EAknEditorLowerCase;
    allowed_case_modes      = EAknEditorAllCaseModes;
    default_input_mode      = EAknEditorNumericInputMode;
    allowed_input_modes     = EAknEditorTextInputMode | EAknEditorNumericInputMode;
    numeric_keymap          = EAknEditorStandardNumberModeKeymap;
    avkon_flags             = EAknEditorFlagNoT9 | EAknEditorFlagUseSCTNumericCharmap;
    }

// ---------------------------------------------------------
//   
//    r_univiewer_subject - CMsgEditorExpandableControl
//    Subject control
//
// ---------------------------------------------------------
//
RESOURCE MSG_EDITOR_EXPANDABLE_CONTROL r_unieditor_subject
    {
    prompt = qtn_msg_subject;
    id = EMsgComponentIdSubject;
    distance = 0;

    maxchars = 40;
    default_case            = EAknEditorTextCase;
    allowed_case_modes      = EAknEditorAllCaseModes;
    default_input_mode        = EAknEditorTextInputMode;
    allowed_input_modes     = EAknEditorTextInputMode | EAknEditorNumericInputMode;
    numeric_keymap          = EAknEditorStandardNumberModeKeymap;
    avkon_flags                = EAknEditorFlagUseSCTNumericCharmap;
    }

//----------------------------------------------------
//   
//    r_unieditor_toolbar - CAknToolbar
//    UniEditor fixed toolbar
//
//----------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_unieditor_toolbar
    {
    flags = KAknToolbarFixed;
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EUniCmdFixedToolbarSend;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText; 
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_msg_tb_tooltip_send;
                        bmpfile = BITMAP_DIR"\\muiu.mif";
                        bmpid = EMbmMuiuQgn_indi_tb_msg_send;
                        bmpmask = EMbmMuiuQgn_indi_tb_msg_send_mask;
                        extension = r_unieditor_send_button_state_extension; 
                        }  
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EUniCmdFixedToolbarAddRecipient;
            control = AVKON_BUTTON
                {
                flags = KAknButtonSizeFitText; 
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_msg_tb_tooltip_add_recipient;
                        bmpfile = BITMAP_DIR"\\muiu.mif";
                        bmpid = EMbmMuiuQgn_indi_tb_add_recipient;
                        bmpmask = EMbmMuiuQgn_indi_tb_add_recipient_mask;
                        extension = r_unieditor_add_recipient_button_state_extension; 
                        }  
                    };            
                };
            },
        TBAR_CTRL
            {
            type = EAknCtToolbarExtension;
            id = EUniCmdFixedToolbarInsert;
            control = AVKON_TOOLBAR_EXTENSION
                {
                helptxt = qtn_msg_tb_tooltip_insert;
                bmpFile = BITMAP_DIR"\\muiu.mif";
                bmpId = EMbmMuiuQgn_indi_tb_expand_insert;
                bmpMask = EMbmMuiuQgn_indi_tb_expand_insert_mask;
                bmpSkinIdMajor = EAknsMajorGeneric;
                bmpSkinIdMinor = EAknsMinorGenericQgnIndiTbExpandInsert;
                items =
                    {
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtInsertImage;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_image;
                                    helptxt = qtn_msg_insert_tb_tooltip_image;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_mce_tb_image;
                                    bmpmask = EMbmMuiuQgn_indi_mce_tb_image_mask;
                                    extension = r_unieditor_image_button_state_extension; 
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtInsertVideo;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_video;
                                    helptxt = qtn_msg_insert_tb_tooltip_video;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_mce_tb_video;
                                    bmpmask = EMbmMuiuQgn_indi_mce_tb_video_mask;
                                    extension = r_unieditor_video_button_state_extension; 
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtInsertAudio;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_sound;
                                    helptxt = qtn_msg_insert_tb_tooltip_sound;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_mce_tb_audio;
                                    bmpmask = EMbmMuiuQgn_indi_mce_tb_audio_mask;
                                    extension = r_unieditor_sound_button_state_extension; 
                                    }  
                                };            
                            };
                        },        
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtNewImage;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_new_image;
                                    helptxt = qtn_msg_insert_tb_tooltip_new_image;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_tb_camera;
                                    bmpmask = EMbmMuiuQgn_indi_tb_camera_mask;
                                    extension = r_unieditor_new_image_button_state_extension; 
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtNewVideo;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_new_video;
                                    helptxt = qtn_msg_insert_tb_tooltip_new_video;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_tb_camcorder;
                                    bmpmask = EMbmMuiuQgn_indi_tb_camcorder_mask;
                                    extension = r_unieditor_new_video_button_state_extension; 
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtNewAudio;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_new_sound;
                                    helptxt = qtn_msg_insert_tb_tooltip_new_sound;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_tb_microphone_unmute;
                                    bmpmask = EMbmMuiuQgn_indi_tb_microphone_unmute_mask;
                                    extension = r_unieditor_new_sound_button_state_extension; 
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtInsertSlide;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_slide;
                                    helptxt = qtn_msg_insert_tb_tooltip_slide;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_tb_slide;
                                    bmpmask = EMbmMuiuQgn_indi_tb_slide_mask;
                                    extension = r_unieditor_slide_button_state_extension; 
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtInsertTemplate;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_template;
                                    helptxt = qtn_msg_insert_tb_tooltip_template;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_tb_template;
                                    bmpmask = EMbmMuiuQgn_indi_tb_template_mask;
                                    extension = r_unieditor_template_button_state_extension; 
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtInsertNote;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_note;
                                    helptxt = qtn_msg_insert_tb_tooltip_note;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_tb_note;
                                    bmpmask = EMbmMuiuQgn_indi_tb_note_mask;
                                    extension = r_unieditor_note_button_state_extension; 
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtInsertvCard;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_vcard;
                                    helptxt = qtn_msg_insert_tb_tooltip_vcard;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_tb_business_card;
                                    bmpmask = EMbmMuiuQgn_indi_tb_business_card_mask;
                                    extension = r_unieditor_vcard_button_state_extension; 
                                    }  
                                };            
                            };
                        },
                    TBAR_CTRL
                        {
                        type = EAknCtButton;
                        id = EUniCmdFixedToolbarExtOther;
                        control = AVKON_BUTTON
                            {
                            flags = KAknButtonSizeFitText; 
                            states =
                                {
                                AVKON_BUTTON_STATE
                                    {
                                    txt = qtn_msg_insert_tb_other;
                                    helptxt = qtn_msg_insert_tb_tooltip_other;
                                    bmpfile = BITMAP_DIR"\\muiu.mif";
                                    bmpid = EMbmMuiuQgn_indi_mce_tb_other;
                                    bmpmask = EMbmMuiuQgn_indi_mce_tb_other_mask;
                                    extension = r_unieditor_other_button_state_extension; 
                                    }  
                                };            
                            };
                        }
                    };
                };
            }
        };
    }

// BUTTON STATE EXTENSION

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_send_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMsgSend; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_add_recipient_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbAddRecipient; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_image_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiMceTbImage; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_video_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiMceTbVideo; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_sound_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiMceTbAudio; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_new_image_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbCamera; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_new_video_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbCamcorder; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_new_sound_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMicrophoneUnmute; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_slide_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbSlide; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_template_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbTemplate; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_note_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbNote; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_pres_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiMceTbPres; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_vcard_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbBusinessCard; 
    } 

RESOURCE AVKON_BUTTON_STATE_EXTENSION r_unieditor_other_button_state_extension 
    { 
    bmbSkinIdMajor= EAknsMajorGeneric; 
    bmbSkinIdMinor= EAknsMinorGenericQgnIndiMceTbOther; 
    } 

//-----------------------------------------------------------------------------
//
//    r_unieditor_select_hide
//    Toolbar softkeys.
//
//-----------------------------------------------------------------------------
//
RESOURCE CBA r_unieditor_select_hide
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = text_softkey_select;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyClose;
            txt = qtn_softkey_hide;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = text_softkey_select;
            }
        };
    }

// ---------------------------------------------------------
//   
//    r_unieditor_menubar - menubar
//    Main views options menu
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_unieditor_menubar
    {
    titles =
        {
        MENU_TITLE  { menu_pane = r_unieditor_main_menu; } 
        };
    }


// ---------------------------------------------------------
//   
//    r_unieditor_main_menu - menupane
//    Main views options menu items
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_unieditor_main_menu
    {
    items = 
        {
        MENU_ITEM   { command = EUniCmdSendSMS;         txt = qtn_msg_om_send_sms; }
        ,
        MENU_ITEM   { command = EUniCmdSendMMS;         txt = qtn_msg_om_send_mms; }
        ,
        MENU_ITEM   { command = EUniCmdPlayPreview;     txt = qtn_drm_options_play_preview; }
        ,
        MENU_ITEM   { command = EUniCmdAddRecipient;    txt = qtn_msg_om_add_recipient; }
        ,
        MENU_ITEM   { command = EUniCmdInsertMedia;     txt = qtn_msg_om_insert; }
        ,
        MENU_ITEM   { command = EUniCmdInsertSubmenu;   txt = qtn_msg_om_insert_submenu;
                      cascade = r_unieditor_insert_submenu; }
        ,                      
        MENU_ITEM   { command = EUniCmdRemoveSubmenu;   txt = qtn_mms_om_remove;
                      cascade = r_unieditor_remove_submenu; }
        ,
        MENU_ITEM   { command = EUniCmdPlaceTextFirst;  txt = qtn_mms_om_order_text_first; }
        ,
        MENU_ITEM   { command = EUniCmdPlaceTextSecond; txt = qtn_mms_om_order_text_second; }
        ,
        MENU_ITEM   { command = EUniCmdSelectPage;        txt = qtn_msg_om_select_page; }
        ,
        MENU_ITEM   { command = EUniCmdMovePage;        txt = qtn_mms_om_move_page; }
        ,
        MENU_ITEM   { command = EUniCmdAddHeaders;      txt = qtn_msg_om_change_headers; }
        ,
        MENU_ITEM   { command = EUniCmdObjects;         txt = qtn_mms_om_objects; }
        ,
        MENU_ITEM   { command = EUniCmdSendingOptions;  txt = qtn_mms_om_sending_options; }
        ,
        MENU_ITEM   { command = EUniCmdChangePriority;  txt = qtn_msg_om_priority;  }
        ,
        MENU_ITEM   { command = EUniCmdMessageInfo;     txt = qtn_msg_om_message_info; }
        ,
        MENU_ITEM   { command = EUniEditorSubmenuZoomCommands;  
                        txt = qtn_options_text_size;
                        cascade = r_unieditor_zoom_submenu;
                    },
        MENU_ITEM   { command = EAknCmdHelp;            txt = qtn_options_help; }
        ,
        MENU_ITEM   { command = EAknCmdExit;            txt = qtn_options_exit; }       
        };
    }
    
//----------------------------------------------------
//
//    r_unieditor_zoom_submenu - menupane
//    text zoom level
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_unieditor_zoom_submenu
    {
    items=
        {
        MENU_ITEM   
            { 
            command = EMsgDispSizeAutomatic; 
            txt = qtn_options_auto;
            flags = EEikMenuItemRadioStart;
            },
        MENU_ITEM   
            { 
            command = EMsgDispSizeLarge; 
            txt = qtn_options_large;
            flags = EEikMenuItemRadioMiddle;
            },
        MENU_ITEM   
            { 
            command = EMsgDispSizeNormal; 
            txt = qtn_options_normal;
            flags = EEikMenuItemRadioMiddle;
            },
        MENU_ITEM   
            {
            command = EMsgDispSizeSmall;
            txt = qtn_options_small;
            flags = EEikMenuItemRadioEnd;
            }
        }; 
    }


//---------------------------------------------------------
//   
//    r_unieditor_remove_submenu - menupane
//    Main views Options menu's submenu containing multimedia item
//    remove.
//
//---------------------------------------------------------
//
RESOURCE MENU_PANE r_unieditor_remove_submenu
    {
    items =
        {
        MENU_ITEM   { command = EUniCmdRemoveImage;     txt = qtn_mms_sm_remove_image; }
        ,
        MENU_ITEM   { command = EUniCmdRemoveAudio;     txt = qtn_mms_sm_remove_audio; }
        ,
        MENU_ITEM   { command = EUniCmdRemoveVideo;     txt = qtn_mms_sm_remove_video; }
        ,
        MENU_ITEM   { command = EUniCmdRemovePres;      txt = qtn_mms_sm_remove_presentation; }
        ,
        MENU_ITEM   { command = EUniCmdRemoveSvg;       txt = qtn_mms_sm_remove_presentation; }
        ,
        MENU_ITEM   { command = EUniCmdRemoveText;      txt = qtn_mms_sm_remove_text; }
        ,
        MENU_ITEM   { command = EUniCmdRemovePage;      txt = qtn_mms_sm_remove_page; }
        };
    }

//---------------------------------------------------------
//   
//    r_unieditor_insert_submenu - menupane
//    Main views Options menu's submenu containing insert text possibilities
//    Used only in locked SMS mode.
//
//---------------------------------------------------------
//
RESOURCE MENU_PANE r_unieditor_insert_submenu
    {
    items =
        {
        MENU_ITEM   { command = EUniCmdInsertNote;              txt = qtn_mail_sm_insert_note; }
        ,
        MENU_ITEM   { command = EUniCmdInsertTemplateText;      txt = qtn_mail_sm_insert_template_text; }
        };
    }

// ---------------------------------------------------------
//   
//    r_unieditor_context_menubar - menubar
//    Context Sensitive menubar
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_unieditor_context_menubar
    {
    titles =
        {
        MENU_TITLE  { menu_pane = r_unieditor_context_menu; } 
        };
    }

//---------------------------------------------------------
//   
//    r_unieditor_context_menu - menupane
//    Context Sensitive menu.
//
//---------------------------------------------------------
//
RESOURCE MENU_PANE r_unieditor_context_menu
    {
    items =
        {
        MENU_ITEM   { command = EUniCmdSendSMS;         txt = qtn_msg_om_send_sms; }
        ,
        MENU_ITEM   { command = EUniCmdSendMMS;         txt = qtn_msg_om_send_mms; }
        ,
        MENU_ITEM   { command = EUniCmdInsertMedia;     txt = qtn_msg_om_insert; }
        ,
        MENU_ITEM   { command = EUniCmdSelectPage;     txt = qtn_msg_om_select_page; }
        ,
        MENU_ITEM   { command = EUniCmdAddRecipient;    txt = qtn_msg_om_add_recipient; }
        };
    }

//////////////////////////////////
//
// "Templates" for notes.
//
//
RESOURCE DIALOG r_unieditor_wait_note
    {
    flags   = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_EMPTY;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtNote;
            id      = EUniWaitNoteId;
            control = AVKON_NOTE
                {
                layout         = EWaitLayout;
                animation      = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }

RESOURCE DIALOG r_unieditor_wait_note_mms_icon
    {
    flags   = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_EMPTY;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtNote;
            id      = EUniWaitNoteId;
            control = AVKON_NOTE
                {
                layout         = EWaitLayout;
                animation      = R_QGN_GRAF_WAIT_BAR_ANIM;
                imagefile   = AVKON_ICON_FILE;
                imageid     = EMbmAvkonQgn_note_mms;
                imagemask   = EMbmAvkonQgn_note_mms_mask;
                };
            }
        };
    }

RESOURCE DIALOG r_unieditor_wait_note_sms_icon
    {
    flags   = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_EMPTY;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtNote;
            id      = EUniWaitNoteId;
            control = AVKON_NOTE
                {
                layout         = EWaitLayout;
                animation      = R_QGN_GRAF_WAIT_BAR_ANIM;
                imagefile   = AVKON_ICON_FILE;
                imageid     = EMbmAvkonQgn_note_message;
                imagemask   = EMbmAvkonQgn_note_message_mask;
                };
            }
        };
    }

// YES-NO Confirmation query
RESOURCE DIALOG r_unieditor_confirmation_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
    items=
        {
        DLG_LINE
            {
            type    = EAknCtQuery;
            id      = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY 
                { 
                layout  = EConfirmationLayout;
                label   = "";
                };
            }
        };
    }
    
// OK-CANCEL Confirmation query
RESOURCE DIALOG r_unieditor_confirmation_no_question_query
    {
    flags    = EGeneralQueryFlags;
    buttons  = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtQuery;
            id      = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout = EConfirmationQueryLayout;
                };
            }
        };
    }
    
// OK-EMPTY Confirmable note
RESOURCE DIALOG r_unieditor_confirmable_info
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
    items=
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                { 
                layout = EConfirmationLayout;
                label = "";
                animation = R_QGN_NOTE_INFO_ANIM;
                };
            }
        };
    }

// OK-EMPTY Confirmable note with error icon
RESOURCE DIALOG r_unieditor_confirmable_info_error
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
    items=
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                { 
                layout = EConfirmationLayout;
                label = "";
                animation = R_QGN_NOTE_ERROR_ANIM;
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_unieditor_options_close
//    Editor softkeys.
//
//-----------------------------------------------------------------------------
//
RESOURCE CBA r_unieditor_options_close
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyClose;
            txt = text_softkey_close;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            }
        };
    }

RESOURCE TBUF r_unieditor_info_deleted { buf = qtn_sms_info_deleted; }
RESOURCE TBUF r_unieditor_saving_message_new { buf = qtn_wait_saving_message_new; }
RESOURCE TBUF r_unieditor_saving_message { buf = qtn_wait_saving_message; }


// WAIT NOTES

RESOURCE TBUF r_qtn_msg_wait_sending_mms
    {
    buf = qtn_msg_wait_sending_mms;    
    }

RESOURCE TBUF r_qtn_msg_wait_sending_sms
    {
    buf = qtn_msg_wait_sending_sms;
    }

RESOURCE TBUF r_qtn_wait_msg_saved_outbox
    {
    // From Messaging.loc
    buf = qtn_wait_offline_outbox;
    }

RESOURCE TBUF r_qtn_uni_wait_inserting
    {
    buf = qtn_gen_note_inserting;
    }

RESOURCE TBUF r_qtn_uni_wait_opening_editor
    {
    buf = qtn_mms_wait_opening_editor;
    }

RESOURCE TBUF r_qtn_uni_wait_saving_message_new
    {
    buf = qtn_mms_wait_saving_message_new;
    }

RESOURCE TBUF r_qtn_uni_wait_saving_message
    {
    buf = qtn_mms_wait_saving_message;
    }

RESOURCE TBUF r_qtn_uni_wait_slide_change
    {
    buf = qtn_mms_wait_opening_page;
    }

//////////////////////////////////
//
//  INFORMATION AND CONFIRMATION NOTES
//

RESOURCE TBUF r_unieditor_send_big_text 
    { 
    buf = qtn_mms_info_fail_msg_too_big;    // Takes 1 parameter
    }
    
RESOURCE TBUF r_unieditor_info_scaling_failed
    {
    buf = qtn_mms_info_scaling_failed;
    }

RESOURCE TBUF r_unieditor_info_rmode_scaling_failed
    {
    buf = qtn_mms_info_rmode_scaling_failed;
    }

RESOURCE TBUF r_unieditor_info_object_too_big
    {
    buf = qtn_mms_info_not_inserted;
    }

RESOURCE TBUF r_unieditor_info_object_send_as_too_big
    {
    buf = qtn_mms_info_all_not_inserted;
    }

RESOURCE TBUF r_unieditor_info_unsupported_object 
    {
    buf = qtn_mms_info_object_not_supported;
    }

RESOURCE TBUF r_unieditor_info_rmode_unsupported_object 
    {
    buf = qtn_mms_info_rmode_object_not_supported;
    }

RESOURCE TBUF r_unieditor_info_unsupported_objects 
    {
    buf = qtn_mms_info_objects_not_supported;
    }

RESOURCE TBUF r_unieditor_info_rmode_unsupported_objects 
    {
    buf = qtn_mms_info_rmode_objects_not_supported;
    }

RESOURCE TBUF r_unieditor_info_some_not_supported 
    {
    buf = qtn_mms_info_some_not_supported;
    }

RESOURCE TBUF r_unieditor_info_rmode_some_not_supported 
    {
    buf = qtn_mms_info_rmode_some_not_supported;
    }


RESOURCE TBUF r_unieditor_info_send_forbid
    {
    buf = qtn_drm_send_forbid;
    }

RESOURCE TBUF r_unieditor_info_send_forbid_1
    {
    buf = qtn_drm_send_forbid_1;
    }

RESOURCE TBUF r_unieditor_error_msg_corrupt
    {
    // From Messaging.loc
    buf = qtn_msg_err_cannot_open_msg;
    }

RESOURCE TBUF r_unieditor_conf_texts_first
    {
    buf = qtn_mms_conf_texts_first;
    }

RESOURCE TBUF r_unieditor_conf_texts_second
    {
    buf = qtn_mms_conf_texts_second;
    }

RESOURCE TBUF r_unieditor_max_recipients_reached
    {
    buf = qtn_msg_info_max_number_recip;    
    }

RESOURCE TBUF r_unieditor_max_recipients_exceeded_1
    {
    buf = qtn_msg_query_remove_recipient;
    }

RESOURCE TBUF r_unieditor_max_recipients_exceeded_many
    {
    buf = qtn_msg_query_remove_recipients;
    }

RESOURCE TBUF r_unieditor_info_max_slides_all
   {
   buf = qtn_mms_info_not_inserted_slides;
   }

RESOURCE TBUF r_unieditor_info_max_slides_some
   {
   buf = qtn_mms_info_all_not_inserted_slides;
   }


//////////////////////////////////
//
//  QUERY DIALOGS

RESOURCE TBUF r_unieditor_quest_remove_template
    {
    buf = qtn_mms_quest_remove_presentation;
    }


RESOURCE TBUF r_unieditor_quest_send_forbid
    {
    buf = qtn_drm_query_send_forbid;
    }

RESOURCE TBUF r_unieditor_quest_remove_page
    {
    buf = qtn_mms_quest_remove_page;
    }

RESOURCE TBUF r_unieditor_quest_remove_text
    {
    buf = qtn_mms_quest_remove_text;
    }

RESOURCE TBUF r_unieditor_quest_remove_common
    {
    buf = qtn_query_common_conf_remove;
    }

RESOURCE TBUF r_unieditor_quest_send_wo_rights
    {
    buf = qtn_drm_send_wo_rights_sd_1;
    }

RESOURCE TBUF r_unieditor_quest_close_ood
    {
    // From Messaging.loc
    buf = qtn_mail_close_nosave;
    }

RESOURCE TBUF r_unieditor_quest_guided_obj
    {
    buf = qtn_mms_conf_guided_object;
    }

RESOURCE TBUF r_unieditor_quest_guided_objs
    {
    buf = qtn_mms_conf_guided_objects;
    }

RESOURCE TBUF r_unieditor_quest_guided_inc_obj
    {
    buf = qtn_mms_conf_guid_incl_object;
    }

RESOURCE TBUF r_unieditor_quest_guided_inc_objs
    {
    buf = qtn_mms_conf_guid_incl_objects;
    }

RESOURCE TBUF r_unieditor_quest_guided_presentation
    {
    buf = qtn_mms_conf_guid_present;
    }

RESOURCE TBUF r_unieditor_quest_insert_large
    {
    buf = qtn_mms_qry_insert_large;
    }

RESOURCE TBUF r_unieditor_error_cannot_open
    {
    buf = qtn_mms_info_cannot_open_msg;
    }

RESOURCE TBUF r_unieditor_error_rmode_cannot_open
    {
    buf = qtn_mms_info_rmode_cannot_open_msg;
    }

RESOURCE TBUF r_unieditor_cannot_open_corrupt
    {
    buf = qtn_mms_cannot_open_corrupted;
    }

// Max sms text len exceeded
RESOURCE TBUF r_unieditor_sms_length_exceeded
    {
    buf = qtn_sms_info_max_length_reached;
    }

RESOURCE TBUF r_unieditor_sms_length_exceeded_1
    {
    buf = qtn_sms_info_too_long1;
    }

RESOURCE TBUF r_unieditor_sms_length_exceeded_many
    {
    buf = qtn_sms_info_too_long;
    }

RESOURCE TBUF r_unieditor_sms_send_multiple_parts
    {
    buf = qtn_sms_quest_send;
    }

RESOURCE TBUF r_unieditor_sms_length_exceeded_many_unicode
    {
    buf = qtn_sms_info_too_long_u;
    }

RESOURCE TBUF r_unieditor_video_converted
    {
    buf = qtn_unified_video_converted;
    }    

RESOURCE TBUF r_unieditor_msg_type_changed_while_sending
	{
	buf = qtn_msg_type_changed_continue_sending;
	}    


//
// Additional headers list query
//
RESOURCE CBA r_uni_softkeys_ok_cancel
    {
    buttons =
        {
        // replace EAknSoftkeyOk with EAknSoftkeySelect to prevent list box 
        // "force selection"
        CBA_BUTTON {id=EAknSoftkeySelect; txt= text_softkey_ok;},
        CBA_BUTTON {id=EAknSoftkeyCancel; txt= text_softkey_cancel;},
        CBA_BUTTON {id=EAknSoftkeyMark; txt=qtn_msk_mark;}
        };
    }

RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_unieditor_add_headers_list_query
    {
    flags = EGeneralQueryFlags;
    softkeys = r_uni_softkeys_ok_cancel;
    items =
        {
        AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSingleGraphicPopupMenuListBox;
                listbox = AVKON_MULTISELECTION_LIST_QUERY_LIST
                    {
                    flags = EAknListBoxStylusMultiselectionList;
                    array_id = 0;
                    };
                heading = qtn_msg_prompt_headers;
                };
            }
        };
    }
    
//
// "Move page" list query
//
RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_unieditor_move_list_query
    {
    flags = EGeneralQueryFlags;
    softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
    items =
        {
        AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    array_id = 0;
                    };
                heading = qtn_mms_quest_move_title;
                };
            }
        };
    }

//
// "Insert other" list query
//
RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_unieditor_insert_other_query
    {
    flags = EGeneralQueryFlags;
    softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
    items =
        {
        AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    array_id = r_unieditor_insert_other_query_array;
                    };
                heading = qtn_msg_insert_others_title;
                };
            }
        };
    }

RESOURCE ARRAY r_unieditor_insert_other_query_array
    {
    items=
        {
        /*LBUF { txt = qtn_msg_insert_presentation_from_gallery; },*/
        LBUF { txt = qtn_msg_insert_qry_note_as_attachment; },
        LBUF { txt = qtn_msg_insert_other_files; }
        };
    }

//
// "Insert" list query
//
RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_unieditor_insert_query
    {
    flags = EGeneralQueryFlags;
    softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
    items =
        {
        AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    array_id = r_unieditor_insert_query_array;
                    };
                heading = qtn_msg_insert_title;
                };
            }
        };
    }

RESOURCE ARRAY r_unieditor_insert_query_array
    {
    items=
        {
        LBUF { txt = qtn_msg_insert_qry_image; },
        LBUF { txt = qtn_msg_insert_qry_new_image; },
        LBUF { txt = qtn_msg_insert_qry_video; },
        LBUF { txt = qtn_msg_insert_qry_new_video; },
        LBUF { txt = qtn_msg_insert_qry_sound; },
        LBUF { txt = qtn_msg_insert_qry_new_sound; },
        LBUF { txt = qtn_msg_insert_qry_vcard; },
        LBUF { txt = qtn_msg_insert_qry_slide; },
        LBUF { txt = qtn_msg_insert_note_as_text; },
        LBUF { txt = qtn_msg_insert_qry_note_as_attachment; },
        LBUF { txt = qtn_msg_insert_qry_template; },
        /*LBUF { txt = qtn_msg_insert_qry_presentation_from_gallery; },*/
        LBUF { txt = qtn_msg_insert_qry_other_files; }
        };
    }

//
// An entry in the "Move page" list query
//
RESOURCE TBUF r_unieditor_move_page      { buf = qtn_mms_quest_move_page; }

// Additional headers:
// confirmation notes
RESOURCE TBUF r_unieditor_qtn_msg_qry_header_remove     { buf = qtn_msg_qry_header_remove; }
RESOURCE TBUF r_unieditor_qtn_msg_qry_headers_remove    { buf = qtn_msg_qry_headers_remove; }
// field labels
RESOURCE TBUF r_unieditor_qtn_msg_headers_cc        { buf = qtn_msg_headers_cc; }
RESOURCE TBUF r_unieditor_qtn_msg_headers_bcc       { buf = qtn_msg_headers_bcc; }
RESOURCE TBUF r_unieditor_qtn_msg_headers_subject   { buf = qtn_msg_headers_subject; }

// Attachment added popup
RESOURCE TBUF r_unieditor_qtn_unified_attachment_added 
    {
    buf = qtn_unified_attachment_added;
    }

RESOURCE TBUF r_unieditor_qtn_unified_attachments_added 
    {
    buf = qtn_unified_attachments_added;
    }

RESOURCE TBUF r_unieditor_popup_msg_changed_mms
    {
    buf = qtn_info_popup_msg_changed_mms;
    }

RESOURCE TBUF r_unieditor_popup_msg_changed_sms
    {
    buf = qtn_info_popup_msg_changed_sms;
    }

// Priority title
RESOURCE TBUF r_unieditor_priority_title 
    {
    buf = qtn_msg_qry_priority;
    }

// The sending settings related stuff here

// Settings dialog title
RESOURCE TBUF r_uni_settings_title_text { buf = qtn_mms_title_sending_options ; }


// Sending settings dialog
RESOURCE DIALOG r_uni_sendingsettings_dialog
    {
    flags = EEikDialogFlagWait | EEikDialogFlagNotifyEsc | EEikDialogFlagCbaButtons | 
            EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagNoShadow | 
            EEikDialogFlagNoBorder | EEikDialogFlagFillAppClientRect;

    buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    items =
        {
        DLG_LINE
            {
            type=EAknCtSettingListBox;
            itemflags=EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            id=EDlgSettingListBox;
            control=LISTBOX
                {
                flags = 0;
                height = 3;
                width = 256;
                };
            }
        };
    }

// Sendingsettings menu bar + pane
RESOURCE MENU_BAR r_uni_sendingsettings_dialog_menubar
    {
    titles = { MENU_TITLE { menu_pane=r_uni_sendingsettings_dialog_menupane ; txt=""; } };
    }

RESOURCE MENU_PANE r_uni_sendingsettings_dialog_menupane
    {
    items =
        {
        MENU_ITEM 
            { 
            command = EChangeItem;
            txt = qtn_mce_settings_change;
            flags = EEikMenuItemAction;
            },

        MENU_ITEM
            {       
            command = EAknCmdHelp;
            txt = qtn_options_help; 
            },

        MENU_ITEM 
            { 
            command = EExitItem; 
            txt = qtn_options_exit;
            } 
        };
    }

RESOURCE AVKON_SETTING_PAGE r_uni_setting_page
    { 
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    menubar = R_AVKON_MENUPANE_EMPTY;
    type = EAknSetListBox;
    editor_resource_id = r_uni_settings_listbox_list;
    }

RESOURCE LISTBOX r_uni_settings_listbox_list
    {
    flags = EEikListBoxMultipleSelection;
    height = 8; 
    }

// Sending settings dialog listbox items used
RESOURCE MUIU_SETTINGS_ARRAY r_uni_sendingsettings_items
    {
    items =
        {
        MUIU_SETTINGS_ITEM
            {
            title = qtn_msg_ed_setting_msg_type;
            type = EMuiuSettingsSelectionList;
            array_id = r_uni_setting_message_type_list;
            },
        MUIU_SETTINGS_ITEM
            {
            title = qtn_msg_sett_sms_chars;
            type = EMuiuSettingsSelectionList;
            array_id= r_uni_setting_character_support_list;
            }
        };
    }

// Used by delivery report, reply via same center
RESOURCE ARRAY r_uni_setting_yes_no_list
    {
    items =
        {
        LBUF {txt=qtn_mce_settings_mms_yes; },
        LBUF {txt=qtn_mce_settings_mms_no; }        
        };
    }

RESOURCE ARRAY r_uni_priority_list
    {
    items=
        {
        LBUF {txt=qtn_msg_qry_high_priority; },
          LBUF {txt=qtn_msg_qry_normal_priority; },
        LBUF {txt=qtn_msg_qry_low_priority; }
        };
    }

RESOURCE ARRAY r_uni_setting_message_type_list
    {
    items=
        {
        LBUF {txt=qtn_msg_setting_auto_type; },
        LBUF {txt=qtn_mce_settings_sms_none; },
        LBUF {txt=qtn_msg_setting_mms_type; },
        LBUF {txt=qtn_mce_settings_sms_fax; },
        LBUF {txt=qtn_mce_settings_sms_paging; }
        };
    }

RESOURCE ARRAY r_uni_setting_character_support_list
    {
    items=
        {
        LBUF {txt=qtn_mce_sett_sms_chars_full; },
        LBUF {txt=qtn_mce_sett_sms_chars_reduced; }
        };
    }

RESOURCE TBUF r_uni_move_page_title
    {
    buf = qtn_msg_move_page_title;
    }

RESOURCE TBUF r_uni_select_page_title
    {
    buf = qtn_msg_select_page_title;
    }


// MSK resources

RESOURCE CBA_BUTTON r_uni_msk_button_add
    {
    id = EUniCmdAddRecipientMSK;
    txt = qtn_msk_add;
    }

RESOURCE CBA_BUTTON r_uni_msk_button_play_pres
    {
    id = EUniCmdPlayPres;
    txt = qtn_msk_play;
    }


RESOURCE CBA_BUTTON r_uni_msk_button_play_svg
    {
    id = EUniCmdPlaySvg;
    txt = qtn_msk_play;
    }

RESOURCE CBA_BUTTON r_uni_msk_button_view_image
    {
    id = EUniCmdViewImage;
    txt = qtn_msk_view;
    }

RESOURCE CBA_BUTTON r_uni_msk_button_play_video
    {
    id = EUniCmdPlayVideo;
    txt = qtn_msk_play;
    }

RESOURCE CBA_BUTTON r_uni_msk_button_play_audio
    {
    id = EUniCmdPlayAudio;
    txt = qtn_msk_play;
    }

RESOURCE CBA_BUTTON r_uni_msk_button_insert_media
    {
    id = EUniCmdInsertMedia;
    txt = qtn_msk_insert;
    }

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

RESOURCE CBA_BUTTON r_uni_msk_button_objects
    {
    id = EUniCmdObjectsAttachment;
    txt = qtn_msk_objects;
    }

// Sending settings..

RESOURCE CBA_BUTTON r_uni_msk_settings_button_open
    {
    id = EUniCmdSettingsChange;
    txt = qtn_msk_open;
    }

RESOURCE CBA_BUTTON r_uni_msk_settings_button_change
    {
    id = EUniCmdSettingsChange;
    txt = qtn_msk_change;
    }

// Add headers
RESOURCE CBA_BUTTON r_uni_msk_addheaders_button_mark
    {
    id = EAknSoftkeyMark;
    txt = text_softkey_mark;
    }

RESOURCE CBA_BUTTON r_uni_msk_addheaders_button_unmark
    {
    id = EAknSoftkeyUnmark;
    txt = text_softkey_unmark;
    }

// String for bio message types

RESOURCE TBUF r_unieditor_biotype_vcard
    {
    buf = qtn_mce_inbox_type_smart_cbc;
    }

RESOURCE TBUF r_unieditor_biotype_vcal
    {
    buf = qtn_mce_inbox_type_smart_vcal;
    }

RESOURCE TBUF r_unieditor_not_enough_memory
    {
    buf = qtn_memlo_not_enough_memory;
    }

RESOURCE TBUF r_unieditor_popup_sms_size_above_limit
     {
     buf = qtn_info_popup_sms_size_above_limit;
     }

RESOURCE TBUF r_unieditor_popup_sms_size_under_limit
     {
     buf = qtn_info_popup_sms_size_below_limit;
     }
// ---------------------------------------------------------------------------
//	r_unieditor_embedded_object_stylus_menu
// ---------------------------------------------------------------------------
//
RESOURCE STYLUS_POPUP_MENU r_unieditor_embedded_object_stylus_menu
    {
    items =
        {
        STYLUS_POPUP_MENU_ITEM { txt = qtn_mms_om_remove; 
                             command = EUniCmdRemove; }
        };
    }
// End of File
