locationsystemui/locationsysui/locsysuiview/data/locsysuiviewrsc.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 15:23:31 +0300
changeset 18 3825cf2dc8c2
parent 0 667063e416a2
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Resource File for the Location System UI 
*			  	  view that acts as a plug-in to GS
*       
*
*/


//  RESOURCE IDENTIFIER
NAME    LSVW // 4 letter ID

//  INCLUDES
#include    <data_caging_paths_strings.hrh>
#include    <bldvariant.hrh>
#include    <avkon.rh>
#include    <avkon.rsg>
#include    <avkon.mbg>
#include    <EIKCORE.rsg>
#include    <eikon.rh>
#include    <eikon.rsg>
#include    <avkon.loc>

#include 	"locsysuiview.hrh"
#include  <location.loc>


// CONSTANTS

//  RESOURCE DEFINITIONS 

//----------------------------------------------------
//   
//    
//    Needed or loading the resource fails!
//
//----------------------------------------------------	
//
RESOURCE RSS_SIGNATURE
    {
    }


//----------------------------------------------------
//   
//    r_locsysuiview_app_view
//    Applications view.
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_locsysuiview_app_view
    {
    menubar = r_locsysuiview_menubar;
	  cba = r_locsysuiview_softkeys_option_open_back;
    }

//----------------------------------------------------
//   
//    r_locsysuiview_softkeys_option_open_back
//    CBA for Application view.
//
//----------------------------------------------------
//   
RESOURCE CBA r_locsysuiview_softkeys_option_open_back
    {
    flags = 0;
    buttons = 
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyOptions; 
            txt = text_softkey_option;
            },
        CBA_BUTTON 
            {
            id = EAknSoftkeyBack; 
            txt = text_softkey_back;
            },
        CBA_BUTTON
            {
            id = ELocSysUiCmdOpen; 
            txt = qtn_msk_open;
            }
        };
    }

//----------------------------------------------------
//   
//    r_gs_apps_view_title
//    Application view's title.
//
//----------------------------------------------------
//
RESOURCE TITLE_PANE r_locsysuiview_title
    {
    txt = qtn_loc_pos_settings_title;
    }


//----------------------------------------------------
//  r_gs_apps_view_caption
// 
// Applications view caption for plugin
//----------------------------------------------------
//
RESOURCE TBUF r_locsysuiview_caption
    {
    buf = qtn_set_folder_positioning;
    }


//----------------------------------------------------
//   
//    r_locsysuiview_menubar
//    Options menu with 'Open', 'Help' and 'Exit' items.
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_locsysuiview_menubar
    {
    titles =
        {
        MENU_TITLE 
            { 
            menu_pane = r_locsysuiview_menu_item_exit;
            },
        MENU_TITLE
        	{
        	menu_pane = r_locsysuiview_menu_item_help;
        	},
        MENU_TITLE 
            {
            menu_pane = r_locsysuiview_menu_item_open;
            }
        };
    }

    
//----------------------------------------------------
//   
//    r_locsysuiview_menu_item_open
//    Options menu item 'Open'.
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_locsysuiview_menu_item_open
    {
    items =
        {
        MENU_ITEM 
            {
            command = ELocSysUiCmdOpen;
            txt = qtn_options_open;
	    			flags = EEikMenuItemAction;
            }
        };
    }

//----------------------------------------------------
//   
//    r_locsysuiview_menu_item_help
//    Options menu item 'Help'.
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_locsysuiview_menu_item_help
    {
    items =
        {
        MENU_ITEM 
            {
            command = EAknCmdHelp;
            txt = qtn_options_help;
            }
        };
    }

//----------------------------------------------------
//   
//    r_locsysuiview_menu_item_exit
//    Options menu item 'Exit'.
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_locsysuiview_menu_item_exit
    {
    items =
        {
        MENU_ITEM 
            {
            command = EAknCmdExit;
            txt = qtn_options_exit;
            }
        };
    }

//----------------------------------------------------
//   
//    r_locsysuiview_softkeys_option_open_exit
//    CBA for Application view.
//
//----------------------------------------------------
//   
RESOURCE CBA r_locsysuiview_softkeys_option_open_exit
    {
    flags = 0;
    buttons = 
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyOptions; 
            txt = text_softkey_option;
            },
        CBA_BUTTON 
            {
            id = EAknCmdExit; 
            txt = text_softkey_exit;
            },
        CBA_BUTTON
            {
            id = ELocSysUiCmdOpen; 
            txt = qtn_msk_open;
            }
        };
    }
//End of File