fmradio/fmradio/data/fmradio.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 00:17:10 +0200
changeset 0 f3d95d9c00ab
child 5 108d9820af01
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* Copyright (c) 2006 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:  FM Radio resource definitions
*
*
*/


// RESOURCE IDENTIFIER
//
NAME FMRD // 4 letter ID

// INCLUDES
//
#include <bldvariant.hrh>
#include <data_caging_paths_strings.hrh>

#include <e32keys.h>
#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.rsg>
#include <avkon.mbg>
#include <avkon.rh>
#include <avkon.loc>
#include <avkon.hrh>
#include <uikon.rh>
#include <appinfo.rh>
#include <avkon.loc>

#include <fmradio.mbg>
#include "fmradio.rh"
#include "fmradio.hrh"

#include <fmradio.loc>

#define KFMRadioBitmapFile APP_BITMAP_DIR "\\fmradio.mif"

// RESOURCE DEFINITIONS 
//
RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="FM Radio"; }


RESOURCE EIK_APP_INFO
    {
    menubar = r_fmradio_main_menu;  // Resource defining the menu. 
    status_pane = r_fmradio_status_pane;
    }
    
// For scalable AIF 
RESOURCE LOCALISABLE_APP_INFO r_fmradio_localisable_app_info
    {
    short_caption = qtn_fmradio_app_menu_list;
    caption_and_icon = CAPTION_AND_ICON_INFO
        {
        caption = qtn_fmradio_app_menu_grid;
#ifdef __SCALABLE_ICONS
    number_of_icons = 1;
    icon_file = APP_BITMAP_DIR"\\FMRadio_aif.mif";
#else
        number_of_icons = 2;
        icon_file = APP_BITMAP_DIR"\\FMRadio_aif.mbm";
#endif
        };
    }
	
// ---------------------------------------------------------------------------
//    r_fmradio_setting_frequency_editor
//    Editor for setting frequency of a channel.
// ---------------------------------------------------------------------------
//
RESOURCE FMRADIO_FREQUENCY_EDITOR r_fmradio_setting_frequency_editor
    {
    }
    	
// ---------------------------------------------------------------------------
//    r_fmradio_manual_tuning_query
//    Manual tuning query resources
// ---------------------------------------------------------------------------
//
RESOURCE DIALOG r_fmradio_manual_tuning_query
    {
    flags = EGeneralQueryFlags | EEikDialogFlagDontEatUpDownEvents;
    buttons = r_fmradio_softkeys_save_cancel__save;
    items =
        {
        DLG_LINE
            {
            type = EFMRadioCtFrequencyQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = ETimeLayout;
                control = FMRADIO_FREQUENCY_EDITOR
                    {
                    };
                };
            }
        };
    }	
	
