/*
* 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:  
*
*/



NAME MATT

#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.rh>
#include <avkon.rsg>
#include <avkon.mbg>
#include <CommonDialogs.hrh>
#include <CommonDialogs.rh>
#include <pathconfiguration.hrh>

#include "FB.hrh"
#include <data_caging_paths_strings.hrh>
#include <appinfo.rh>
#if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && !defined __S60_32__)
    #include <filebrowser_extraicons.mbg> // for r_filebrowser_toolbar_info_extension
#endif


// ---------------------------------------------------------
//   
//    Define the resource file signature 
//    This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }

// ---------------------------------------------------------
//   
//    Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_default_document_name { buf=""; }

// ---------------------------------------------------------
//   
//    Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
#if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && !defined __S60_32__)
    custom_app_info_extension = r_filebrowser_toolbar_info_extension;
#endif
    }

#if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && !defined __S60_32__)

RESOURCE EIK_APP_INFO_EXT r_filebrowser_toolbar_info_extension
    {
    popup_toolbar = r_filebrowser_toolbar;
    }

RESOURCE AVKON_TOOLBAR r_filebrowser_toolbar
    {
    lines = 1;
    flags = KAknToolbarFixed ;

    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFileBrowserCmdFileBack;
            control = AVKON_BUTTON
                {
                flags = 0;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = "Up one level";
                        bmpfile = APP_BITMAP_DIR"\\filebrowser_extraicons.mif";
                        bmpid = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_folder_parent;
                        bmpmask = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_folder_parent_mask;
                        }
                    };
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFileBrowserCmdFileSearch;
            control = AVKON_BUTTON
                {
                flags = 0;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = "Open/Close filter view";
                        bmpfile = APP_BITMAP_DIR"\\filebrowser_extraicons.mif";
                        bmpid = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_find;
                        bmpmask = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_find_mask;
                        }
                    };
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFileBrowserCmdEditSelect;
            control = AVKON_BUTTON
                {
                flags = KAknButtonReportOnLongPress;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = "Select/Unselect item";
                        bmpfile = APP_BITMAP_DIR"\\filebrowser_extraicons.mif";
                        bmpid = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_selection;
                        bmpmask = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_selection_mask;
                        },
                    AVKON_BUTTON_STATE
                        {
                        helptxt = "Select/Unselect item";
                        bmpfile = APP_BITMAP_DIR"\\filebrowser_extraicons.mif";
                        bmpid = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_selection_active;
                        bmpmask = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_selection_active_mask;
                        }
                    };
                };
            }
        };
    }
#endif

//----------------------------------------------------
//   
//    r_filebrowser_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_filebrowser_hotkeys
    {
    control=
        {
        HOTKEY { command=EAknCmdExit; key='e'; }
        };
    }

//----------------------------------------------------
//   
//    r_filebrowser_view_filelist
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_filebrowser_view_filelist
    {
    hotkeys=r_filebrowser_hotkeys;
    menubar=r_filebrowser_menubar_view_filelist;  
    cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;    
    }

//----------------------------------------------------
//   
//    r_filebrowser_menubar_view_filelist
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_filebrowser_menubar_view_filelist
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_filebrowser_app_menu; txt="App"; },
        MENU_TITLE { menu_pane=r_filebrowser_view_filelist_menu; txt="View"; }
        };
    }

//----------------------------------------------------
//   
//    r_filebrowser_view_filelist_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_filebrowser_view_filelist_menu
    {
    items=
        {
        MENU_ITEM { command=EFileBrowserCmdFile; txt="File"; cascade=r_filebrowser_file_submenu; },
        MENU_ITEM { command=EFileBrowserCmdEdit; txt="Edit"; cascade=r_filebrowser_edit_submenu; },
        MENU_ITEM { command=EFileBrowserCmdView; txt="View"; cascade=r_filebrowser_view_submenu; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdmin; txt="Disk admin"; cascade=r_filebrowser_diskadmin_submenu; },
        MENU_ITEM { command=EFileBrowserCmdTools; txt="Tools"; cascade=r_filebrowser_tools_submenu; },
        MENU_ITEM { command=EFileBrowserCmdSettings; txt="Settings"; },
        MENU_ITEM { command=EFileBrowserCmdAbout; txt="About"; },
        MENU_ITEM { command=EAknCmdExit; txt="Exit"; }
        };
    }

