--- a/classicui_plat/extended_options_menu_api/inc/aknitemactionmenu.h Fri Feb 19 23:04:46 2010 +0200
+++ b/classicui_plat/extended_options_menu_api/inc/aknitemactionmenu.h Fri Mar 12 15:43:43 2010 +0200
@@ -74,16 +74,20 @@
*
* @internal
* @param aCollection Collection.
+ * @param aOwner Menu's owner.
*/
- static CAknItemActionMenu* NewL( MAknCollection& aCollection );
+ static CAknItemActionMenu* NewL( MAknCollection& aCollection,
+ MObjectProvider* aOwner );
/**
* Two-phased constructor.
*
* @internal
* @param aCollection Collection.
+ * @param aOwner Menu's owner.
*/
- static CAknItemActionMenu* NewLC( MAknCollection& aCollection );
+ static CAknItemActionMenu* NewLC( MAknCollection& aCollection,
+ MObjectProvider* aOwner );
/**
* Destructor.
@@ -198,13 +202,22 @@
* @return Collection count.
*/
TInt CollectionCount() const;
+
+ /**
+ * Returns pointer to item action menu's owner.
+ *
+ * @return Menu's owner
+ */
+ MObjectProvider* Owner() const;
private:
/**
* C++ constructor.
- */
- CAknItemActionMenu();
+ *
+ * @param aOwner Menu's owner.
+ */
+ CAknItemActionMenu( MObjectProvider* aOwner );
/**
* Symbian second-phase constructor.
@@ -297,6 +310,12 @@
* Own.
*/
CAknItemActionMenuData* iMenuData;
+
+ /**
+ * Pointer to menu's owner.
+ * Not own
+ */
+ MObjectProvider* iOwner;
};
#endif // C_AKNITEMACTIONMENU_H