Mercurial > projects > dwt-win
diff dwt/internal/mozilla/nsICancelable.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/internal/mozilla/nsICancelable.d Fri Jan 02 17:45:10 2009 -0800 @@ -0,0 +1,21 @@ +module dwt.internal.mozilla.nsICancelable; + +import dwt.internal.mozilla.Common; +import dwt.internal.mozilla.nsID; +import dwt.internal.mozilla.nsISupports; + +const char[] NS_ICANCELABLE_IID_STR = "d94ac0a0-bb18-46b8-844e-84159064b0bd"; + +const nsIID NS_ICANCELABLE_IID= + {0xd94ac0a0, 0xbb18, 0x46b8, + [ 0x84, 0x4e, 0x84, 0x15, 0x90, 0x64, 0xb0, 0xbd ]}; + +interface nsICancelable : nsISupports { + + static const char[] IID_STR = NS_ICANCELABLE_IID_STR; + static const nsIID IID = NS_ICANCELABLE_IID; + +extern(System): + nsresult Cancel(nsresult aReason); +} +