/*
* Copyright (c) 2005-2007 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:   Unified Editor Utils resource file.
*
*/



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

NAME    UNUT

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

#include <eikon.rh>
#include <eikon.rsg>

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

#include "MsgEditor.rh"
#include "MsgEditorAppUi.hrh"

#include "UniObjectsViewDialog.hrh"
#include <unieditor.loc>

#include <uniutils.mbg>

// ========== CONSTANTS ====================================

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

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

RESOURCE RSS_SIGNATURE { }

//-----------------------------------------------------
//    Options menu for editor state objects view.
//-----------------------------------------------------
//
RESOURCE MENU_PANE r_unut_editor_objects_menu
    {
    items =
        {
        MENU_ITEM { command = EMsgViewAttachmentCmdOpen;   txt = qtn_mms_om_open; flags = EEikMenuItemAction;             },
        MENU_ITEM { command = EMmsObjectsTextFirst;        txt = qtn_mms_om_order_text_first;  },
        MENU_ITEM { command = EMmsObjectsTextSecond;       txt = qtn_mms_om_order_text_second; },
        MENU_ITEM { command = EMsgViewAttachmentCmdRemove; txt = qtn_mms_om_remove;  flags = EEikMenuItemSpecific;         },
        MENU_ITEM { command = EAknCmdHelp;                 txt = qtn_options_help;             },
        MENU_ITEM { command = EAknCmdExit;                 txt = qtn_options_exit;             }
        };
    }

//-----------------------------------------------------
//    Options menu for viewer state objects view.
//-----------------------------------------------------
//
RESOURCE MENU_PANE r_unut_viewer_objects_menu
    {
    items =
        {
        MENU_ITEM { command = EMsgViewAttachmentCmdOpen;   txt = qtn_mms_om_open;  flags = EEikMenuItemAction; },
        MENU_ITEM { command = EMsgViewAttachmentCmdSave;   txt = qtn_mms_om_save;  flags = EEikMenuItemSpecific; },
        MENU_ITEM { command = EAknCmdHelp;                 txt = qtn_options_help;  },
        MENU_ITEM { command = EAknCmdExit;                 txt = qtn_options_exit;  }
        };
    }

//-----------------------------------------------------
//    Options menu for forward state objects view.
//-----------------------------------------------------
//
RESOURCE MENU_PANE r_unut_forward_objects_menu
    {
    items =
        {
        MENU_ITEM { command = EMsgViewAttachmentCmdOpen;   txt = qtn_mms_om_open;  flags = EEikMenuItemAction; },
        MENU_ITEM { command = EMsgViewAttachmentCmdRemove; txt = qtn_mms_om_remove; flags = EEikMenuItemSpecific;}, 
        MENU_ITEM { command = EAknCmdHelp;                 txt = qtn_options_help;  },
        MENU_ITEM { command = EAknCmdExit;                 txt = qtn_options_exit;  }
        };
    }

//-----------------------------------------------------
//    Confirmation query in remove object.
//-----------------------------------------------------
//
RESOURCE DIALOG r_unut_remove_object_query
    {
    flags   = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtQuery;
            id      = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout = EConfirmationLayout;
                };
            }
        };
    }

RESOURCE TBUF r_unut_objects_title { buf = qtn_mms_title_objects; }

RESOURCE TBUF r_unut_query_common_conf_remove { buf = qtn_query_common_conf_remove; }

RESOURCE TBUF r_unut_info_invalid_object_text { buf = qtn_mms_info_invalid_object; }

RESOURCE TBUF r_unut_info_fail_recipient { buf = qtn_mms_info_fail_recipient; }

RESOURCE TBUF r_unut_info_fail_recipient_no_alias { buf = qtn_mms_info_recipient_no_alias; }

RESOURCE TBUF r_unut_file_saved_to { buf = qtn_fldr_file_saved_to; }

// ---------------------------------------------------------
//    r_unut_editor_wait_anim
//
// ---------------------------------------------------------
//
RESOURCE BMPANIM_DATA r_unut_editor_wait_anim
	{
	frameinterval = 100; // 100 ms
	playmode = 1; // Cycle play mode
	bmpfile = "\\resource\\apps\\uniutils.mbm";
	frames = r_unut_editor_wait_anim_frames;
 	}

// ---------------------------------------------------------
//    r_unut_editor_wait_anim_frames
//
// ---------------------------------------------------------
//
RESOURCE ARRAY r_unut_editor_wait_anim_frames
    {
    items=
        {		
        BMPANIM_FRAME {bmpid = EMbmUniutilsQgn_graf_ring_wait_01; maskid = EMbmUniutilsQgn_graf_ring_wait_01_mask;},
        BMPANIM_FRAME {bmpid = EMbmUniutilsQgn_graf_ring_wait_02; maskid = EMbmUniutilsQgn_graf_ring_wait_02_mask;},
        BMPANIM_FRAME {bmpid = EMbmUniutilsQgn_graf_ring_wait_03; maskid = EMbmUniutilsQgn_graf_ring_wait_03_mask;},
        BMPANIM_FRAME {bmpid = EMbmUniutilsQgn_graf_ring_wait_04; maskid = EMbmUniutilsQgn_graf_ring_wait_04_mask;},
        BMPANIM_FRAME {bmpid = EMbmUniutilsQgn_graf_ring_wait_05; maskid = EMbmUniutilsQgn_graf_ring_wait_05_mask;},
        BMPANIM_FRAME {bmpid = EMbmUniutilsQgn_graf_ring_wait_06; maskid = EMbmUniutilsQgn_graf_ring_wait_06_mask;},
        BMPANIM_FRAME {bmpid = EMbmUniutilsQgn_graf_ring_wait_07; maskid = EMbmUniutilsQgn_graf_ring_wait_07_mask;},
        BMPANIM_FRAME {bmpid = EMbmUniutilsQgn_graf_ring_wait_08; maskid = EMbmUniutilsQgn_graf_ring_wait_08_mask;},
        BMPANIM_FRAME {bmpid = EMbmUniutilsQgn_graf_ring_wait_09; maskid = EMbmUniutilsQgn_graf_ring_wait_09_mask;},
        BMPANIM_FRAME {bmpid = EMbmUniutilsQgn_graf_ring_wait_10; maskid = EMbmUniutilsQgn_graf_ring_wait_10_mask;}
        };
    }

// End of File