// ---------------------------------------------------------------------------
//    r_fmradio_channel_list_icon_array
// ---------------------------------------------------------------------------
//
RESOURCE AKN_ICON_ARRAY r_fmradio_channel_list_icon_array
    {
    type = EAknIconArraySimple;
    bmpfile = KFMRadioBitmapFile;
    icons =
        {
        AKN_ICON
            {
            iconId = EMbmFmradioQgn_indi_radio_playing;
            maskId = EMbmFmradioQgn_indi_radio_playing_mask;
            },
        AKN_ICON
            {
            iconId = EMbmFmradioQgn_indi_marked_add;
            maskId = EMbmFmradioQgn_indi_marked_add_mask;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_fmradio_main_view_toolbar
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_fmradio_main_view_toolbar
    {
    flags = KAknToolbarTransparent|KAknToolbarWithoutCba|KAknToolbarFixed;
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFMRadioToolbarButtonCmdTuneDown;
            control = AVKON_BUTTON
                {
                flags = KAknButtonReportOnLongPress;
                states = 
                    {
                    AVKON_BUTTON_STATE
                        {
                        bmpfile = KFMRadioBitmapFile;
                        bmpid = EMbmFmradioQgn_indi_tb_radio_previous; 
                        bmpmask = EMbmFmradioQgn_indi_tb_radio_previous_mask;
                        }
                    };
                };
            },
            TBAR_CTRL
                {
                type = EAknCtToolbarExtension;
                id = EFMRadioToolbarButtonCmdExtensionList;
                control = AVKON_TOOLBAR_EXTENSION
                    {
                    helptxt = qtn_fmradio_tooltip_extension;
                    items =
                        {
                        TBAR_CTRL
                            {
                            type = EAknCtButton;
                            id = EFMRadioCmdRename;
                            control = AVKON_BUTTON
                                {
                                flags = KAknButtonRequestExitOnButtonUpEvent;
                                states = 
                                    {
                                     AVKON_BUTTON_STATE
                                        {
                                        txt = qtn_tbextension_rename;
                                        helptxt = qtn_fmradio_tooltip_rename;
                                        bmpfile = KFMRadioBitmapFile;
                                        bmpmask = EMbmFmradioQgn_indi_tb_rename;
                                        bmpid = EMbmFmradioQgn_indi_tb_rename_mask; 
                                        }
                                    };
                                };
                            },
                        TBAR_CTRL
                            {
                            type = EAknCtButton;
                            id = EFMRadioCmdSaveChannel;
                            control = AVKON_BUTTON
                                {
                                flags = KAknButtonRequestExitOnButtonUpEvent;
                                states = 
                                    {
                                     AVKON_BUTTON_STATE
                                        {
                                        txt = qtn_tbextension_save;
                                        helptxt = qtn_fmradio_tooltip_save;
                                        bmpfile = KFMRadioBitmapFile;
                                        bmpid = EMbmFmradioQgn_indi_tb_radio_station_save; 
                                        bmpmask = EMbmFmradioQgn_indi_tb_radio_station_save_mask;
                                        }
                                    };
                                };
                            },
                        TBAR_CTRL
                            {
                            type = EAknCtButton;
                            id = EFMRadioCmdErase;
                            control = AVKON_BUTTON
                                {
                                flags = KAknButtonRequestExitOnButtonUpEvent;
                                states = 
                                    {
                                     AVKON_BUTTON_STATE
                                        {
                                        txt = qtn_tbextension_delete;
                                        helptxt = qtn_fmradio_tooltip_delete;
                                        bmpfile = KFMRadioBitmapFile;
                                        bmpmask = EMbmFmradioQgn_indi_cam4_tb_delete_mask;
                                        bmpid = EMbmFmradioQgn_indi_cam4_tb_delete; 
                                        }
                                    };
                                };
                            },
                        TBAR_CTRL
                            {
                            type = EAknCtButton;
                            id = EFMRadioToolbarButtonCmdOperatorMusicStore;
                            control = AVKON_BUTTON
                                {
                                flags = KAknButtonRequestExitOnButtonUpEvent;
                                states = 
                                    {
                                     AVKON_BUTTON_STATE
                                        {
                                        bmpfile = KFMRadioBitmapFile;
                                        bmpmask = EMbmFmradioQgn_indi_radio_tb_mshop;
                                        bmpid = EMbmFmradioQgn_indi_radio_tb_mshop_mask;
                                        }
                                    };
                                };
                            },
                        TBAR_CTRL
                            {
                            type = EAknCtButton;
                            id = EFMRadioToolbarButtonCmdToggleIhf;
                            control = AVKON_BUTTON
                                {
                                flags = KAknButtonRequestExitOnButtonUpEvent;
                                states = 
                                    {
                                    AVKON_BUTTON_STATE
                                        {
                                        txt = qtn_tbextension_activate_loudspeaker;
                                        helptxt = qtn_fmradio_tooltip_activate_loudspeaker;
                                        bmpfile = KFMRadioBitmapFile;
                                        bmpid = EMbmFmradioQgn_indi_tb_ihf_on;
                                        bmpmask = EMbmFmradioQgn_indi_tb_ihf_on_mask;
                                        },
                                    AVKON_BUTTON_STATE
                                        {
                                        txt = qtn_tbextension_deactivate_loudspeaker;
                                        helptxt = qtn_fmradio_tooltip_deactivate_loudspeaker;
                                        bmpfile = KFMRadioBitmapFile;
                                        bmpid = EMbmFmradioQgn_indi_tb_ihf_off; 
                                        bmpmask = EMbmFmradioQgn_indi_tb_ihf_off_mask;
                                        }
                                    };
                                };
                            },
                        TBAR_CTRL
                            {
                            type = EAknCtButton;
                            id = EMPXPbvCmdInternetGoToWeb;
                            control = AVKON_BUTTON
                                {
                                flags = KAknButtonRequestExitOnButtonUpEvent;
                                states = 
                                    {
                                     AVKON_BUTTON_STATE
                                        {
                                        txt = qtn_tbextension_station_web;
                                        helptxt = qtn_fmradio_tooltip_web;
                                        bmpfile = KFMRadioBitmapFile;
                                        bmpmask = EMbmFmradioQgn_indi_radio_tb_gotoweb;
                                        bmpid = EMbmFmradioQgn_indi_radio_tb_gotoweb_mask; 
                                        }
                                    };
                                };
                            },
                        TBAR_CTRL
                            {
                            type = EAknCtButton;
                            id = EFMRadioCmdChannelList;
                            control = AVKON_BUTTON
                                {
                                flags = KAknButtonRequestExitOnButtonUpEvent;
                                states = 
                                    {
                                     AVKON_BUTTON_STATE
                                        {
                                        txt = qtn_tbextension_list_view;
                                        helptxt = qtn_fmradio_tooltip_stations;
                                        bmpfile = KFMRadioBitmapFile;
                                        bmpid = EMbmFmradioQgn_indi_radio_tb_list; 
                                        bmpmask = EMbmFmradioQgn_indi_radio_tb_list_mask;
                                        }
                                    };
                                };
                            },
                        TBAR_CTRL
                            {
                            type = EAknCtButton;
                            id = EFMRadioToolbarButtonCmdNokiaMusicStore;
                            control = AVKON_BUTTON
                                {
                                flags = KAknButtonRequestExitOnButtonUpEvent;
                                states = 
                                    {
                                     AVKON_BUTTON_STATE
                                        {
                                        txt = qtn_tbextension_ovi_music;
                                        helptxt = qtn_fmradio_tooltip_nokia_music_store;
                                        bmpfile = KFMRadioBitmapFile;
                                        bmpid = EMbmFmradioQgn_menu_music;
                                        bmpmask = EMbmFmradioQgn_menu_music_mask; 
                                        }
                                    };
                                };
                            }
                        };
                    };
                },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFMRadioToolbarButtonCmdTuneUp;
            control = AVKON_BUTTON
                {
                flags = KAknButtonReportOnLongPress;
                states =
                    {
                     AVKON_BUTTON_STATE
                        {
                        bmpfile = KFMRadioBitmapFile;
                        bmpid = EMbmFmradioQgn_indi_tb_radio_next; 
                        bmpmask = EMbmFmradioQgn_indi_tb_radio_next_mask;
                        }
                    };
                };
            }
        };
    }

//----------------------------------------------------
//   
//    r_fmradio_status_pane
//
//----------------------------------------------------
//
RESOURCE STATUS_PANE_APP_MODEL r_fmradio_status_pane
    {
    layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL;
    panes =
        {
        SPANE_PANE
            {
            id = EEikStatusPaneUidTitle;
            type = EAknCtTitlePane;
            resource = r_qtn_fmradio_title;
            }
        };
    }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_title
