From 6dd854c7e8faeee182531da7bdbb2533f191d2e0 Mon Sep 17 00:00:00 2001 From: "mjudge%netscape.com" Date: Fri, 14 Apr 2000 23:03:16 +0000 Subject: [PATCH] adding reason to notification --- dom/public/range/nsIDOMSelectionListener.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dom/public/range/nsIDOMSelectionListener.h b/dom/public/range/nsIDOMSelectionListener.h index 2a0eecbaec86..6daabb73214f 100644 --- a/dom/public/range/nsIDOMSelectionListener.h +++ b/dom/public/range/nsIDOMSelectionListener.h @@ -39,17 +39,17 @@ class nsIDOMSelectionListener : public nsISupports { public: static const nsIID& GetIID() { static nsIID iid = NS_IDOMSELECTIONLISTENER_IID; return iid; } - NS_IMETHOD NotifySelectionChanged(nsIDOMDocument* aDoc, nsIDOMSelection* aSel)=0; + NS_IMETHOD NotifySelectionChanged(nsIDOMDocument* aDoc, nsIDOMSelection* aSel, PRInt16 aReason)=0; }; #define NS_DECL_IDOMSELECTIONLISTENER \ - NS_IMETHOD NotifySelectionChanged(nsIDOMDocument* aDoc, nsIDOMSelection* aSel); \ + NS_IMETHOD NotifySelectionChanged(nsIDOMDocument* aDoc, nsIDOMSelection* aSel, PRInt16 aReason); \ #define NS_FORWARD_IDOMSELECTIONLISTENER(_to) \ - NS_IMETHOD NotifySelectionChanged(nsIDOMDocument* aDoc, nsIDOMSelection* aSel) { return _to NotifySelectionChanged(aDoc, aSel); } \ + NS_IMETHOD NotifySelectionChanged(nsIDOMDocument* aDoc, nsIDOMSelection* aSel, PRInt16 aReason) { return _to NotifySelectionChanged(aDoc, aSel, aReason); } \ extern "C" NS_DOM nsresult NS_InitSelectionListenerClass(nsIScriptContext *aContext, void **aPrototype);