classicui_pub/options_menu_api/inc/EIKMENUP.H
branchRCL_3
changeset 23 3d340a0166ff
parent 4 8ca85d2f0db7
child 25 941195f2d488
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
   884      * @return Created menu pane. Ownership transfers to caller.
   884      * @return Created menu pane. Ownership transfers to caller.
   885      */
   885      */
   886     static CEikMenuPane* NewItemCommandMenuL( MEikMenuObserver* aObserver );
   886     static CEikMenuPane* NewItemCommandMenuL( MEikMenuObserver* aObserver );
   887 
   887 
   888     /**
   888     /**
   889      * Sets item specific commands dimmed.
   889      * Sets item specific commands state.
   890      * 
   890      * 
   891      * @internal
   891      * @internal
   892      * @since S60 v5.2
   892      * @since S60 v5.2
   893      */
   893      * @param aDimmed If ETrue, item specific commands are dimmed. If EFalse,
   894     void SetItemCommandsDimmed();
   894      * other than item specific commands are dimmed.
       
   895      */
       
   896     void SetItemCommandsStateL( TBool aDimmed );
   895 
   897 
   896     /**
   898     /**
   897      * Adds menu items to this menu and item action menu data. 
   899      * Adds menu items to this menu and item action menu data. 
   898      * 
   900      * 
   899      * @internal
   901      * @internal
   908      * 
   910      * 
   909      * @internal
   911      * @internal
   910      * @since S60 v5.2
   912      * @since S60 v5.2
   911      * @param aCascadeId Cascade menu id.
   913      * @param aCascadeId Cascade menu id.
   912      * @param aItemSpecific If ETrue, adds only item specific items.
   914      * @param aItemSpecific If ETrue, adds only item specific items.
       
   915      * @param aAddToItemActionMenu If ETrue, adds items to item action menu, 
       
   916      * otherwise to iItemArray
   913      * @param aMenuData Item action menu data.
   917      * @param aMenuData Item action menu data.
   914      */
   918      * @param aItemIndex specifies to which position to add submenu items, 
   915     void AddCascadeMenuItemsToActionMenuL(
   919      * used only when aAddToItemActionMenu is EFalse
       
   920      */
       
   921     void AddCascadeMenuItemsToMenuL(
   916             TInt aCascadeId,
   922             TInt aCascadeId,
   917             TBool aItemSpecific,
   923             TBool aItemSpecific,
   918             CAknItemActionMenuData& aMenuData );
   924             TBool aAddToItemActionMenu,
       
   925             CAknItemActionMenuData* aMenuData = NULL,
       
   926             TInt aItemIndex = 0 );
   919     
   927     
   920     /**
   928     /**
   921      * Enables the default highlight in menu
   929      * Enables the default highlight in menu
   922      */
   930      */
   923     void SetDefaultHighlight();
   931     void SetDefaultHighlight();
  1084     TInt iFlags;
  1092     TInt iFlags;
  1085     CEikScrollBarFrame* iSBFrame;
  1093     CEikScrollBarFrame* iSBFrame;
  1086     CMenuScroller* iScroller;
  1094     CMenuScroller* iScroller;
  1087     CEikButtonBase* iLaunchingButton; // for popouts only
  1095     CEikButtonBase* iLaunchingButton; // for popouts only
  1088     TInt iSubPopupWidth; // 0..2
  1096     TInt iSubPopupWidth; // 0..2
  1089     TInt iSpare;
  1097 
       
  1098     /**
       
  1099      * Used to track if object has been deleted while calling client callback.
       
  1100      */
       
  1101     TBool* iIsDeleted;
       
  1102 
  1090     CEikMenuPaneExtension* iExtension;
  1103     CEikMenuPaneExtension* iExtension;
  1091 
  1104 
  1092     };
  1105     };
  1093 
  1106 
  1094 #endif
  1107 #endif