//----------------------------------------------------
//
RESOURCE TITLE_PANE r_qtn_fmradio_title
    { 
    txt = qtn_fmradio_title; 
    }

// ============================ Application views ============================
//
RESOURCE CBA r_fmradio_softkeys_select_exit__select
    {
    buttons=
        {
        CBA_BUTTON { id = EAknSoftkeySelect; txt = text_softkey_select; },
        CBA_BUTTON { id = EAknSoftkeyExit; txt = text_softkey_exit; },
        CBA_BUTTON { id = EAknSoftkeySelect; txt = text_softkey_select; }
        };
    }

//----------------------------------------------------
// Resource     : r_fmradio_softkeys_drop_done
// Description  : Reorder functionality softkeys
//----------------------------------------------------
//
RESOURCE CBA r_fmradio_softkeys_drop_done
    {
    buttons=
           {
           CBA_BUTTON { id = EFMRadioCmdDrop; txt = qtn_fmradio_softkey_drop; },
           CBA_BUTTON { id = EFMRadioCmdDone; txt = text_softkey_done; }
           };
    }
//----------------------------------------------------
// Resource     : r_fmradio_softkeys_drop_cancel
// Description  : Reorder functionality softkeys
//----------------------------------------------------
//
RESOURCE CBA r_fmradio_softkeys_drop_cancel
    {
    buttons=
           {
           CBA_BUTTON { id = EFMRadioCmdDrop; txt = qtn_fmradio_softkey_drop; },
           CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }
           };
    }
//----------------------------------------------------
// Resource     : r_fmradio_softkeys_drop_done
// Description  : Reorder functionality softkeys
//----------------------------------------------------
//
RESOURCE CBA r_fmradio_softkeys_grab_cancel
    {
    buttons=
           {
           CBA_BUTTON { id = EFMRadioCmdGrap; txt = qtn_fmradio_softkey_grab; },
           CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }
           };
    }
//----------------------------------------------------
// Resource     : r_fmradio_softkeys_grap_done
// Description  : Move functionality softkeys
//----------------------------------------------------
//
RESOURCE CBA r_fmradio_softkeys_grap_done
    {
    buttons=
           {
           CBA_BUTTON { id = EFMRadioCmdGrap; txt = qtn_fmradio_softkey_grab; },
           CBA_BUTTON { id = EFMRadioCmdDone; txt = text_softkey_done; }
           };
    }
//----------------------------------------------------
// Resource     : r_fmradio_softkeys_save_cancel__save
// Description  : softkeys for manual tuning dialog
//----------------------------------------------------
//
RESOURCE CBA r_fmradio_softkeys_save_cancel__save
    {
    buttons=
        {
        CBA_BUTTON { id = EAknSoftkeySave; txt = text_softkey_save; },
        CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; },
        CBA_BUTTON { id = EAknSoftkeySave; txt = text_softkey_save; }
        };
    }

//----------------------------------------------------
// Resource     : r_fmradio_main_view
// Description  : Application main view. (View ID=1)
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_fmradio_main_view
    {
    menubar = r_fmradio_main_menu; 
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    toolbar = r_fmradio_main_view_toolbar;
    }

// ---------------------------------------------------------
//    r_fmradio_main_view_tuning_state_softkeys
// ---------------------------------------------------------
//
RESOURCE CBA r_fmradio_main_view_tuning_state_softkeys
    {
    buttons =
        {
        CBA_BUTTON { txt = text_softkey_empty; },
        CBA_BUTTON { id = EFMRadioCmdStopTuning; txt = text_softkey_stop; }
        };
    }

// ---------------------------------------------------------
//    r_fmradio_softkeys_exit
// ---------------------------------------------------------
//
RESOURCE CBA r_fmradio_softkeys_exit
    {
    buttons =
        {
        CBA_BUTTON { txt = text_softkey_empty; },
        CBA_BUTTON { id = EAknSoftkeyExit; txt = text_softkey_exit; }
        };
    }

//----------------------------------------------------
// Resource     : r_fmradio_ch_list_view
// Description  : Stations view. (View ID=2)
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_fmradio_ch_list_view
    {
    menubar = r_fmradio_channel_list_menu;
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    toolbar = r_fmradio_channel_list_toolbar;
    }

// ================================ View titles ==============================
//

// ---------------------------------------------------------------------------
//    r_fmradio_stations_view_title
//    Title of stations view.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_fmradio_stations_view_title { buf = qtn_fmradio_stations_title; }

// ---------------------------------------------------------------------------
//    r_fmradio_search_stations_view_title
//    Title of scan local stations view.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_fmradio_search_stations_view_title { buf = qtn_fmradio_search_stations_title; }


// ================================ Menu titles ==============================
//

//----------------------------------------------------
// Resource     : r_fmradio_main_menu
// Description  : Title for the Main menu.
//----------------------------------------------------
//
RESOURCE MENU_BAR r_fmradio_main_menu
    {
    titles=
        {
        MENU_TITLE { menu_pane = r_fmradio_main_options_menu; txt = ""; }
        };
    }


//----------------------------------------------------
// Resource     : r_fmradio_channel_list_menu
// Description  : Title for the channel list menu.
//----------------------------------------------------
//
RESOURCE MENU_BAR r_fmradio_channel_list_menu
    {
    titles=
        {
        MENU_TITLE { menu_pane = r_fmradio_ch_list_options_menu; txt = ""; }
        };
    }
    

// ================================ Menu items ===============================
//