RESOURCE MENU_PANE r_filebrowser_file_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdFileBack; txt="Back/Move up (<-)"; },
        MENU_ITEM { command=EFileBrowserCmdFileOpen; txt="Open"; cascade=r_filebrowser_file_open_submenu; },
        MENU_ITEM { command=EFileBrowserCmdFileOpenDrive; txt="Open drive (->)"; },
        MENU_ITEM { command=EFileBrowserCmdFileOpenDirectory; txt="Open directory (->)"; },
        MENU_ITEM { command=EFileBrowserCmdFileView; txt="View"; cascade=r_filebrowser_file_view_submenu; },
        MENU_ITEM { command=EFileBrowserCmdFileEdit; txt="Edit"; cascade=r_filebrowser_file_edit_submenu; },
        MENU_ITEM { command=EFileBrowserCmdFileSearch; txt="Search..."; },
        MENU_ITEM { command=EFileBrowserCmdFileSendTo; txt="Send to"; },
        MENU_ITEM { command=EFileBrowserCmdFileNew; txt="New"; cascade=r_filebrowser_file_new_submenu; },
        MENU_ITEM { command=EFileBrowserCmdFileDelete; txt="Delete"; },
        MENU_ITEM { command=EFileBrowserCmdFileRename; txt="Rename"; },
        MENU_ITEM { command=EFileBrowserCmdFileTouch; txt="Touch"; },
        MENU_ITEM { command=EFileBrowserCmdFileProperties; txt="Properties"; },
        MENU_ITEM { command=EFileBrowserCmdFileChecksums; txt="Checksums"; cascade=r_filebrowser_file_checksums_submenu; },
        MENU_ITEM { command=EFileBrowserCmdFileSetAttributes; txt="Set attributes..."; },
        MENU_ITEM { command=EFileBrowserCmdFileCompress; txt="Compress with GZip"; },
        MENU_ITEM { command=EFileBrowserCmdFileDecompress; txt="Decompress with GZip"; }
        };
    }

RESOURCE MENU_PANE r_filebrowser_file_open_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdFileOpenApparc; txt="AppArc"; },
        MENU_ITEM { command=EFileBrowserCmdFileOpenDocHandlerEmbed; txt="DocHandler embed"; },
        MENU_ITEM { command=EFileBrowserCmdFileOpenDocHandlerStandAlone; txt="DocHandler stand-alone"; },
        MENU_ITEM { command=EFileBrowserCmdFileOpenFileService; txt="Choose a file service..."; }
        };
    }

RESOURCE MENU_PANE r_filebrowser_file_view_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdFileViewText; txt="As text"; },
        MENU_ITEM { command=EFileBrowserCmdFileViewHex; txt="As hex"; }
        };
    }
    
RESOURCE MENU_PANE r_filebrowser_file_edit_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdFileEditText; txt="As text"; },
        MENU_ITEM { command=EFileBrowserCmdFileEditHex; txt="As hex"; }
        };
    }
        
RESOURCE MENU_PANE r_filebrowser_file_new_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdFileNewFile; txt="File"; },
        MENU_ITEM { command=EFileBrowserCmdFileNewDirectory; txt="Directory"; }
        };
    }

RESOURCE MENU_PANE r_filebrowser_file_checksums_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdFileChecksumsMD5; txt="MD5"; },
        MENU_ITEM { command=EFileBrowserCmdFileChecksumsMD2; txt="MD2"; },
        MENU_ITEM { command=EFileBrowserCmdFileChecksumsSHA1; txt="SHA-1"; }
        };
    }
RESOURCE MENU_PANE r_filebrowser_edit_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdSnapShot; txt="Snap shot to E:"; },
        MENU_ITEM { command=EFileBrowserCmdEditCut; txt="Cut"; },
        MENU_ITEM { command=EFileBrowserCmdEditCopy; txt="Copy"; },
        MENU_ITEM { command=EFileBrowserCmdEditPaste; txt="Paste"; },
        MENU_ITEM { command=EFileBrowserCmdEditCopyToFolder; txt="Copy to folder..."; },
        MENU_ITEM { command=EFileBrowserCmdEditMoveToFolder; txt="Move to folder..."; },
        MENU_ITEM { command=EFileBrowserCmdEditSelect; txt="Select"; },
        MENU_ITEM { command=EFileBrowserCmdEditUnselect; txt="Unselect"; },
        MENU_ITEM { command=EFileBrowserCmdEditSelectAll; txt="Select all"; },
        MENU_ITEM { command=EFileBrowserCmdEditUnselectAll; txt="Unselect all"; }
        };
    }

RESOURCE MENU_PANE r_filebrowser_view_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdViewSort; txt="Sort"; cascade=r_filebrowser_view_sort_submenu; },
        MENU_ITEM { command=EFileBrowserCmdViewOrder; txt="Order"; cascade=r_filebrowser_view_order_submenu; },
        MENU_ITEM { command=EFileBrowserCmdViewFilterEntries; txt="Filter entries"; },
        MENU_ITEM { command=EFileBrowserCmdViewRefresh; txt="Refresh"; }
        };
    }

