This commit is contained in:
mjudge%netscape.com 2000-04-14 23:03:16 +00:00
Родитель 6a50a5a300
Коммит f932d997b6
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -39,17 +39,17 @@ class nsIDOMSelectionListener : public nsISupports {
public: public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMSELECTIONLISTENER_IID; return iid; } 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 \ #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) \ #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); extern "C" NS_DOM nsresult NS_InitSelectionListenerClass(nsIScriptContext *aContext, void **aPrototype);