Modifications to event listener interfaces.

This commit is contained in:
joki 1998-06-23 21:51:30 +00:00
Родитель 280ccd82b0
Коммит 9374c4bd49
7 изменённых файлов: 18 добавлений и 18 удалений

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

@ -41,14 +41,14 @@ public:
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult DragStart(const nsIDOMEvent* aMouseEvent) = 0; virtual nsresult DragStart(nsIDOMEvent* aMouseEvent) = 0;
/** /**
* Processes a drag ending event * Processes a drag ending event
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult DragDrop(const nsIDOMEvent* aMouseEvent) = 0; virtual nsresult DragDrop(nsIDOMEvent* aMouseEvent) = 0;
}; };

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

@ -160,7 +160,7 @@ public:
NS_IMETHOD GetType(nsString& aType) = 0; NS_IMETHOD GetType(nsString& aType) = 0;
NS_IMETHOD GetTarget(nsIDOMNode*& aTarget) = 0; NS_IMETHOD GetTarget(nsIDOMNode** aTarget) = 0;
NS_IMETHOD GetScreenX(PRInt32& aX) = 0; NS_IMETHOD GetScreenX(PRInt32& aX) = 0;
NS_IMETHOD GetScreenY(PRInt32& aY) = 0; NS_IMETHOD GetScreenY(PRInt32& aY) = 0;

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

@ -40,7 +40,7 @@ public:
* @param anEvent the event to process. @see nsIDOMEvent.h for event types. * @param anEvent the event to process. @see nsIDOMEvent.h for event types.
*/ */
virtual nsresult ProcessEvent(const nsIDOMEvent* aEvent) = 0; virtual nsresult ProcessEvent(nsIDOMEvent* aEvent) = 0;
}; };

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

@ -41,14 +41,14 @@ public:
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult Focus(const nsIDOMEvent* aEvent) = 0; virtual nsresult Focus(nsIDOMEvent* aEvent) = 0;
/** /**
* Processes a blur event * Processes a blur event
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult Blur(const nsIDOMEvent* aEvent) = 0; virtual nsresult Blur(nsIDOMEvent* aEvent) = 0;
}; };

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

@ -41,14 +41,14 @@ public:
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult Load(const nsIDOMEvent* aEvent) = 0; virtual nsresult Load(nsIDOMEvent* aEvent) = 0;
/** /**
* Processes a page unload event * Processes a page unload event
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult Unload(const nsIDOMEvent* aEvent) = 0; virtual nsresult Unload(nsIDOMEvent* aEvent) = 0;
/** /**
* Processes a load abort event * Processes a load abort event
@ -56,14 +56,14 @@ public:
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
* *
*/ */
virtual nsresult Abort(const nsIDOMEvent* aEvent) = 0; virtual nsresult Abort(nsIDOMEvent* aEvent) = 0;
/** /**
* Processes an load error event * Processes an load error event
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult Error(const nsIDOMEvent* aEvent) = 0; virtual nsresult Error(nsIDOMEvent* aEvent) = 0;
}; };

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

@ -41,14 +41,14 @@ public:
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult MouseDown(const nsIDOMEvent* aMouseEvent) = 0; virtual nsresult MouseDown(nsIDOMEvent* aMouseEvent) = 0;
/** /**
* Processes a mouse up event * Processes a mouse up event
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult MouseUp(const nsIDOMEvent* aMouseEvent) = 0; virtual nsresult MouseUp(nsIDOMEvent* aMouseEvent) = 0;
/** /**
* Processes a mouse click event * Processes a mouse click event
@ -56,7 +56,7 @@ public:
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
* *
*/ */
virtual nsresult MouseClick(const nsIDOMEvent* aMouseEvent) = 0; virtual nsresult MouseClick(nsIDOMEvent* aMouseEvent) = 0;
/** /**
* Processes a mouse click event * Processes a mouse click event
@ -64,21 +64,21 @@ public:
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
* *
*/ */
virtual nsresult MouseDblClick(const nsIDOMEvent* aMouseEvent) = 0; virtual nsresult MouseDblClick(nsIDOMEvent* aMouseEvent) = 0;
/** /**
* Processes a mouse enter event * Processes a mouse enter event
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult MouseOver(const nsIDOMEvent* aMouseEvent) = 0; virtual nsresult MouseOver(nsIDOMEvent* aMouseEvent) = 0;
/** /**
* Processes a mouse leave event * Processes a mouse leave event
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult MouseOut(const nsIDOMEvent* aMouseEvent) = 0; virtual nsresult MouseOut(nsIDOMEvent* aMouseEvent) = 0;
}; };

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

@ -41,14 +41,14 @@ public:
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult MouseMove(const nsIDOMEvent* aMouseEvent) = 0; virtual nsresult MouseMove(nsIDOMEvent* aMouseEvent) = 0;
/** /**
* Processes a drag move event * Processes a drag move event
* @param aMouseEvent @see nsIDOMEvent.h * @param aMouseEvent @see nsIDOMEvent.h
* @returns whether the event was consumed or ignored. @see nsresult * @returns whether the event was consumed or ignored. @see nsresult
*/ */
virtual nsresult DragMove(const nsIDOMEvent* aMouseEvent) = 0; virtual nsresult DragMove(nsIDOMEvent* aMouseEvent) = 0;
}; };