//----------------------------------------------------
// Resource     : r_fmradio_main_options_menu
// Description  : Main options menu items v2.
//----------------------------------------------------
//
RESOURCE MENU_PANE r_fmradio_main_options_menu
    {
    items=
        {
        MENU_ITEM { command = EMPXPbvCmdInternetGoToWeb; txt = qtn_fmradio_options_web_address; },
        MENU_ITEM { command = EFMRadioCmdChannelList;   txt = qtn_fmradio_options_stations; },
        MENU_ITEM { command = EFMRadioCmdSaveChannel;   txt = qtn_fmradio_options_save; },
        MENU_ITEM { command = EFMRadioCmdErase;         txt = qtn_fmradio_options_delete; },
        MENU_ITEM { command = EFMRadioCmdRename;        txt = qtn_fmradio_options_rename; },
        MENU_ITEM { command = EFMRadioCmdActivateIhf;   txt = qtn_fmradio_options_activate; },
        MENU_ITEM { command = EFMRadioCmdDeactivateIhf; txt = qtn_fmradio_options_deactivate; },
        MENU_ITEM { command = EFMRadioCmdOpenAFSubmenu; txt = qtn_fmradio_options_alternative_freq; cascade = r_fmradio_options_af_sub_menu; },
        MENU_ITEM { command = EAknCmdHelp;              txt = qtn_options_help; },
        MENU_ITEM { command = EAknCmdExit;              txt = qtn_options_exit; }
        };
    }

//----------------------------------------------------
// Resource     : r_fmradio_options_af_sub_menu
// Description  : Sub options menu for alternative frequency.
//----------------------------------------------------
//
RESOURCE MENU_PANE r_fmradio_options_af_sub_menu
	{
	items =
		{
		MENU_ITEM
			{
			command = EFMRadioCmdEnableRdsAfSearch;
			txt = qtn_fmradio_options_on;
			flags = EEikMenuItemRadioStart;
			},
		MENU_ITEM
			{
			command = EFMRadioCmdDisableRdsAfSearch;
			txt = qtn_fmradio_options_off;
			flags = EEikMenuItemRadioEnd;
			}
		};
	}
	
//----------------------------------------------------
// Resource     : r_fmradio_ch_list_options_menu
// Description  : Channel list options menu items.
//----------------------------------------------------
//
RESOURCE MENU_PANE r_fmradio_ch_list_options_menu
    {
    items=
        {
        MENU_ITEM { command = EFMRadioCmdRename; txt = qtn_fmradio_options_rename; flags = EEikMenuItemSpecific; },
        MENU_ITEM { command = EFMRadioCmdErase; txt = qtn_fmradio_options_delete; flags = EEikMenuItemSpecific; },
        MENU_ITEM { command = EFMRadioCmdMove; txt = qtn_fmradio_move; flags = EEikMenuItemSpecific; },
        MENU_ITEM { command = EFMRadioCmdScanLocalStations; txt = qtn_fmradio_options_search_stations; },
        MENU_ITEM { command = EFMRadioCmdTuneManually;  txt = qtn_fmradio_options_tune_manually; },
        MENU_ITEM { command = EFMRadioCmdActivateIhf;   txt = qtn_fmradio_options_activate; },
        MENU_ITEM { command = EFMRadioCmdDeactivateIhf; txt = qtn_fmradio_options_deactivate; },
        MENU_ITEM { command = EAknCmdHelp;              txt = qtn_options_help; },
        MENU_ITEM { command = EAknCmdExit;              txt = qtn_options_exit; }
        };
    }

// ---------------------------------------------------------------------------
// r_fmradio_channel_list_toolbar
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_fmradio_channel_list_toolbar
    {
    flags = KAknToolbarTransparent|KAknToolbarWithoutCba|KAknToolbarFixed;
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFMRadioCmdTuneManually;
            control = AVKON_BUTTON
                {
                states = 
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fmradio_tooltip_tune_manually;
                        bmpfile = KFMRadioBitmapFile;
                        bmpid = EMbmFmradioQgn_indi_radio_tb_manualtune; 
                        bmpmask = EMbmFmradioQgn_indi_radio_tb_manualtune_mask;
                        }
                    };
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFMRadioCmdScanLocalStations;
            control = AVKON_BUTTON
                {
                states = 
                    {                           
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fmradio_tooltip_search_stations;
                        bmpfile = KFMRadioBitmapFile;
                        bmpid = EMbmFmradioQgn_indi_tb_radio_scan; 
                        bmpmask = EMbmFmradioQgn_indi_tb_radio_scan_mask;
                        }
                    };
                };
            },  
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFMRadioToolbarButtonCmdToggleIhf;
            control = AVKON_BUTTON
                {
                states = 
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fmradio_tooltip_activate_loudspeaker;
                        bmpfile = KFMRadioBitmapFile;
                        bmpid = EMbmFmradioQgn_indi_tb_ihf_on;
                        bmpmask = EMbmFmradioQgn_indi_tb_ihf_on_mask;
                        },
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fmradio_tooltip_deactivate_loudspeaker;
                        bmpfile = KFMRadioBitmapFile;
                        bmpid = EMbmFmradioQgn_indi_tb_ihf_off; 
                        bmpmask = EMbmFmradioQgn_indi_tb_ihf_off_mask;
                        }
                    };
                };
            }           
        };
    }

// ============================= Data queries ==============================
//

RESOURCE AVKON_LIST_QUERY r_fmradio_listquery_save_all_replace_append
    {
    softkeys=R_AVKON_SOFTKEYS_SELECT_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                heading = qtn_fmradio_list_query_save_all;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    array_id = r_fmradio_listquery_save_all_replace_append_items;
                    };
                };
            }
        };
    }


RESOURCE ARRAY r_fmradio_listquery_save_all_replace_append_items
	{
	  items =
	  {
	    LBUF {txt = qtn_fmradio_list_query_replace_all; },
	    LBUF {txt = qtn_fmradio_list_query_append; }
	  };
	}	

