tsrc/mustestapp/data/mustestapp.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:12:07 +0300
branchRCL_3
changeset 22 73a1feb507fb
permissions -rw-r--r--
Revision: 201032 Kit: 201035

/*
* Copyright (c) 2002-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:  This file contains all the resources for the AiwTestApp.
*                Initial content was generated by Series 60 AppWizard.
*
*/

// RESOURCE IDENTIFIER
NAME    AIWT // 4 letter ID

// INCLUDES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <avkon.loc>
#include <aiwcommon.rh>
#include <aiwcommon.hrh>
#include <appinfo.rh>
#include <data_caging_paths_strings.hrh>

#include "aiwtestapp.hrh"
#include "aiwtestapp.loc"

// RESOURCE DEFINITIONS 
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = "MusTestApp"; }

//----------------------------------------------------
//   
//    eik_app_info
//
//----------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    hotkeys = r_aiwtest_hotkeys;
    menubar = r_aiwtest_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;     
    }

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

//----------------------------------------------------
//   
//    r_aiwtest_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_aiwtest_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_aiwtest_menu; txt = "File"; }
        //MENU_TITLE { menu_pane = r_umasettings_main_menu; txt = "File"; }
        };
    }

//----------------------------------------------------
//   
//    r_aiwtest_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_aiwtest_menu
    {
    items =
        {
        MENU_ITEM { command = 1000; txt = "Manager: Availability inv."; },
        MENU_ITEM { command = 1001; txt = "Manager: Start live"; },
        MENU_ITEM { command = 1002; txt = "Direct: Availability inv."; },
        MENU_ITEM { command = 100000; txt = "Video Sharing"; cascade = AIW_INTELLIGENT_CASCADE_ID; },      
        //MENU_ITEM { command = 100001; txt = "Video Sharing"; cascade = AIW_INTELLIGENT_CASCADE_ID| AIW_LOCK_SUBMENU_TITLE; },            
        MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
        };
    }

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

// -----------------------------------------------------------------------------
//   
// r_aiwtest_localisable_app_info
//
// -----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_aiwtest_localisable_app_info
    {
    short_caption = "MusTestApp";
    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = "MusTestApp";
#ifdef __SCALABLE_ICONS
        number_of_icons = 1;
#else
        number_of_icons = 2;
#endif
        };
    }
    
// -----------------------------------------------------------------------------
//   
// r_aiwtestapp_submenu
//
// -----------------------------------------------------------------------------
//    
RESOURCE MENU_PANE r_aiwtestapp_submenu
    {
    items =
        {
        MENU_ITEM { command = 100000; txt = ""; }
        };
    } 

// -----------------------------------------------------------------------------
//   
// r_aiwtestapp_interest
//
// -----------------------------------------------------------------------------
// 
RESOURCE AIW_INTEREST r_aiwtestapp_interest
    {
    items =
        {
        // This application is interested in printing jpeg images
        // from menu.   
        AIW_CRITERIA_ITEM      
            {
            id              = 100000;
            serviceCmd      = KAiwCmdShare;
            serviceClass    = KAiwClassMenu;
            contentType     = "*";
            defaultProvider = 0x10282389;
            maxProviders    = 1;
            }
        };
    }

// -----------------------------------------------------------------------------
//   
// r_aiwtestapp_baseinterest
//
// -----------------------------------------------------------------------------
// 
RESOURCE AIW_INTEREST r_aiwtestapp_baseinterest
    {
    items =
        {
        // This application is interested in printing jpeg images
        // from menu.   
        AIW_CRITERIA_ITEM      
            {
            id              = 100000;
            serviceCmd      = KAiwCmdShare;
            serviceClass    = KAiwClassMenu;
            contentType     = "*";
            defaultProvider = 0x10282389;
            maxProviders    = 1;
            }
        };
    }

// End of File