/*
* 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