phonebookui/Phonebook/App/rss/PbkAiwInterest.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 14 Sep 2010 20:54:53 +0300
branchRCL_3
changeset 21 9da50d567e3c
parent 0 e686773b3f54
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2002 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 AIW related resources for Phonebook.app.
*
*/


#include <pbkconfig.hrh>

#include <eikon.rsg>
#include <avkon.rsg>
#include <AiwCommon.rh>
#include <AiwPoCParameters.hrh>

 
// RESOURCE DEFINITIONS 

/**
 * Call UI AIW interest resource
 */
RESOURCE AIW_INTEREST r_phonebook_callui_aiw_interest
    {
    items=
        {
	    AIW_CRITERIA_ITEM 
            { 
            id = KAiwCmdCall;  // serviceCmd used here also as ID
            serviceCmd = KAiwCmdCall;
            contentType = "*";
            serviceClass = KAiwClassMenu;
            maxProviders    = 1;
            }
        };
    }


#ifdef __VIDEOCALL_MENU_VISIBILITY
	/**
	 * Phonebook call submenu, content is provided by AIW.
	 */
	RESOURCE MENU_PANE r_phonebook_call_menu
		{
		items=
			{
			MENU_ITEM { command = KAiwCmdCall; txt = ""; }
			};
		}

	/**
	 * Phonebook call submenu (context), content is provided by AIW.
	 * This separate resource is needed for menu filtering purposes.
	 */
	RESOURCE MENU_PANE r_phonebook_call_context_menu
		{
		items=
			{
			MENU_ITEM { command = KAiwCmdCall; txt = ""; }
			};
		}
#else
	/**
	 * Phonebook call submenu, content is provided by AIW.
	 */
	RESOURCE MENU_PANE r_phonebook_call_menu
		{
		items=
			{
			MENU_ITEM { command = KAiwCmdCall; txt = "";
				cascade = AIW_INTELLIGENT_CASCADE_ID; }
			};
		}

	/**
	 * Phonebook call submenu (context), content is provided by AIW.
	 * This separate resource is needed for menu filtering purposes.
	 */
	RESOURCE MENU_PANE r_phonebook_call_context_menu
		{
		items=
			{
			MENU_ITEM { command = KAiwCmdCall; txt = "";
				cascade = AIW_INTELLIGENT_CASCADE_ID; }
			};
		}
#endif // __VIDEOCALL_MENU_VISIBILITY

/**
 * Poc UI AIW interest resource
 */
RESOURCE AIW_INTEREST r_phonebook_pocui_aiw_interest
    { 
    items=
        {
	AIW_CRITERIA_ITEM 
            { 
            id = KAiwCmdPoC; // serviceCmd used here also as ID
            serviceCmd = KAiwCmdPoC;
            contentType = "*";
            serviceClass = KAiwClassMenu; 
            defaultProvider = KS60PoCAiwProviderImplUid;
            maxProviders    = 1;
            }
        };
     }

/**
 * Phonebook poc submenu, content is provided by AIW.
 */
RESOURCE MENU_PANE r_phonebook_poc_menu
    {
    items =
        {
        MENU_ITEM 
			{ 
			command = KAiwCmdPoC; txt = ""; cascade = AIW_CASCADE_ID; 
			}
        };
    }

/**
 * Phonebook poc context submenu, content is provided by AIW.
 */
RESOURCE MENU_PANE r_phonebook_poc_context_menu
    {
    items =
        {
        MENU_ITEM 
			{ 
			command = KAiwCmdPoC; txt = ""; cascade = AIW_CASCADE_ID; 
			}
        };
    }

/**
 * SyncMl UI AIW interest resource
 */
RESOURCE AIW_INTEREST r_phonebook_syncml_aiw_interest
    { 
    items=
        {
	AIW_CRITERIA_ITEM 
            { 
            id = KAiwCmdSynchronize; // serviceCmd used here also as ID
            serviceCmd = KAiwCmdSynchronize;
            serviceClass = KAiwClassMenu;
            contentType = "*";
            maxProviders    = 1;
            }
        };
     }

/**
 * Phonebook SyncMl submenu, content is provided by AIW.
 */
RESOURCE MENU_PANE r_phonebook_syncml_menu
    {
    items =
        {
        MENU_ITEM 
		{ 
		command = KAiwCmdSynchronize; txt = ""; cascade = AIW_INTELLIGENT_CASCADE_ID; 
		}
        };
    }

// End of File