RESOURCE AVKON_LIST_QUERY r_fmradio_listquery_save_all_replace_append_list_almost_full
    {
    softkeys=R_AVKON_SOFTKEYS_SELECT_CANCEL;
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                heading = qtn_fmradio_list_query_list_full;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    array_id = r_fmradio_listquery_save_all_replace_append_items_list_almost_full;
                    };
                };
            }
        };
    }	

RESOURCE ARRAY r_fmradio_listquery_save_all_replace_append_items_list_almost_full
    {
    items =
        {
        LBUF {txt = qtn_fmradio_list_query_all_fits; },
        LBUF {txt = qtn_fmradio_list_query_replace_all; }
        };
    }	

RESOURCE DIALOG r_fmradio_rename_query
{
    flags=EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_OK_CANCEL;
    items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control= AVKON_DATA_QUERY 
                { 
                    layout = EDataLayout;
                    label = qtn_fmradio_query_rename;
                    control = EDWIN
                        {
                        flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; 
                        maxlength=20; 
                        width=16; 
                        lines=1; 
                        max_view_height_in_lines=1; // (5 or less lines are permitted)
                        base_line_delta=21; 
                        };
                };
            }
        };
}

RESOURCE AVKON_LIST_QUERY r_fmradio_select_region_query
    {
    flags = EGeneralQueryFlags | EEikDialogFlagWait;
    softkeys = r_fmradio_softkeys_select_exit__select;

    items = 
        {
        AVKON_LIST_QUERY_DLG_LINE 
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    };
                heading = qtn_fmradio_popup_head_select_reg;
                };
            }
        };
    }

// ========================= Confirmation queries ==========================
//

//----------------------------------------------------
// Resource     : r_fmradio_activate_in_offline_query
// Description  : A dialog shown when starting FM Radio 
//  			  and off-line mode is active.
//----------------------------------------------------
//
RESOURCE DIALOG r_fmradio_activate_in_offline_query
	{
	flags = EGeneralQueryFlags;
	buttons = R_AVKON_SOFTKEYS_YES_NO;
	items = 
		{ 
		DLG_LINE 
			{ 
			type = EAknCtQuery; 
			id = EGeneralQuery; 
			control = AVKON_CONFIRMATION_QUERY 
				{ 
				layout = EConfirmationQueryLayout;
				label = qtn_fmradio_query_offline_activate;
				}; 
			}
		};
	}

//----------------------------------------------------
// Resource     : r_fmradio_continue_in_offline_query
// Description  : A dialog shown when coming to 
//				  foreground and off-line mode has been
//    			  activated in background.
//----------------------------------------------------
//
RESOURCE DIALOG r_fmradio_continue_in_offline_query
	{
	flags = EGeneralQueryFlags;
	buttons = R_AVKON_SOFTKEYS_YES_NO;
	items = 
		{ 
		DLG_LINE 
			{ 
			type = EAknCtQuery; 
			id = EGeneralQuery; 
			control = AVKON_CONFIRMATION_QUERY 
				{ 
				layout = EConfirmationQueryLayout;
				label = qtn_fmradio_query_offline_use;
				}; 
			}
		};
	}

//----------------------------------------------------
// Resource     : r_fmradio_save_ch_confirmation_query
// Description  : Confirmation query used when user
//                tries to save a channel to a reserved
//                channel slot. User is asked to
//                confirm is the intention to replace
//                the existing channel in that channel
//                slot.   
//----------------------------------------------------
//
RESOURCE DIALOG r_fmradio_save_ch_confirmation_query
{
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
    {
        DLG_LINE
        {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY 
            { 
                layout = EConfirmationLayout;
            };
        }
    };
}

//----------------------------------------------------
// Resource     : r_fmradio_erase_ch_confirmation_query
// Description  : Confirmation query used when user
//                tries to delete a channel from a
//                channel slot. User is asked to
//                confirm is the intention to really
//                delete the existing channel in that 
//                channel slot or was it just an
//                accidental menu selection...   
//----------------------------------------------------
//
RESOURCE DIALOG r_fmradio_erase_ch_confirmation_query
{
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
    {
        DLG_LINE
        {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY 
            { 
                layout = EConfirmationLayout;
            };
        }
    };
}

RESOURCE DIALOG r_fmradio_connect_headset_note
	{
    flags = EAknDialogGenericQueryFlags;
    buttons = r_fmradio_softkeys_exit;
    items =
    	{
        DLG_LINE
        	{
            type = EAknCtQuery;
            id = EConfirmationLayout;
            control = AVKON_CONFIRMATION_QUERY 
            	{ 
                layout = EConfirmationQueryLayout;
                bmpfile = KFMRadioBitmapFile;
                bmpid = EMbmFmradioQgn_note_radio_jackmini;
                bmpmask = EMbmFmradioQgn_note_radio_jackmini_mask;
            	};
        	}
    	};
	}

//----------------------------------------------------
// Resource     : r_fmradio_query_save_current
// Description  : query for saving channel that has not been saved
//----------------------------------------------------
//
RESOURCE DIALOG r_fmradio_query_save_current
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items = 
        { 
        DLG_LINE 
            { 
            type = EAknCtQuery; 
            id = EGeneralQuery; 
            control = AVKON_CONFIRMATION_QUERY 
                { 
                layout = EConfirmationQueryLayout;
                label = qtn_fmradio_query_save_current;
                }; 
            }
        };
    }

//----------------------------------------------------
// Resource     : r_fmradio_replace_existing_channels_query
// Description  : Shown when starting channel list is full 
//                and user presses save all in scan stations.
//----------------------------------------------------
//
RESOURCE DIALOG r_fmradio_replace_existing_channels_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items = 
        { 
        DLG_LINE 
            { 
            type = EAknCtQuery; 
            id = EGeneralQuery; 
            control = AVKON_CONFIRMATION_QUERY 
                { 
                layout = EConfirmationQueryLayout;
                label = qtn_fmradio_query_replace_all;
                }; 
            }
        };
    }
