--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/Phonebook2/Commands/rss/Pbk2AiwInterest.rss Tue Feb 02 10:12:17 2010 +0200
@@ -0,0 +1,289 @@
+/*
+* Copyright (c) 2002-2007 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 2 application.
+*
+*/
+
+
+#include <eikon.rsg>
+#include <avkon.rsg>
+#include <AiwCommon.rh>
+#include <AiwPoCParameters.hrh>
+#include "Pbk2InternalCommands.hrh"
+
+
+// RESOURCE DEFINITIONS
+
+// ---------------------------------------------------------
+// Call UI AIW interest resource
+// ---------------------------------------------------------
+//
+RESOURCE AIW_INTEREST r_phonebook2_callui_aiw_interest
+ {
+ items=
+ {
+ AIW_CRITERIA_ITEM
+ {
+ id = KAiwCmdCall; // serviceCmd used here also as ID
+ serviceCmd = KAiwCmdCall;
+ contentType = "*";
+ serviceClass = KAiwClassMenu;
+ maxProviders = 1;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// Phonebook 2 call submenu, content is provided by AIW
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_call_menu
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = KAiwCmdCall;
+ txt = "";
+ cascade = AIW_INTELLIGENT_CASCADE_ID;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// Phonebook 2 call stylus submenu, content is provided by AIW
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_stylus_call_menu
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = KAiwCmdCall;
+ txt = "";
+ cascade = AIW_INTELLIGENT_CASCADE_ID;
+ flags = EEikMenuItemSpecific;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// Phonebook 2 call submenu (context), content is
+// provided by AIW. This separate resource is needed for
+// menu filtering purposes.
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_call_context_menu
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = KAiwCmdCall;
+ txt = "";
+ cascade = AIW_INTELLIGENT_CASCADE_ID;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// PoC AIW interest resource
+// ---------------------------------------------------------
+//
+RESOURCE AIW_INTEREST r_phonebook2_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 2 PoC submenu, content is provided by AIW
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_poc_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = KAiwCmdPoC;
+ txt = "";
+ cascade = AIW_CASCADE_ID;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// Phonebook 2 PoC submenu for groupview, content is provided by AIW
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_groupviews_poc_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = KAiwCmdPoC;
+ txt = "";
+ cascade = AIW_CASCADE_ID;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// Phonebook 2 PoC submenu (context), content is
+// provided by AIW. This separate resource is needed for
+// menu filtering purposes.
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_poc_context_menu
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = KAiwCmdPoC;
+ txt = "";
+ cascade = AIW_CASCADE_ID;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// SyncML AIW interest resource
+// ---------------------------------------------------------
+//
+RESOURCE AIW_INTEREST r_phonebook2_syncml_aiw_interest
+ {
+ items=
+ {
+ AIW_CRITERIA_ITEM
+ {
+ id = KAiwCmdSynchronize; // serviceCmd used here also as ID
+ serviceCmd = KAiwCmdSynchronize;
+ contentType = "*";
+ serviceClass = KAiwClassMenu;
+ maxProviders = 1;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// Phonebook 2 SyncML submenu, content is provided by AIW
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_syncml_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = KAiwCmdSynchronize;
+ txt = "";
+ cascade = AIW_INTELLIGENT_CASCADE_ID;
+ }
+ };
+ }
+
+// ----------------------------------------------------------
+// SIND InfoView UI AIW interest resource
+// ----------------------------------------------------------
+//
+RESOURCE AIW_INTEREST r_phonebook2_sind_infoview_aiw_interest
+ {
+ items=
+ {
+ AIW_CRITERIA_ITEM
+ {
+ id = KAiwCmdInfoView; // serviceCmd used here also as ID
+ serviceCmd = KAiwCmdInfoView;
+ contentType = "*";
+ serviceClass = KAiwClassMenu;
+ maxProviders = 1;
+ }
+ };
+ }
+
+// ----------------------------------------------------------
+// Phonebook SIND InfoView submenu, content is provided by AIW.
+// ----------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_sind_infoview_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = KAiwCmdInfoView;
+ txt = "";
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// Ovisync AIW interest resource
+// ---------------------------------------------------------
+//
+RESOURCE AIW_INTEREST r_phonebook2_ovisync_aiw_interest
+ {
+ items=
+ {
+ AIW_CRITERIA_ITEM
+ {
+ id = KOtasAiwCmdSynchronize; // serviceCmd used here as ID
+ serviceCmd = KOtasAiwCmdSynchronize;
+ contentType = "*";
+ serviceClass = KAiwClassMenu;
+ maxProviders = 1;
+ },
+ AIW_CRITERIA_ITEM
+ {
+ id = KOtasAiwCmdSettings; // serviceCmd used here as ID
+ serviceCmd = KOtasAiwCmdSettings;
+ contentType = "*";
+ serviceClass = KAiwClassMenu;
+ maxProviders = 1;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// Phonebook 2 Ovisync menu resource
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_ovisync_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = KOtasAiwCmdSynchronize; // Use the AIW ID as the menu cmd ID
+ txt = "";
+ }
+ };
+ }
+
+// End of File