uifw/EikStd/coctlinc/aknitemactionmenuregister.h
branchRCL_3
changeset 16 71dd06cfe933
parent 10 9f56a4e1b8ab
child 23 3d340a0166ff
equal deleted inserted replaced
15:08e69e956a8c 16:71dd06cfe933
    66      */
    66      */
    67     IMPORT_C static void SetOverridingMenuBarOwnerL(
    67     IMPORT_C static void SetOverridingMenuBarOwnerL(
    68             MObjectProvider* aMenuBarOwner, TUint aFlags = 0 );
    68             MObjectProvider* aMenuBarOwner, TUint aFlags = 0 );
    69 
    69 
    70     /**
    70     /**
       
    71      * Sets the current constructing menubar owner to NULL if it matches to
       
    72      * aMenuBarOwner. Otherwise constructing menubar owner is not modified.
       
    73      * 
       
    74      * @internal
       
    75      * @param aMenuBarOwner Pointer to constructing menubar owner. 
       
    76      */
       
    77     IMPORT_C static void RemoveConstructingMenuBarOwner( 
       
    78             MObjectProvider* aMenuBarOwner );
       
    79     
       
    80     /**
    71      * Registers a collection.
    81      * Registers a collection.
    72      * 
    82      * 
    73      * @internal
    83      * @internal
    74      * @param aCollection Collection to be registered.
    84      * @param aCollection Collection to be registered.
       
    85      * @param aMenuBarOwner Owner of the menubar that collection will be
       
    86      *        registered with.
    75      * @return Item action menu the collection was registered to.
    87      * @return Item action menu the collection was registered to.
    76      */
    88      */
    77     static CAknItemActionMenu* RegisterCollectionL(
    89     static CAknItemActionMenu* RegisterCollectionL(
    78             MAknCollection& aCollection );
    90             MAknCollection& aCollection, MObjectProvider* aMenuBarOwner );
    79 
    91 
    80     /**
    92     /**
    81      * Registers item action menu to aMenuBar.
    93      * Registers item action menu to aMenuBar.
    82      * 
    94      * 
    83      * @internal
    95      * @internal
   161 
   173 
   162     /**
   174     /**
   163      * Registers collection.
   175      * Registers collection.
   164      * 
   176      * 
   165      * @param aCollection State to be registered.
   177      * @param aCollection State to be registered.
       
   178      * @param aMenuBarOwner Owner of the menubar that collection will be
       
   179      *        registered with.
   166      * @return Item action menu the collection was registered to.
   180      * @return Item action menu the collection was registered to.
   167      */
   181      */
   168     CAknItemActionMenu* DoRegisterCollectionL(
   182     CAknItemActionMenu* DoRegisterCollectionL(
   169             MAknCollection& aCollection );
   183             MAknCollection& aCollection, MObjectProvider* aMenuBarOwner );
   170 
   184 
   171     /**
   185     /**
   172      * Registers item action menu to aMenuBar.
   186      * Registers item action menu to aMenuBar.
   173      * 
   187      * 
   174      * @param aMenuBar Calling menu bar.
   188      * @param aMenuBar Calling menu bar.
   284      * Provides pointer to the current menu bar.
   298      * Provides pointer to the current menu bar.
   285      * 
   299      * 
   286      * @internal
   300      * @internal
   287      * @return Pointer to menu bar.
   301      * @return Pointer to menu bar.
   288      */
   302      */
   289      CEikMenuBar* FindCurrentMenuBarL();
   303     CEikMenuBar* FindCurrentMenuBar();
   290 
   304 
   291     /**
   305     /**
   292      * Adds register entry.
   306      * Adds register entry.
   293      * 
   307      * 
   294      * @param aMenuBar Menu bar.
   308      * @param aMenuBar Menu bar.
   316      * And when setting the correct menu bar owner from a dialog to NULL 
   330      * And when setting the correct menu bar owner from a dialog to NULL 
   317      * checking if a correct menubar can be found for the unregistered 
   331      * checking if a correct menubar can be found for the unregistered 
   318      * item action menu. 
   332      * item action menu. 
   319      */
   333      */
   320     void DoSetConstructingMenuBarOwnerL( MObjectProvider* aMenuBarOwner ); 
   334     void DoSetConstructingMenuBarOwnerL( MObjectProvider* aMenuBarOwner ); 
       
   335 
       
   336     /**
       
   337      * Sets the current constructing menubar owner to NULL if it matches to
       
   338      * aMenuBarOwner. Otherwise constructing menubar owner is not modified.
       
   339      * 
       
   340      * @internal
       
   341      * @param aMenuBarOwner Pointer to constructing menubar owner. 
       
   342      */
       
   343     void DoRemoveConstructingMenuBarOwner( 
       
   344             MObjectProvider* aMenuBarOwner );
   321 
   345 
   322 private: // data
   346 private: // data
   323 
   347 
   324     /**
   348     /**
   325      * Data class for unregistered menus.
   349      * Data class for unregistered menus.