Mercurial > projects > dwt-linux
diff dwt/internal/mozilla/nsIDOMUIEvent.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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/internal/mozilla/nsIDOMUIEvent.d Fri Jul 18 05:32:53 2008 -0700 @@ -0,0 +1,28 @@ +module dwt.internal.mozilla.nsIDOMUIEvent; + +import dwt.internal.mozilla.Common; +import dwt.internal.mozilla.nsID; + +import dwt.internal.mozilla.nsIDOMEvent; +import dwt.internal.mozilla.nsStringAPI; +import dwt.internal.mozilla.nsIDOMAbstractView; + +const char[] NS_IDOMUIEVENT_IID_STR = "a6cf90c3-15b3-11d2-932e-00805f8add32"; + +const nsIID NS_IDOMUIEVENT_IID= + {0xa6cf90c3, 0x15b3, 0x11d2, + [ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 ]}; + +extern(System) + +interface nsIDOMUIEvent : nsIDOMEvent { + + static const char[] IID_STR = NS_IDOMUIEVENT_IID_STR; + static const nsIID IID = NS_IDOMUIEVENT_IID; + + nsresult GetView(nsIDOMAbstractView *aView); + nsresult GetDetail(PRInt32 *aDetail); + nsresult InitUIEvent(nsAString * typeArg, PRBool canBubbleArg, PRBool cancelableArg, nsIDOMAbstractView viewArg, PRInt32 detailArg); + +} +