RESOURCE MENU_PANE r_filebrowser_view_sort_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdViewSortByName; txt="By name"; flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn; },
        MENU_ITEM { command=EFileBrowserCmdViewSortByExtension; txt="By extension"; flags = EEikMenuItemRadioMiddle; },
        MENU_ITEM { command=EFileBrowserCmdViewSortByDate; txt="By date"; flags = EEikMenuItemRadioMiddle; },
        MENU_ITEM { command=EFileBrowserCmdViewSortBySize; txt="By size"; flags = EEikMenuItemRadioEnd; }
        };
    }
    
RESOURCE MENU_PANE r_filebrowser_view_order_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdViewOrderAscending; txt="Ascending"; flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn; },
        MENU_ITEM { command=EFileBrowserCmdViewOrderDescending; txt="Descending"; flags = EEikMenuItemRadioEnd; }
        };
    }

RESOURCE MENU_PANE r_filebrowser_diskadmin_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdDiskAdminSetDrivePassword; txt="Set drive password"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminUnlockDrive; txt="Unlock drive"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminClearDrivePassword; txt="Clear drive password"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminEraseDrivePassword; txt="Erase drive password"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminFormatDrive; txt="Format drive"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminQuickFormatDrive; txt="Quick format drive"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminCheckDisk; txt="Check disk"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminScanDrive; txt="Scan drive"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminSetDriveName; txt="Set drive name"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminSetDriveVolumeLabel; txt="Set drive volume label"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminEjectDrive; txt="Eject drive"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminDismountFileSystem; txt="Dismount drive"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminEraseMBR; txt="Erase MBR"; },
        MENU_ITEM { command=EFileBrowserCmdDiskAdminDrivePartition; txt="Partition drive"; }
        };
    }
    
RESOURCE MENU_PANE r_filebrowser_tools_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdToolsInstalledApps; txt="All apps to a text file"; },
        MENU_ITEM { command=EFileBrowserCmdToolsAllFiles; txt="All files to a text file"; },
        MENU_ITEM { command=EFileBrowserCmdToolsAvkonIconCache; txt="Avkon icon cache"; cascade=r_filebrowser_tools_avkoniconcache_submenu; },
        MENU_ITEM { command=EFileBrowserCmdToolsDisableExtErrors; txt="Disable extended errors"; },
        MENU_ITEM { command=EFileBrowserCmdToolsMsgStoreWalk; txt="Dump msg. store walk"; },
        MENU_ITEM { command=EFileBrowserCmdToolsEditDataTypes; txt="Edit data types"; },
        MENU_ITEM { command=EFileBrowserCmdToolsEnableExtErrors; txt="Enable extended errors"; },
        MENU_ITEM { command=EFileBrowserCmdToolsErrorSimulate; txt="Error simulate"; cascade=r_filebrowser_tools_errorsimulate_submenu; },
        MENU_ITEM { command=EFileBrowserCmdToolsLocalConnectivity; txt="Local connectivity"; cascade=r_filebrowser_tools_localconnectivity_submenu; },
        MENU_ITEM { command=EFileBrowserCmdToolsMsgAttachments; txt="Message attachments"; cascade=r_filebrowser_tools_msgattachments_submenu; },
        MENU_ITEM { command=EFileBrowserCmdToolsMemoryInfo; txt="Memory info"; },
        MENU_ITEM { command=EFileBrowserCmdToolsSecureBackup; txt="Secure backup"; cascade=r_filebrowser_tools_securebackup_submenu; },
        MENU_ITEM { command=EFileBrowserCmdToolsSetDebugMask; txt="Set debug mask"; },
        MENU_ITEM { command=EFileBrowserCmdToolsOpenFiles; txt="Show open files here"; }
        };
    }    

RESOURCE MENU_PANE r_filebrowser_tools_avkoniconcache_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdToolsAvkonIconCacheEnable; txt="Enable"; },
        MENU_ITEM { command=EFileBrowserCmdToolsAvkonIconCacheDisable; txt="Clear and disable"; }
        };
    }

RESOURCE MENU_PANE r_filebrowser_tools_errorsimulate_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdToolsErrorSimulateLeave; txt="Leave"; },
        MENU_ITEM { command=EFileBrowserCmdToolsErrorSimulatePanic; txt="Panic"; },
        MENU_ITEM { command=EFileBrowserCmdToolsErrorSimulateException; txt="Exception"; }
        };
    }
        
RESOURCE MENU_PANE r_filebrowser_tools_localconnectivity_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdToolsLocalConnectivityActivateInfrared; txt="Activate infrared"; },
        MENU_ITEM { command=EFileBrowserCmdToolsLocalConnectivityLaunchBTUI; txt="Launch BT UI"; },
        MENU_ITEM { command=EFileBrowserCmdToolsLocalConnectivityLaunchUSBUI; txt="Launch USB UI"; }
        };
    }

