Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIDOMEventTarget.d @ 272:dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Fri, 18 Jul 2008 05:32:53 -0700 |
parents | |
children | 942da4b6558a |
comparison
equal
deleted
inserted
replaced
271:d472fae79005 | 272:dd63eb078d7a |
---|---|
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 |