changes to api for selection listeners

git-svn-id: svn://10.0.0.236/trunk@65978 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mjudge%netscape.com 2000-04-14 11:26:18 +00:00
parent 55078146c7
commit 63c6a3cb7b
8 changed files with 8 additions and 8 deletions

View File

@ -66,7 +66,7 @@ TypeInState::~TypeInState()
{
}
NS_IMETHODIMP TypeInState::NotifySelectionChanged()
NS_IMETHODIMP TypeInState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *)
{
Reset();
return NS_OK;

View File

@ -48,7 +48,7 @@ public:
void Reset();
virtual ~TypeInState();
NS_IMETHOD NotifySelectionChanged();
NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel);
nsresult SetProp(nsIAtom *aProp);
nsresult SetProp(nsIAtom *aProp, const nsString &aAttr);

View File

@ -124,7 +124,7 @@ nsInterfaceState::NotifyDocumentStateChanged(PRBool aNowDirty)
}
NS_IMETHODIMP
nsInterfaceState::NotifySelectionChanged()
nsInterfaceState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *)
{
return PrimeUpdateTimer();
}

View File

@ -57,7 +57,7 @@ public:
NS_IMETHOD ForceUpdate();
// nsIDOMSelectionListener interface
NS_IMETHOD NotifySelectionChanged();
NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel);
NS_DECL_NSIDOCUMENTSTATELISTENER

View File

@ -124,7 +124,7 @@ nsInterfaceState::NotifyDocumentStateChanged(PRBool aNowDirty)
}
NS_IMETHODIMP
nsInterfaceState::NotifySelectionChanged()
nsInterfaceState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *)
{
return PrimeUpdateTimer();
}

View File

@ -57,7 +57,7 @@ public:
NS_IMETHOD ForceUpdate();
// nsIDOMSelectionListener interface
NS_IMETHOD NotifySelectionChanged();
NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel);
NS_DECL_NSIDOCUMENTSTATELISTENER

View File

@ -66,7 +66,7 @@ TypeInState::~TypeInState()
{
}
NS_IMETHODIMP TypeInState::NotifySelectionChanged()
NS_IMETHODIMP TypeInState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *)
{
Reset();
return NS_OK;

View File

@ -48,7 +48,7 @@ public:
void Reset();
virtual ~TypeInState();
NS_IMETHOD NotifySelectionChanged();
NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel);
nsresult SetProp(nsIAtom *aProp);
nsresult SetProp(nsIAtom *aProp, const nsString &aAttr);