// ============================== Notes ===================================

//----------------------------------------------------
// Resource     : r_fmradio_rtplus_firsttime_note
// Description  : A wait note used while seek is
//                in progress.
//----------------------------------------------------
//
RESOURCE DIALOG r_fmradio_rtplus_firsttime_note
    {
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    items =
        {
        DLG_LINE 
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
                };
            },
        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY 
                {
                };
            }
        };
    }

// ======================== Dynamic menu strings ===========================
//

//----------------------------------------------------
// Resource     : r_qtn_fmradio_options_activate
// Description  : String for a menu item when IHF-
//                speaker is inactive.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_options_activate  { buf = qtn_fmradio_options_activate; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_options_deactivate
// Description  : String for a menu item when IHF-
//                speaker is active.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_options_deactivate    { buf = qtn_fmradio_options_deactivate; }

//----------------------------------------------------
// Resource     : r_fmradio_options_music_store
// Description  : Options menu item for music store.
//----------------------------------------------------
//
RESOURCE MENU_PANE r_fmradio_options_music_store
    {
    items =
        {
        MENU_ITEM
            {
            command = EFMRadioMusicStore;
            txt = qtn_fmradio_options_music_store;
            }
        };
    }

//----------------------------------------------------
// Resource     : r_fmradio_options_music_store_with_sub_menu
// Description  : Sub options menu for music store.
//----------------------------------------------------
//
RESOURCE MENU_PANE r_fmradio_options_music_store_with_sub_menu
    {
    items =
        {
        MENU_ITEM
            {
            command = EFMRadioMusicStore;
            txt = qtn_fmradio_options_music_store_submenu;
            cascade = r_fmradio_options_music_store_sub_menu;
            }
        };
    }

//----------------------------------------------------
// Resource     : r_fmradio_options_music_store_sub_menu
// Description  : Sub options menu for music store.
//----------------------------------------------------
//
RESOURCE MENU_PANE r_fmradio_options_music_store_sub_menu
    {
    items =
        {
        MENU_ITEM
            {
            command = EFMRadioMusicStoreOperator;
            txt = "";  // Operator Music Store
            },
        MENU_ITEM
            {
            command = EFMRadioMusicStoreNokiaMusicShop;
            txt = qtn_fmradio_options_nokia_music_store;
            }
        };
    }


// ====================== Strings from fmradio.loc =========================
//

