comparison dwt/internal/mozilla/nsIEventTarget.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.nsIEventTarget;
2
3 import dwt.internal.mozilla.Common;
4 import dwt.internal.mozilla.nsISupports;
5 import dwt.internal.mozilla.nsID;
6
7 const char[] NS_IEVENTTARGET_IID_STR = "ea99ad5b-cc67-4efb-97c9-2ef620a59f2a";
8
9 const nsIID NS_IEVENTTARGET_IID=
10 {0xea99ad5b, 0xcc67, 0x4efb,
11 [ 0x97, 0xc9, 0x2e, 0xf6, 0x20, 0xa5, 0x9f, 0x2a ]};
12
13 extern(System)
14
15 interface nsIEventTarget : nsISupports {
16
17 static const char[] IID_STR = NS_IEVENTTARGET_IID_STR;
18 static const nsIID IID = NS_IEVENTTARGET_IID;
19
20 nsresult PostEvent(PLEvent * aEvent);
21 nsresult IsOnCurrentThread(PRBool *_retval);
22 }
23