RESOURCE MENU_PANE r_filebrowser_tools_msgattachments_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdToolsMsgAttachmentsInbox; txt="Inbox"; },
        MENU_ITEM { command=EFileBrowserCmdToolsMsgAttachmentsDrafts; txt="Drafts"; },
        MENU_ITEM { command=EFileBrowserCmdToolsMsgAttachmentsSentItems; txt="Sent items"; },
        MENU_ITEM { command=EFileBrowserCmdToolsMsgAttachmentsOutbox; txt="Outbox"; }
        };
    }        

RESOURCE MENU_PANE r_filebrowser_tools_securebackup_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdToolsSecureBackupStartBackup; txt="Start backup"; },
        MENU_ITEM { command=EFileBrowserCmdToolsSecureBackupStartRestore; txt="Start restore"; },
        MENU_ITEM { command=EFileBrowserCmdToolsSecureBackupStop; txt="Stop"; }
        };
    } 
            
//----------------------------------------------------
//   
//    r_filebrowser_app_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_filebrowser_app_menu
    {
    items=
        {
        };
    }

//----------------------------------------------------
//
//    r_filebrowser_settings_dialog
//    Dialog for setting list
//
//----------------------------------------------------
//
RESOURCE DIALOG r_filebrowser_settings_dialog
    {
    flags =
        EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
        EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons |
        EEikDialogFlagWait | EEikDialogFlagNoTitleBar;
    buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    items =
        {
        DLG_LINE
            {
            type = EAknCtSettingListBox;
            id = EFileBrowserSettingItemList;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = LISTBOX
                {
                flags = EAknListBoxSelectionList;
                };
            }
        };
    }

//----------------------------------------------------
//    r_filebrowser_settings_menubar
//----------------------------------------------------
//
RESOURCE MENU_BAR r_filebrowser_settings_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_filebrowser_settings_menupane;
            txt = " ";   // dummy
            }
        };
    }

RESOURCE MENU_PANE r_filebrowser_settings_menupane
    {
    items =
        {
        MENU_ITEM
            {
            command = EFileBrowserCmdSettingsChange;
            txt = "Change";
            },
        MENU_ITEM
            {
            command = EFileBrowserCmdSettingsExit;
            txt = "Exit";
            }
        };
    }

//----------------------------------------------------
//    r_filebrowser_fileviewer_dialog
//----------------------------------------------------
//
RESOURCE DIALOG r_filebrowser_fileviewer_dialog
    {
    flags =
        EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
        EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons |
        EEikDialogFlagWait | EEikDialogFlagNoTitleBar;
    buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    items =
        {
        DLG_LINE
            {
            type = EFileViewerDialogControl;
            id = EFileEditorDialogId;
            }
        };
    }

//----------------------------------------------------
//    r_filebrowser_fileeditor_dialog
//----------------------------------------------------
//
RESOURCE DIALOG r_filebrowser_fileeditor_dialog
    {
    flags =
        EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
        EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons |
        EEikDialogFlagWait | EEikDialogFlagNoTitleBar;
    buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    }

//----------------------------------------------------
//    r_filebrowser_fileviewer_menubar
//----------------------------------------------------
//
RESOURCE MENU_BAR r_filebrowser_fileviewer_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_filebrowser_fileviewer_menupane;
            txt = " ";   // dummy
            }
        };
    }

RESOURCE MENU_PANE r_filebrowser_fileviewer_menupane
    {
    items =
        {
        MENU_ITEM { command = EFileBrowserCmdFileEditorViewAsText; txt = "View as text"; },
        MENU_ITEM { command = EFileBrowserCmdFileEditorViewAsHex; txt = "View as hex"; },
        MENU_ITEM { command = EFileBrowserCmdFileEditorExit; txt = "Exit"; }
        };
    }
    
//----------------------------------------------------
//    r_filebrowser_fileeditor_menubar
//----------------------------------------------------
//

RESOURCE MENU_BAR r_filebrowser_fileeditor_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_filebrowser_fileeditor_menupane;
            txt = " ";   // dummy
            }
        };
    }

RESOURCE MENU_PANE r_filebrowser_fileeditor_menupane
    {
    items =
        {
        MENU_ITEM { command = EFileBrowserCmdFileEditorSave; txt = "Save"; },
        MENU_ITEM { command = EFileBrowserCmdFileEditorSaveAs; txt = "Save as..."; },
        MENU_ITEM { command = EFileBrowserCmdFileEditorSaveFormat; txt = "Save format"; cascade=r_filebrowser_fileeditor_saveformat_submenu; },
        MENU_ITEM { command = EFileBrowserCmdFileEditorEditAsText; txt = "Edit as text"; },
        MENU_ITEM { command = EFileBrowserCmdFileEditorEditAsHex; txt = "Edit as hex"; },
        MENU_ITEM { command = EFileBrowserCmdFileEditorExit; txt = "Exit"; }
        };
    }

