зеркало из https://github.com/mozilla/gecko-dev.git
Add or changed GetIID to use NS_DEFINE_STATIC_IID_ACCESSOR macro
This commit is contained in:
Родитель
34e9e887eb
Коммит
85a74becef
|
@ -35,7 +35,7 @@ class nsIDOMCompositionListener : public nsIDOMEventListener {
|
|||
|
||||
public:
|
||||
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCOMPOSITIONLISTENER_IID; return iid; }
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMCOMPOSITIONLISTENER_IID)
|
||||
|
||||
virtual nsresult HandleStartComposition(nsIDOMEvent* aCompositionEvent) = 0;
|
||||
virtual nsresult HandleEndComposition(nsIDOMEvent* aCompositionEvent) = 0;
|
||||
|
|
|
@ -36,7 +36,7 @@ class nsIDOMDragListener : public nsIDOMEventListener {
|
|||
|
||||
public:
|
||||
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMDRAGLISTENER_IID; return iid; }
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMDRAGLISTENER_IID)
|
||||
|
||||
/**
|
||||
* Processes a drag enter event
|
||||
|
|
|
@ -35,7 +35,7 @@ class nsIDOMEventListener : public nsISupports {
|
|||
|
||||
public:
|
||||
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMEVENTLISTENER_IID; return iid; }
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMEVENTLISTENER_IID)
|
||||
|
||||
/**
|
||||
* Processes all events excepting mouse and key events.
|
||||
|
|
|
@ -42,7 +42,7 @@ class nsIEventListenerManager;
|
|||
class nsIDOMEventReceiver : public nsIDOMEventTarget {
|
||||
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMEVENTRECEIVER_IID; return iid; }
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMEVENTRECEIVER_IID)
|
||||
|
||||
NS_IMETHOD AddEventListenerByIID(nsIDOMEventListener *aListener, const nsIID& aIID) = 0;
|
||||
NS_IMETHOD RemoveEventListenerByIID(nsIDOMEventListener *aListener, const nsIID& aIID) = 0;
|
||||
|
|
|
@ -36,7 +36,7 @@ class nsIDOMFocusListener : public nsIDOMEventListener {
|
|||
|
||||
public:
|
||||
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMFOCUSLISTENER_IID; return iid; }
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMFOCUSLISTENER_IID)
|
||||
|
||||
/**
|
||||
* Processes a focus event
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
class nsIDOMFormListener : public nsIDOMEventListener {
|
||||
|
||||
public:
|
||||
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMFORMLISTENER_IID)
|
||||
/**
|
||||
* Processes a form submit event
|
||||
* @param aEvent @see nsIDOMEvent.h
|
||||
|
|
|
@ -34,7 +34,7 @@ class nsIDOMKeyListener : public nsIDOMEventListener {
|
|||
|
||||
public:
|
||||
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMKEYLISTENER_IID; return iid; }
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMKEYLISTENER_IID)
|
||||
|
||||
/**
|
||||
* Processes a key pressed event
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
class nsIDOMLoadListener : public nsIDOMEventListener {
|
||||
|
||||
public:
|
||||
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMLOADLISTENER_IID)
|
||||
/**
|
||||
* Processes a page or image load event
|
||||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
|
|
|
@ -36,7 +36,7 @@ class nsIDOMMouseListener : public nsIDOMEventListener {
|
|||
|
||||
public:
|
||||
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMMOUSELISTENER_IID; return iid; }
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMMOUSELISTENER_IID)
|
||||
|
||||
/**
|
||||
* Processes a mouse down event
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
class nsIDOMMouseMotionListener : public nsIDOMEventListener {
|
||||
|
||||
public:
|
||||
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMMOUSEMOTIONLISTENER_IID)
|
||||
/**
|
||||
* Processes a mouse move event
|
||||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
*/
|
||||
class nsIDOMPaintListener : public nsIDOMEventListener {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMPAINTLISTENER_IID)
|
||||
/**
|
||||
* Processes a paint event
|
||||
* @param aEvent @see nsIDOMEvent.h
|
||||
|
|
|
@ -34,7 +34,7 @@ class nsIDOMTextListener : public nsIDOMEventListener {
|
|||
|
||||
public:
|
||||
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMTEXTLISTENER_IID; return iid; }
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMTEXTLISTENER_IID)
|
||||
|
||||
virtual nsresult HandleText(nsIDOMEvent* aTextEvent) = 0;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче