ipsservices/ipssossettings/tsrc/IpsSosTestApp/data/IpsSosTestApp.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 26 Jan 2010 11:45:42 +0200
changeset 3 a4d6f1ea0416
parent 2 5253a20d2a1e
permissions -rw-r--r--
Revision: 201001 Kit: 201004

/*
* 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     : ipssostestapp.rss
*  Part of  : ipssostestapp
* ============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    TEST // 4 letter ID

//  INCLUDES

#include <eikon.rh>
#include "testapp.hrh"
#include "ipssostestapp.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <appinfo.rh>
#include <data_caging_paths_strings.hrh>

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="ipssostestapp"; }

RESOURCE EIK_APP_INFO
    {    
    menubar=r_testapp_menubar;
    cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;     
    }

RESOURCE LOCALISABLE_APP_INFO r_testapp_app_info
    {
    short_caption = "IpsSosTestApp";                                     
    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = "IpsSosTest";                                      
        };
    }

//----------------------------------------------------
//   
//    r_testapp_hotkeys
//    ?description
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_testapp_hotkeys
    {
    control=
        {
        HOTKEY { command=EAknCmdExit; key='e'; }
        };
    }

//----------------------------------------------------
//   
//    r_testapp_menubar
//    ?description
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_testapp_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_testapp_menu; txt="File"; }
        };
    }

//----------------------------------------------------
//   
//    r_testapp_menu
//    ?description
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_testapp_menu
    {
    items=
        {		
		MENU_ITEM { command=ETestAppSubMenuId; txt="Run"; cascade=r_testapp_launch_sub_menu; },		
		MENU_ITEM { command=EAknCmdExit; txt="Exit"; }        			
        };
    }
    
    
//----------------------------------------------------
//   
//    r_testapp_menu
//    ?description
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_testapp_launch_sub_menu
    {
    items=
        {
        // TODO add submenus here
        MENU_ITEM { command=ETest1Cmd; txt="Create settings"; },
        MENU_ITEM { command=ETest2Cmd; txt="Launch test case"; },
        MENU_ITEM { command=ETest3Cmd; txt="Launch recent"; }	
        };
    } 
    
//----------------------------------------------------
//   
//    r_number_query_dialog
//
//----------------------------------------------------
//
RESOURCE DIALOG r_number_query_dialog
    {
    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 = 0;
                    max = 99;
                    };
                };
            }
        };
    }
    
//----------------------------------------------------
//   
//    r_text_query_dialog
//
//----------------------------------------------------
//
RESOURCE DIALOG r_text_query_dialog
    {
    flags=EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_OK_CANCEL;
    items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control= AVKON_DATA_QUERY
                {
                layout = EDataLayout;
		        control = EDWIN{};
                };
            }
        };
    }   

// End of File