//----------------------------------------------------
// Resource     : r_qtn_fmradio_query_offline_use
// Description  : Prompt text for text query dialog.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_query_offline_use { buf = qtn_fmradio_query_offline_use; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_mem_location_freq
// Description  : Text including channel index and
//                frequency. Used in main view.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_mem_location_freq { buf = qtn_fmradio_mem_location_freq; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_mem_location_name
// Description  : Text including channel index and
//                channel name. Used in main view.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_mem_location_name { buf = qtn_fmradio_mem_location_name; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_freq
// Description  : Text to display frequency of current station
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_freq { buf= qtn_fmradio_freq; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_media_idle_freq
// Description  : Text to display frequency in media idle
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_media_idle_freq { buf= qtn_fmradio_media_idle_freq; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_rds
// Description  : Text to rds indicator
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_rds { buf = qtn_fmradio_rds; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_af
// Description  : Text to af indicator
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_af { buf = qtn_fmradio_af; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_rtplus_indicator_text
// Description  : Text to af indicator
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_rtplus_indicator_text { buf = qtn_fmradio_rtplus; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_rtplus_firsttime
// Description  : Text to a note which is shown when RT+
//                interactions become available for the first time.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_rtplus_firsttime { buf = qtn_fmradio_query_rtplus_enabled; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_query_delete
// Description  : Used in confirmation query when user
//                is asked to confirm deleting a
//                channel from the channel list.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_query_delete { buf = qtn_fmradio_query_delete; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_query_delete_mhz
// Description  : Used in confirmation query when user
//                is asked to confirm deleting a
//                channel from the channel list. Used
//                for frequency if the channel name
//                is not set
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_query_delete_mhz { buf = qtn_fmradio_query_delete_mhz; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_tuning
// Description  : A label used while 
//                tuning is in progress.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_tuning { buf = qtn_fmradio_scanning; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_use_long_tap
// Description  : Text for the information note that 
//				  will be shown when the channels haven't been saved 
//				  and tryed to change channel.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_use_long_tap { buf = qtn_fmradio_use_long_tap; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_list_query_list_full
// Description  : If the amount of added stations is about to exceed 
//					the limit, a List query is displayed with a prompt 
//      			text Station list full:
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_list_query_list_full { buf = qtn_fmradio_list_query_list_full; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_error_con_headset
// Description  : Text for the error note about
//                a missing headset.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_error_con_headset { buf = qtn_fmradio_error_con_headset; }

//text for the frequence range note. User has selected range manually
RESOURCE TBUF128 r_qtn_fmradio_conf_freq_band_set_manual { buf = qtn_fmradio_conf_freq_band_set_manual; }
RESOURCE TBUF128 r_qtn_fmradio_conf_freq_band_set_autom { buf = qtn_fmradio_conf_freq_band_set_autom; }
RESOURCE TBUF128 r_qtn_fmradio_manual_tune_freq { buf = qtn_fmradio_query_frequency; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_stations_saved
// Description  : Text "%N stations saved to the stations list." used in Scan Local Stations list.
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_stations_saved { buf = qtn_fmradio_saving_done; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_list_no_stations_found
// Description  : Text "No stations found. Please try again." 
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_list_no_stations_found { buf = qtn_fmradio_list_no_stations_found; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_no_stations_found
// Description  : Text "No stations found." 
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_no_stations_found { buf = qtn_fmradio_no_stations_found; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_msk_listen
// Description  : String for the listen text  
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_msk_listen { buf = qtn_fmradio_msk_listen; }

RESOURCE TBUF r_qtn_fmradio_none { buf = ""; } 

//----------------------------------------------------
// Resource     : r_qtn_fmradio_list_no_stations
// Description  : String for empty stations list  
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_list_no_stations { buf = qtn_fmradio_list_no_stations; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_note_fmtx_unable_to_start
// Description  : FM transmitter is active during radio launch 
// text         : "FM Radio cannot be started when FM transmitter is on." 
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_note_fmtx_unable_to_start     { buf = qtn_fmradio_note_fmtx_unable_to_start; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_note_fmtx_close_application
// Description  : 
// text         : "FM Radio cannot be used when the FM transmitter is on. FM Radio is closed."
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_note_fmtx_close_application   { buf = qtn_fmradio_note_fmtx_close_application; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_saving_done_one
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_saving_done_one  { buf = qtn_fmradio_saving_done_one; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_saving_done_one_no_name
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_saving_done_one_no_name  { buf = qtn_fmradio_saving_done_one_no_name; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_double1_freq
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_double1_freq  { buf = qtn_fmradio_double1_freq; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_double2_freq
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_double2_freq  { buf = qtn_fmradio_double2_freq; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_single_freq
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_single_freq  { buf = qtn_fmradio_single_freq; }

//----------------------------------------------------
// Resource     : r_qtn_fmradio_single_freq_name
//----------------------------------------------------
//
RESOURCE TBUF r_qtn_fmradio_single_freq_name { buf = qtn_fmradio_single_freq_name; }

// ============================ Application views ============================

// ---------------------------------------------------------------------------
//    r_fmradio_softkeys_empty_stop
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_fmradio_softkeys_empty_stop
    {
    buttons=
        {
            CBA_BUTTON { txt = text_softkey_empty; },
            CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_stop; }
        };
    }

// ---------------------------------------------------------------------------
//    r_fmradio_softkeys_empty_cancel
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_fmradio_softkeys_empty_cancel
	{
	buttons=
		{
		    CBA_BUTTON { txt = text_softkey_empty; },
		    CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }
		};
	}

// Search Stations view

//----------------------------------------------------
// Resource     : r_fmradio_search_stations__view
// Description  : Search Stations view. (View ID=4)
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_fmradio_search_stations_view
    {
    menubar = r_fmradio_search_stations_menu;
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    toolbar = r_fmradio_search_stations_toolbar;
    }

//----------------------------------------------------
// Resource     : r_fmradio_search_stations_menu
// Description  : Search Stations menu.
//----------------------------------------------------
//
RESOURCE MENU_BAR r_fmradio_search_stations_menu
    {
    titles=
        {
        MENU_TITLE { menu_pane = r_fmradio_search_stations_options_menu; txt = ""; }
        };
    }

//----------------------------------------------------
// Resource     : r_fmradio_search_stations_options_menu
// Description  : Search Stations options menu items.
//----------------------------------------------------
//
RESOURCE MENU_PANE r_fmradio_search_stations_options_menu
    {
    items=
        {
        MENU_ITEM { command = EFMRadioCmdSaveChannel; txt = qtn_fmradio_options_save; flags = EEikMenuItemSpecific; },
        MENU_ITEM { command = EFMRadioCmdSaveAllChannels; txt = qtn_fmradio_options_save_all; },
        MENU_ITEM { command = EFMRadioCmdScanLocalStationsScan; txt = qtn_fmradio_options_search_stations; },
        MENU_ITEM { command = EFMRadioCmdActivateIhf;   txt = qtn_fmradio_options_activate; },
        MENU_ITEM { command = EFMRadioCmdDeactivateIhf; txt = qtn_fmradio_options_deactivate; },
        MENU_ITEM { command = EAknCmdHelp;              txt = qtn_options_help; },
        MENU_ITEM { command = EAknCmdExit;              txt = qtn_options_exit; }
        };
    }

// ---------------------------------------------------------------------------
// r_fmradio_search_stations_toolbar
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_fmradio_search_stations_toolbar
    {
    flags = KAknToolbarTransparent|KAknToolbarWithoutCba|KAknToolbarFixed;
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFMRadioToolbarButtonCmdSaveAll;
            control = AVKON_BUTTON
                {
                states = 
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fmradio_tooltip_save_all;
                        bmpfile = KFMRadioBitmapFile;
                        bmpid = EMbmFmradioQgn_indi_tb_radio_station_save_all;
                        bmpmask = EMbmFmradioQgn_indi_tb_radio_station_save_all_mask;
                        }
                    };
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFMRadioToolbarButtonCmdScan;
            control = AVKON_BUTTON
                {
                states = 
                    {
                     AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fmradio_tooltip_search_stations;
                        bmpfile = KFMRadioBitmapFile;
                        bmpid = EMbmFmradioQgn_indi_tb_radio_scan; 
                        bmpmask = EMbmFmradioQgn_indi_tb_radio_scan_mask;
                        }
                    };
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EFMRadioToolbarButtonCmdToggleIhf;
            control = AVKON_BUTTON
                {
                states = 
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fmradio_tooltip_activate_loudspeaker;
                        bmpfile = KFMRadioBitmapFile;
                        bmpid = EMbmFmradioQgn_indi_tb_ihf_on; 
                        bmpmask = EMbmFmradioQgn_indi_tb_ihf_on_mask;
                        },
                    AVKON_BUTTON_STATE
                        {
                        helptxt = qtn_fmradio_tooltip_deactivate_loudspeaker;
                        bmpfile = KFMRadioBitmapFile;
                        bmpid = EMbmFmradioQgn_indi_tb_ihf_off; 
                        bmpmask = EMbmFmradioQgn_indi_tb_ihf_off_mask;
                        }
                    };
                };
            }
        };
    }

// ======================== Notes for the Scan Local Stations View ====================

//----------------------------------------------------
// Resource     : r_fmradio_search_stations_wait_note
// Description  : A wait note used while station scanning is in progress.
//----------------------------------------------------
//
RESOURCE DIALOG r_fmradio_search_stations_wait_note
	{
    flags = EAknWaitNoteFlags;
    buttons = r_fmradio_softkeys_empty_stop;
    items =
    	{
	    DLG_LINE
	        {
            type = EAknCtNote;
            id = EGeneralNote;
            control = AVKON_NOTE
            	{ 
	            layout = EWaitLayout;
	            singular_label = qtn_fmradio_wait_note_scanning;
	            animation = R_QGN_GRAF_WAIT_BAR_ANIM;
            	};
	        }
    	};
	}

// -----------------------------------------------------------------------------
//   
//    r_radio_cui_fill_stations_ctx_menubar
//    Menu bar used by channel list view context sensitive menu.
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_fmradio_scan_stations_ctx_menubar
    {
    titles =
        {
        MENU_TITLE
            { 
            menu_pane = r_fmradio_scan_stations_ctx_menu;
            }
        };
    }

RESOURCE MENU_PANE r_fmradio_scan_stations_ctx_menu
    {
    items =
        {
        MENU_ITEM { command = EFMRadioCmdSaveChannel;   txt = qtn_fmradio_options_save; }
        };
    }

// -----------------------------------------------------------------------------
//   
//    r_radio_cui_fill_stations_ctx_menubar
//    Menu bar used by channel list view context sensitive menu.
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_fmradio_scan_stations_ctx_menubar_save
    {
    titles =
        {
        MENU_TITLE
            { 
            menu_pane = r_fmradio_scan_stations_ctx_menu_save;
            }
        };
    }

RESOURCE MENU_PANE r_fmradio_scan_stations_ctx_menu_save
    {
    items =
        {
        MENU_ITEM { command = EFMRadioCmdSaveChannel;   txt = qtn_fmradio_options_save; }
        };
    }

//----------------------------------------------------
// Resource     : r_fmradio_search_stations_wait_note
// Description  : A wait note used while station scanning is in progress.
//----------------------------------------------------
//
RESOURCE DIALOG r_fmradio_search_stations_wait_cancel_note
	{
    flags = EAknWaitNoteFlags;
    buttons = r_fmradio_softkeys_empty_cancel;
    items =
    	{
	    DLG_LINE
	        {
            type = EAknCtNote;
            id = EGeneralNote;
            control = AVKON_NOTE
            	{ 
	            layout = EWaitLayout;
	            singular_label = qtn_fmradio_wait_note_scanning;
	            animation = R_QGN_GRAF_WAIT_BAR_ANIM;
            	};
	        }
    	};
	}
// ---------------------------------------------------------------------------
// r_fmradio_wait_anim_tuning
// Tuning animation.
// ---------------------------------------------------------------------------
//
RESOURCE FMRADIO_BITMAP_ANIMATION r_fmradio_wait_anim_tuning
    {
    frameInterval = 20;
    frames = 
        {
        FMRADIO_FADABLE_ICON
            {
            bmpfile = KFMRadioBitmapFile;
            bitmap = EMbmFmradioQgn_graf_ring_wait_01;
            mask = EMbmFmradioQgn_graf_ring_wait_01_mask;
            },
        FMRADIO_FADABLE_ICON
            {
            bmpfile = KFMRadioBitmapFile;
            bitmap = EMbmFmradioQgn_graf_ring_wait_02;
            mask = EMbmFmradioQgn_graf_ring_wait_02_mask;
            },
        FMRADIO_FADABLE_ICON
            {
            bmpfile = KFMRadioBitmapFile;
            bitmap = EMbmFmradioQgn_graf_ring_wait_03;
            mask = EMbmFmradioQgn_graf_ring_wait_03_mask;
            },
        FMRADIO_FADABLE_ICON
            {
            bmpfile = KFMRadioBitmapFile;
            bitmap = EMbmFmradioQgn_graf_ring_wait_04;
            mask = EMbmFmradioQgn_graf_ring_wait_04_mask;
            },
        FMRADIO_FADABLE_ICON
            {
            bmpfile = KFMRadioBitmapFile;
            bitmap = EMbmFmradioQgn_graf_ring_wait_05;
            mask = EMbmFmradioQgn_graf_ring_wait_05_mask;
            },
        FMRADIO_FADABLE_ICON
            {
            bmpfile = KFMRadioBitmapFile;
            bitmap = EMbmFmradioQgn_graf_ring_wait_06;
            mask = EMbmFmradioQgn_graf_ring_wait_06_mask;
            },
        FMRADIO_FADABLE_ICON
            {
            bmpfile = KFMRadioBitmapFile;
            bitmap = EMbmFmradioQgn_graf_ring_wait_07;
            mask = EMbmFmradioQgn_graf_ring_wait_07_mask;
            },
        FMRADIO_FADABLE_ICON
            {
            bmpfile = KFMRadioBitmapFile;
            bitmap = EMbmFmradioQgn_graf_ring_wait_08;
            mask = EMbmFmradioQgn_graf_ring_wait_08_mask;
            },
        FMRADIO_FADABLE_ICON
            {
            bmpfile = KFMRadioBitmapFile;
            bitmap = EMbmFmradioQgn_graf_ring_wait_09;
            mask = EMbmFmradioQgn_graf_ring_wait_09_mask;
            },
        FMRADIO_FADABLE_ICON
            {
            bmpfile = KFMRadioBitmapFile;
            bitmap = EMbmFmradioQgn_graf_ring_wait_10;
            mask = EMbmFmradioQgn_graf_ring_wait_10_mask;
            }
        };
    } 

// End of File