RESOURCE MENU_PANE r_filebrowser_fileeditor_saveformat_submenu
    {
    items = 
        {
        MENU_ITEM { command=EFileBrowserCmdFileEditorSaveFormatANSIASCII; txt="ANSI/ASCII"; flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn; },
        MENU_ITEM { command=EFileBrowserCmdFileEditorSaveFormatUTF8; txt="UTF-8"; flags = EEikMenuItemRadioMiddle; },
        MENU_ITEM { command=EFileBrowserCmdFileEditorSaveFormatUTF16LE; txt="UTF-16 LE"; flags = EEikMenuItemRadioMiddle; },
        MENU_ITEM { command=EFileBrowserCmdFileEditorSaveFormatUTF16BE; txt="UTF-16 BE"; flags = EEikMenuItemRadioEnd; }
        };
    }
    
//----------------------------------------------------
//   
//    Setting item resources
//
//----------------------------------------------------
//
RESOURCE POPUP_SETTING_LIST r_popup_setting_list_editor
	{
	}


//
// resources for display mode selection
//
RESOURCE TBUF r_displaymodeselection_setting_title
    {
    buf = "Display mode";
    }
RESOURCE AVKON_SETTING_PAGE r_displaymodeselection_setting_page
	{
    number = EAknSettingPageNoOrdinalDisplayed; 
	type = EAknCtPopupSettingList;
	editor_resource_id = r_popup_setting_list_editor;
	}
RESOURCE AVKON_POPUP_SETTING_TEXTS r_displaymodeselection_setting_texts
	{
	setting_texts_resource = r_displaymodeselection_text_array;
	}
RESOURCE ARRAY r_displaymodeselection_text_array
	{
	items =
		{
		AVKON_ENUMERATED_TEXT { value=EDisplayModeFullScreen; text = "Full screen"; },
		AVKON_ENUMERATED_TEXT { value=EDisplayModeNormal; text = "Normal"; }
		};
	}


//
// resources for file view mode selection
//
RESOURCE TBUF r_fileviewmodeselection_setting_title
    {
    buf = "File view";
    }
RESOURCE AVKON_SETTING_PAGE r_fileviewmodeselection_setting_page
	{
    number = EAknSettingPageNoOrdinalDisplayed; 
	type = EAknCtPopupSettingList;
	editor_resource_id = r_popup_setting_list_editor;
	}
RESOURCE AVKON_POPUP_SETTING_TEXTS r_fileviewmodeselection_setting_texts
	{
	setting_texts_resource = r_fileviewmodeselection_text_array;
	}
RESOURCE ARRAY r_fileviewmodeselection_text_array
	{
	items =
		{
		AVKON_ENUMERATED_TEXT { value=EFileViewModeSimple; text = "Simple"; },
		AVKON_ENUMERATED_TEXT { value=EFileViewModeExtended; text = "Extended"; }
		};
	}


//
// resources for binary selections
//
RESOURCE TBUF r_showsubdirectoryinfoselection_setting_title
    {
    buf = "Show subdirectory info";
    }
RESOURCE TBUF r_showassociatediconsselection_setting_title
    {
    buf = "Show associated icons";
    }
RESOURCE TBUF r_rememberlastpathselection_setting_title
    {
    buf = "Remember folder on exit"; 
    }
RESOURCE TBUF r_rememberfolderselection_setting_title
    {
    buf = "Remember last folder";
    }
RESOURCE TBUF r_enabletoolbar_setting_title
    {
    buf = "Show toolbar";
    }
RESOURCE TBUF r_supportnetworkdrivesselection_setting_title
    {
    buf = "Support net drives";
    }
RESOURCE TBUF r_bypassplatformsecurityselection_setting_title
    {
    buf = "Bypass plat. security";
    }
RESOURCE TBUF R_REMOVEFILELOCKSSELECTION_SETTING_TITLE
    {
    buf = "Unlock files via SB";
    }        
RESOURCE TBUF R_IGNOREPROTECTIONATTSSELECTION_SETTING_TITLE
    {
    buf = "Ign. protection atts";
    } 
RESOURCE TBUF R_REMOVEROMWRITEPROTECTIONSELECTION_SETTING_TITLE
    {
    buf = "No RO-att copy from Z:";
    } 
RESOURCE AVKON_SETTING_PAGE r_binary_setting_page
    {   
    number = EAknSettingPageNoOrdinalDisplayed;
    type = EAknCtPopupSettingList;
	editor_resource_id = r_popup_setting_list_editor;
    }
RESOURCE AVKON_POPUP_SETTING_TEXTS r_yesno_binaryselection_texts
	{
	setting_texts_resource = r_yesno_binaryselection_text_array;
	}
