| 1 |
module dwt.internal.mozilla.nsIDOMEventTarget; |
|---|
| 2 |
|
|---|
| 3 |
import dwt.internal.mozilla.Common; |
|---|
| 4 |
import dwt.internal.mozilla.nsID; |
|---|
| 5 |
import dwt.internal.mozilla.nsISupports; |
|---|
| 6 |
import dwt.internal.mozilla.nsIDOMEvent; |
|---|
| 7 |
import dwt.internal.mozilla.nsIDOMEventListener; |
|---|
| 8 |
import dwt.internal.mozilla.nsStringAPI; |
|---|
| 9 |
|
|---|
| 10 |
alias PRUint64 DOMTimeStamp; |
|---|
| 11 |
|
|---|
| 12 |
const char[] NS_IDOMEVENTTARGET_IID_STR = "1c773b30-d1cf-11d2-bd95-00805f8ae3f4"; |
|---|
| 13 |
|
|---|
| 14 |
const nsIID NS_IDOMEVENTTARGET_IID= |
|---|
| 15 |
{0x1c773b30, 0xd1cf, 0x11d2, |
|---|
| 16 |
[ 0xbd, 0x95, 0x00, 0x80, 0x5f, 0x8a, 0xe3, 0xf4 ]}; |
|---|
| 17 |
|
|---|
| 18 |
//extern(System) |
|---|
| 19 |
|
|---|
| 20 |
interface nsIDOMEventTarget : nsISupports { |
|---|
| 21 |
|
|---|
| 22 |
static const char[] IID_STR = NS_IDOMEVENTTARGET_IID_STR; |
|---|
| 23 |
static const nsIID IID = NS_IDOMEVENTTARGET_IID; |
|---|
| 24 |
|
|---|
| 25 |
extern(System): |
|---|
| 26 |
nsresult AddEventListener(nsAString * type, nsIDOMEventListener listener, PRBool useCapture); |
|---|
| 27 |
nsresult RemoveEventListener(nsAString * type, nsIDOMEventListener listener, PRBool useCapture); |
|---|
| 28 |
nsresult DispatchEvent(nsIDOMEvent evt, PRBool *_retval); |
|---|
| 29 |
|
|---|
| 30 |
} |
|---|