idlehomescreen/inc/xnmenuadapter.h
branchRCL_3
changeset 18 d05a55b217df
parent 1 5315654608de
--- a/idlehomescreen/inc/xnmenuadapter.h	Wed Mar 31 21:17:19 2010 +0300
+++ b/idlehomescreen/inc/xnmenuadapter.h	Wed Apr 14 15:47:59 2010 +0300
@@ -148,6 +148,12 @@
         CXnNodePluginIf* SoftKeyL( XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos );
 
         /**
+        * Returns softkey node, which should handle key event.     
+        * @return softkey node which should handle key event, NULL if not available. 
+        */                   
+        CXnNodePluginIf* KeyEventNode();
+        
+        /**
          * Finds softkey node by given position
          * @since Series 60 5.0         
          */
@@ -155,10 +161,11 @@
 
         /**
          * Tries to display menubar        
-         * @since Series 60 5.1    
+         * @since Series 60 5.2
          * @param aMenuNodeId the menu node id
+         * @param aContextMenu ETrue if context menu should be displayed, EFalse otherwise
          */        
-        void TryDisplayingMenuL( const TDesC& aMenuNodeId );
+        void TryDisplayingMenuL( const TDesC& aMenuNodeId, TBool aContextMenu );
        
     public: // from CCoeControl
 
@@ -384,6 +391,7 @@
         TBool                               iUpdateLskAppearance;
         TBool                               iUpdateMskAppearance;
         TBool                               iUpdateRskAppearance;
+        TBool                               iContextMenu;
         CXnSoftkeyItem*                     iVisibleLSK;
         CXnSoftkeyItem*                     iVisibleRSK;
         CXnSoftkeyItem*                     iVisibleMSK;