idlehomescreen/inc/xnmenu.h
branchRCL_3
changeset 18 d05a55b217df
parent 1 5315654608de
--- a/idlehomescreen/inc/xnmenu.h	Wed Mar 31 21:17:19 2010 +0300
+++ b/idlehomescreen/inc/xnmenu.h	Wed Apr 14 15:47:59 2010 +0300
@@ -137,6 +137,12 @@
     */       
     virtual CXnNodePluginIf* SoftKeyL( XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos ) = 0;
 
+    /**
+    * Returns softkey node, which should handle key event.     
+    * @return softkey node which should handle key event, NULL if not available. 
+    */           
+    virtual CXnNodePluginIf* KeyEventNode() = 0;
+    
    /**
     * Sets MXnMenuObserver observer
     * @since S60 5.1
@@ -152,10 +158,11 @@
 
    /**
     * Tries to display menubar
-    * @since S60 5.1    
-    * @param aMenuNodeId the menu node id
+    * @since S60 5.2    
+    * @param aMenuNodeId the menu node id        
+    * @param aContextMenu ETrue if context menu should be displayed, EFalse otherwise 
     */                      
-    virtual void TryDisplayingMenuBarL( const TDesC& aMenuNodeId ) = 0;
+    virtual void TryDisplayingMenuBarL( const TDesC& aMenuNodeId, TBool aContextMenu ) = 0;
     };
 }   
     
@@ -220,6 +227,11 @@
         */        
         CXnNodePluginIf* SoftKeyL( XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos );
 
+        /**
+         * @see MXnMenuInterface::KeyEventNode
+         */        
+         CXnNodePluginIf* KeyEventNode();
+        
        /**
         * @see MXnMenuInterface::SetObserver
         */                
@@ -233,13 +245,13 @@
        /**
         * @see MXnMenuInterface::TryDisplayingMenuBarL
         */                       
-       void TryDisplayingMenuBarL( const TDesC& aMenuNodeId );
-       
-                              
+       void TryDisplayingMenuBarL( const TDesC& aMenuNodeId, TBool aContextMenu );
+                                                 
       /**
        * @see MXnComponentInterface::MakeInterfaceL
        */
-      XnComponentInterface::MXnComponentInterface* MakeInterfaceL( const TDesC8& aType );   
+      XnComponentInterface::MXnComponentInterface* MakeInterfaceL( const TDesC8& aType );
+      
     private:
     
         /**