RESOURCE ARRAY r_yesno_binaryselection_text_array
	{
	items =
		{
		AVKON_ENUMERATED_TEXT { value=0; text = "No"; },
		AVKON_ENUMERATED_TEXT { value=1; text = "Yes"; }
		};
	}
		
  
// ---------------------------------------------------------
//   
//   r_filebrowser_about_dialog
//   About dialog - show version and copyright info etc.
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_filebrowser_about_dialog
    {
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    items=
        {
        DLG_LINE
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                label = "About FileBrowser";
                headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                message = "Version 4.5.2 - 10th December 2009. Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. Licensed under Eclipse Public License v1.0.";
                };
            }
        };
    }

// ---------------------------------------------------------
//   
//   r_general_confirmation_query
//   
//
// ---------------------------------------------------------
//

RESOURCE DIALOG r_general_confirmation_query
	{
	flags = EGeneralQueryFlags;
	buttons = R_AVKON_SOFTKEYS_YES_NO;
	items =
		{
		DLG_LINE
			{
			type = EAknCtQuery;
			id = EGeneralQuery;
			control = AVKON_CONFIRMATION_QUERY
				{
				layout = EConfirmationQueryLayout;
				};
			}
		};
	}

// ---------------------------------------------------------
//   
//   r_general_text_query
//   
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_general_text_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items=
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EDataLayout;
                control = EDWIN
                    {
                    width = 256;
                    lines = 3;
                    maxlength = 256;
                    };
                };
            }
        };
    }

// ---------------------------------------------------------
//   
//   r_general_numeric_query
//   
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_general_numeric_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control= AVKON_DATA_QUERY
                {
                layout = ENumberLayout;
                control = AVKON_INTEGER_EDWIN
                    {
                    min = -999999;
                    max = 999999;
                    };
                };
            }
        };
    }

// ---------------------------------------------------------
//   
//   r_general_progress_note
//   
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_general_progress_note
    {
    flags = EAknProgressNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items=
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EFileBrowserProgressNote;
            control = AVKON_NOTE
                {
                layout = EProgressLayout;
                singular_label = "Processing";
                };
            }
        };
    }
    
// ---------------------------------------------------------
//   
//   r_general_wait_note
//   
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_general_wait_note
    {
    flags = EAknWaitNoteFlags | EEikDialogFlagNotifyEsc;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EFileBrowserWaitNote;
            control= AVKON_NOTE 
                { 
                layout = EWaitLayout;
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }
    
// ---------------------------------------------------------
//   
//   r_entry_overwrite_type_query
//   
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_entry_overwrite_type_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                {
				listtype = EAknCtSinglePopupMenuListBox;
				listbox = AVKON_LIST_QUERY_LIST
					{
					array_id = r_entry_overwrite_type_query_array;
					};
				heading = "Overwrite?";				
			    };
            }
        };
    }

RESOURCE ARRAY r_entry_overwrite_type_query_array
	{
	items =
		{
		LBUF {txt = "Overwrite all"; },
		LBUF {txt = "Skip all existing"; },
		LBUF {txt = "Gen. unique filenames"; },
		LBUF {txt = "Query postfix"; }
		};
	}

// ---------------------------------------------------------
//   
//   r_app_selection_query
//   
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_app_selection_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                {
				listtype = EAknCtSinglePopupMenuListBox;
				listbox = AVKON_LIST_QUERY_LIST
					{
					};
				heading = "Choose app:";				
			    };
            }
        };
    }        

// ---------------------------------------------------------
//   
//   r_copy_to_folder_selection_query
//   
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_copy_to_folder_selection_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                {
				listtype = EAknCtSingleGraphicPopupMenuListBox;
				listbox = AVKON_LIST_QUERY_LIST
					{
					};
				heading = "Copy To";				
			    };
            }
        };
    }

// ---------------------------------------------------------
//   
//   r_move_to_folder_selection_query
//   
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_move_to_folder_selection_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                {
				listtype = EAknCtSingleGraphicPopupMenuListBox;
				listbox = AVKON_LIST_QUERY_LIST
					{
					};
				heading = "Move To";				
			    };
            }
        };
    }

// ---------------------------------------------------------
//   r_memoryinfo_dialog
// ---------------------------------------------------------
//
RESOURCE DIALOG r_memoryinfo_dialog
    {
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    items=
        {
        DLG_LINE
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                label = "Memory info";
                headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                message = ".";
                };
            }
        };
    }

// ---------------------------------------------------------
//   r_checksums_dialog
// ---------------------------------------------------------
//
RESOURCE DIALOG r_checksums_dialog
    {
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    items=
        {
        DLG_LINE
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                label = "Checksums";
                headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                message = ".";
                };
            }
        };
    }
    
// ---------------------------------------------------------
//   r_attribute_editor_form_dialog
// ---------------------------------------------------------
//
RESOURCE DIALOG r_attribute_editor_form_dialog
    {
    flags = EAknDialogGenericFullScreen;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    form = r_attribute_editor_form;
    }

