idlehomescreen/inc/xnmenuadapter.h
branchRCL_3
changeset 34 d05a55b217df
parent 1 5315654608de
equal deleted inserted replaced
30:b8fae6b8a148 34:d05a55b217df
   146         * @return Softey node. 
   146         * @return Softey node. 
   147         */                       
   147         */                       
   148         CXnNodePluginIf* SoftKeyL( XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos );
   148         CXnNodePluginIf* SoftKeyL( XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos );
   149 
   149 
   150         /**
   150         /**
       
   151         * Returns softkey node, which should handle key event.     
       
   152         * @return softkey node which should handle key event, NULL if not available. 
       
   153         */                   
       
   154         CXnNodePluginIf* KeyEventNode();
       
   155         
       
   156         /**
   151          * Finds softkey node by given position
   157          * Finds softkey node by given position
   152          * @since Series 60 5.0         
   158          * @since Series 60 5.0         
   153          */
   159          */
   154         virtual TBool FindSoftKeyNodeByPosition( const TPoint& aPosition, CXnNodePluginIf*& aNode );
   160         virtual TBool FindSoftKeyNodeByPosition( const TPoint& aPosition, CXnNodePluginIf*& aNode );
   155 
   161 
   156         /**
   162         /**
   157          * Tries to display menubar        
   163          * Tries to display menubar        
   158          * @since Series 60 5.1    
   164          * @since Series 60 5.2
   159          * @param aMenuNodeId the menu node id
   165          * @param aMenuNodeId the menu node id
       
   166          * @param aContextMenu ETrue if context menu should be displayed, EFalse otherwise
   160          */        
   167          */        
   161         void TryDisplayingMenuL( const TDesC& aMenuNodeId );
   168         void TryDisplayingMenuL( const TDesC& aMenuNodeId, TBool aContextMenu );
   162        
   169        
   163     public: // from CCoeControl
   170     public: // from CCoeControl
   164 
   171 
   165         /**
   172         /**
   166          * See CCoeControl documentation
   173          * See CCoeControl documentation
   382         RPointerArray<CXnSoftkeyItem>       iSoftkeyItems;
   389         RPointerArray<CXnSoftkeyItem>       iSoftkeyItems;
   383         TInt                                iPreviousMenuPaneId;
   390         TInt                                iPreviousMenuPaneId;
   384         TBool                               iUpdateLskAppearance;
   391         TBool                               iUpdateLskAppearance;
   385         TBool                               iUpdateMskAppearance;
   392         TBool                               iUpdateMskAppearance;
   386         TBool                               iUpdateRskAppearance;
   393         TBool                               iUpdateRskAppearance;
       
   394         TBool                               iContextMenu;
   387         CXnSoftkeyItem*                     iVisibleLSK;
   395         CXnSoftkeyItem*                     iVisibleLSK;
   388         CXnSoftkeyItem*                     iVisibleRSK;
   396         CXnSoftkeyItem*                     iVisibleRSK;
   389         CXnSoftkeyItem*                     iVisibleMSK;
   397         CXnSoftkeyItem*                     iVisibleMSK;
   390    };
   398    };
   391 
   399