Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIDOMEventTarget.d @ 288:4ee8c4237614
old branches... commit by mistake
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 18:00:50 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
287:9cbe6285f746 | 288:4ee8c4237614 |
---|---|
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 nsresult AddEventListener(nsAString * type, nsIDOMEventListener listener, PRBool useCapture); | |
26 nsresult RemoveEventListener(nsAString * type, nsIDOMEventListener listener, PRBool useCapture); | |
27 nsresult DispatchEvent(nsIDOMEvent evt, PRBool *_retval); | |
28 | |
29 } | |
30 |