RESOURCE FORM r_attribute_editor_form
    {
    flags = EEikFormEditModeOnly;
    items = 
        {
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = "Archive";
            id = EFileBrowserAttributeEditorSetArchive;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 100;
                    };
                textarray = r_attribute_editor_attmode_textarray;
                active = 0;    
                };
            },
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = "Hidden";
            id = EFileBrowserAttributeEditorSetHidden;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 100;
                    };
                textarray = r_attribute_editor_attmode_textarray;
                active = 0;    
                };
            },
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = "Read only";
            id = EFileBrowserAttributeEditorSetReadOnly;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 100;
                    };
                textarray = r_attribute_editor_attmode_textarray;
                active = 0;    
                };
            },
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = "System";
            id = EFileBrowserAttributeEditorSetSystem;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 100;
                    };
                textarray = r_attribute_editor_attmode_textarray;
                active = 0;    
                };
            },
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = "Recurse";
            id = EFileBrowserAttributeEditorSetRecurse;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 100;
                    };
                textarray = r_attribute_editor_recurse_textarray;
                active = 0;    
                };
            }
        };
    }

RESOURCE ARRAY r_attribute_editor_attmode_textarray
    {
    items =
        {
        LBUF { txt = "Skip"; },
        LBUF { txt = "On"; },
        LBUF { txt = "Off"; }
        };
    }    

RESOURCE ARRAY r_attribute_editor_recurse_textarray
    {
    items =
        {
        LBUF { txt = "Recursive"; },
        LBUF { txt = "Non-recursive"; }
        };
    } 

// ---------------------------------------------------------
//   r_search_query_form_dialog
// ---------------------------------------------------------
//
RESOURCE DIALOG r_search_query_form_dialog
    {
    flags = EAknDialogGenericFullScreen;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    form = r_search_query_form;
    }

RESOURCE FORM r_search_query_form
    {
    flags = EEikFormEditModeOnly;
    items = 
        {
        DLG_LINE
            {
            type = EEikCtEdwin;
            prompt = "Search dir";
            id = EFileBrowserSearchQuerySearchDir;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = EDWIN
                {
                width = 255;    
                maxlength = 255;    
                };
            },
        DLG_LINE
            {
            type = EEikCtEdwin;
            prompt = "Wildcards";
            id = EFileBrowserSearchQueryWildCards;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = EDWIN
                {
                width = 255;    
                maxlength = 255;    
                };
            },
        DLG_LINE
            {
            type = EEikCtEdwin;
            prompt = "Has string";
            id = EFileBrowserSearchQueryTextInFile;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = EDWIN
                {
                width = 255;    
                maxlength = 255;    
                };
            },
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = "Recurse";
            id = EFileBrowserSearchQueryRecurse;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 100;
                    };
                textarray = r_search_query_recurse_textarray;
                active = 0;    
                };
            },
        DLG_LINE
            {
            type = EEikCtNumberEditor;
            prompt = "Min size";
            id = EFileBrowserSearchQueryMinSize;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = NUMBER_EDITOR
                {
                min = 0;    
                max = 999999999;    
                };
            },
        DLG_LINE
            {
            type = EEikCtNumberEditor;
            prompt = "Max size";
            id = EFileBrowserSearchQueryMaxSize;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = NUMBER_EDITOR
                {
                min = 0;    
                max = 999999999;    
                };
            },
        DLG_LINE
            {
            type = EEikCtDateEditor;
            prompt = "Min date";
            id = EFileBrowserSearchQueryMinDate;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = DATE_EDITOR
                {
                minDate = DATE { day =  0; month =  0; year = 1980; };    
                maxDate = DATE { day = 30; month = 11; year = 2060; };    
                };
            },
        DLG_LINE
            {
            type = EEikCtDateEditor;
            prompt = "Max date";
            id = EFileBrowserSearchQueryMaxDate;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = DATE_EDITOR
                {
                minDate = DATE { day =  0; month =  0; year = 1980; };    
                maxDate = DATE { day = 30; month = 11; year = 2060; };    
                };
            }
        };
    }

RESOURCE ARRAY r_search_query_recurse_textarray
    {
    items =
        {
        LBUF { txt = "Non-recursive"; },
        LBUF { txt = "Recursive"; }
        };
    } 

// ---------------------------------------------------------
//   r_data_types_dialog
// ---------------------------------------------------------
//
RESOURCE DIALOG r_data_types_dialog
    {
    flags =
        EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
        EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons |
        EEikDialogFlagWait | EEikDialogFlagNoTitleBar;
    buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    items =
        {
        DLG_LINE
            {
            type = EAknCtSingleGraphicListBox;
            id = EFileBrowserDataTypesList;
            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control = LISTBOX
                {
                flags = EAknListBoxSelectionList;
                };
            }
        };
    }

