From ddb6f2dc5496425ba460666f3fa2d17cb99a45b8 Mon Sep 17 00:00:00 2001 From: "saari%netscape.com" Date: Wed, 27 Jan 1999 15:48:22 +0000 Subject: [PATCH] /m/pub/mozilla/widget/public/nsIWidget.h - Added AddMenuListener method git-svn-id: svn://10.0.0.236/trunk@18774 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/public/nsIWidget.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mozilla/widget/public/nsIWidget.h b/mozilla/widget/public/nsIWidget.h index aa5177296b0..84d5e812fc3 100644 --- a/mozilla/widget/public/nsIWidget.h +++ b/mozilla/widget/public/nsIWidget.h @@ -22,6 +22,7 @@ #include "nsISupports.h" #include "nsColor.h" #include "nsIMouseListener.h" +#include "nsIMenuListener.h" #include "nsIImage.h" #include "prthread.h" @@ -446,6 +447,15 @@ class nsIWidget : public nsISupports { NS_IMETHOD AddMouseListener(nsIMouseListener * aListener) = 0; + /** + * Adds a menu listener to this widget + * Any existing menu listener is replaced + * + * @param aListener menu listener to add to this widget. + */ + + NS_IMETHOD AddMenuListener(nsIMenuListener * aListener) = 0; + /** * Return the widget's toolkit *