imstutils/imconversationview/imcvuiapp/rss/imcvuiapp.rss
branchRCL_3
changeset 4 f5911524345e
parent 0 5e5d6b214f4f
child 6 78867dafe7eb
--- a/imstutils/imconversationview/imcvuiapp/rss/imcvuiapp.rss	Tue Feb 02 10:12:18 2010 +0200
+++ b/imstutils/imconversationview/imcvuiapp/rss/imcvuiapp.rss	Fri Feb 19 22:41:11 2010 +0200
@@ -34,6 +34,9 @@
 #include <aknsconstants.hrh>
 #include "imcvappsmileutility.hrh"
 #include "imcvappsmileutility.rh"
+#include <aiwcommon.rh>
+#include <aiwcommon.hrh>
+#include <aiwgenericparam.hrh>
 
 
 // ---------------------------------------------------------
@@ -202,7 +205,27 @@
               
     };
 }
-
+// ---------------------------------------------------------------------------
+// aiw_internetcall
+// AIW app interest for calling
+// ---------------------------------------------------------------------------
+//
+RESOURCE AIW_INTEREST aiw_internetcall
+    {
+    items=
+        {
+        // This application is interested in calling from menu.
+        AIW_CRITERIA_ITEM      
+            {
+            id              = KAiwCmdCall; 
+            serviceCmd      = KAiwCmdCall;
+            serviceClass    = KAiwClassMenu;
+            contentType     = "*";
+            defaultProvider = 0x101F868E;
+            maxProviders    = 1;
+            }
+        };   
+    }
 
 //----------------------------------------------------
 //
@@ -218,8 +241,15 @@
 		MENU_ITEM { command = EIMCVCmdSend; txt = qtn_im_ibox_om_send; },
 		MENU_ITEM { command = EIMCVCmdSmiley; txt = qtn_chat_conv_insert_smiley; } ,
 		MENU_ITEM { command = EIMCVCmdFindMenuPlaceHolder;txt = ""; },
-		MENU_ITEM { command = EIMCVCmdCloseConversation; txt = qtn_servtab_close_conversation; } 
- 
+		MENU_ITEM { command = EIMCVCmdCloseConversation; txt = qtn_servtab_close_conversation; },
+		MENU_ITEM
+		            { 
+		            command = KAiwCmdCall; // The same ID than in interest.
+		            txt = ""; // Will be replaced by AIW (plugin).
+		            cascade=AIW_CASCADE_ID;            
+		            cascade = AIW_INTELLIGENT_CASCADE_ID;            
+		            }
+		
      };
 
 }