//----------------------------------------------------
//    r_filebrowser_data_types_menubar
//----------------------------------------------------
//

RESOURCE MENU_BAR r_filebrowser_data_types_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_filebrowser_data_types_menupane;
            txt = " ";   // dummy
            }
        };
    }

RESOURCE MENU_PANE r_filebrowser_data_types_menupane
    {
    items =
        {
        MENU_ITEM
            {
            command = EFileBrowserCmdDataTypesChangeMapping;
            txt = "Change mapping";
            },
        MENU_ITEM
            {
            command = EFileBrowserCmdDataTypesSetDefaultMapping;
            txt = "Set to default mapping";
            },
        MENU_ITEM
            {
            command = EFileBrowserCmdDataTypesRefresh;
            txt = "Refresh";
            },
        MENU_ITEM
            {
            command = EFileBrowserCmdDataTypesExit;
            txt = "Exit";
            }
        };
    }

// ---------------------------------------------------------
//   r_data_type_priority_query
// ---------------------------------------------------------
//
RESOURCE DIALOG r_data_type_priority_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                {
				listtype = EAknCtSinglePopupMenuListBox;
				listbox = AVKON_LIST_QUERY_LIST
					{
					array_id = r_data_type_priority_query_array;
					};
				heading = "Select priority";				
			    };
            }
        };
    }

RESOURCE ARRAY r_data_type_priority_query_array
	{
	items =
		{
		LBUF {txt = "Maximum"; },
		LBUF {txt = "High"; },
		LBUF {txt = "Normal"; },
		LBUF {txt = "Low"; },
		LBUF {txt = "Last resort"; }
		};
	}

// ---------------------------------------------------------
//   r_securebackup_state_query
// ---------------------------------------------------------
//
RESOURCE DIALOG r_securebackup_state_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                {
				listtype = EAknCtSinglePopupMenuListBox;
				listbox = AVKON_LIST_QUERY_LIST
					{
					array_id = r_securebackup_state_query_array;
					};
				heading = "Select state";				
			    };
            }
        };
    }

RESOURCE ARRAY r_securebackup_state_query_array
	{
	items =
		{
		LBUF {txt = "Full"; },
		LBUF {txt = "Partial"; }
		};
	}

// ---------------------------------------------------------
//   r_securebackup_type_query
// ---------------------------------------------------------
//
RESOURCE DIALOG r_securebackup_type_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                {
				listtype = EAknCtSinglePopupMenuListBox;
				listbox = AVKON_LIST_QUERY_LIST
					{
					array_id = r_securebackup_type_query_array;
					};
				heading = "Select type";				
			    };
            }
        };
    }

RESOURCE ARRAY r_securebackup_type_query_array
	{
	items =
		{
		LBUF {txt = "Base (all data)"; },
		LBUF {txt = "Increment"; }
		};
	}
	
// ---------------------------------------------------------
//   r_partition_amount_query
// ---------------------------------------------------------
//
RESOURCE DIALOG r_partition_amount_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                {
				listtype = EAknCtSinglePopupMenuListBox;
				listbox = AVKON_LIST_QUERY_LIST
					{
					array_id = r_partition_amount_query_array;
					};
				heading = "Partitions?";
			    };
            }
        };
    }

RESOURCE ARRAY r_partition_amount_query_array
	{
	items =
		{
		LBUF {txt = "1"; },
		LBUF {txt = "2"; },
		LBUF {txt = "3"; },
		LBUF {txt = "4"; }
		};
	} 	

// ---------------------------------------------------------
//   r_common_file_action_query
// ---------------------------------------------------------
//
RESOURCE DIALOG r_common_file_action_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control= AVKON_LIST_QUERY_CONTROL
                {
				listtype = EAknCtSinglePopupMenuListBox;
				listbox = AVKON_LIST_QUERY_LIST
					{
					array_id = r_common_file_action_query_array;
					};
				heading = "";
			    };
            }
        };
    }

RESOURCE ARRAY r_common_file_action_query_array
	{
	items =
		{
		LBUF {txt = "View as text/hex"; },
		LBUF {txt = "Open w/ AppArc"; },
		LBUF {txt = "Open w/ DocH. embed"; }
		};
	} 
		        
// ---------------------------------------------------------
//   
// RESOURCE LOCALISABLE_APP_INFO r_filebrowser_localisable_app_info
//
// ---------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_filebrowser_localisable_app_info
    {
    short_caption = "FileBrowser";
    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = "FileBrowser";

        number_of_icons = 1;

        // Note for ROM-based apps it is recommended to add the drive letter
        // icon_file = "z:"APP_BITMAP_DIR"\\myapp_aif.mif";
        icon_file = APP_BITMAP_DIR"\\filebrowser_aif.mif";
        };
    }
