classicui_plat/extended_options_menu_api/inc/aknitemactionmenu.h
branchRCL_3
changeset 16 71dd06cfe933
parent 9 aabf2c525e0f
child 23 3d340a0166ff
--- a/classicui_plat/extended_options_menu_api/inc/aknitemactionmenu.h	Wed Mar 31 21:59:52 2010 +0300
+++ b/classicui_plat/extended_options_menu_api/inc/aknitemactionmenu.h	Wed Apr 14 16:14:00 2010 +0300
@@ -105,6 +105,18 @@
             MAknCollection& aCollection );
 
     /**
+     * Adds collection to the item action menu of this view / dialog / appUi.
+     * 
+     * @param aCollection Collection implementing MAknCollection interface.
+     * @param aMenuBarOwner Owner of the menubar that collection will be
+     *        registered with.
+     * @return Pointer to the item action menu instance.
+     * Ownership does not transfer to caller.
+     */
+    IMPORT_C static CAknItemActionMenu* RegisterCollectionL(
+            MAknCollection& aCollection, MObjectProvider* aMenuBarOwner );
+
+    /**
      * Removes collection of this item action menu.
      * 
      * @param aCollection Collection to be removed.