|
Revision 327:b0d7eb5bd76c, 0.5 kB
(checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)
|
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
|
| Line | |
|---|
| 1 |
module dwt.internal.mozilla.nsICancelable; |
|---|
| 2 |
|
|---|
| 3 |
import dwt.internal.mozilla.Common; |
|---|
| 4 |
import dwt.internal.mozilla.nsID; |
|---|
| 5 |
import dwt.internal.mozilla.nsISupports; |
|---|
| 6 |
|
|---|
| 7 |
const char[] NS_ICANCELABLE_IID_STR = "d94ac0a0-bb18-46b8-844e-84159064b0bd"; |
|---|
| 8 |
|
|---|
| 9 |
const nsIID NS_ICANCELABLE_IID= |
|---|
| 10 |
{0xd94ac0a0, 0xbb18, 0x46b8, |
|---|
| 11 |
[ 0x84, 0x4e, 0x84, 0x15, 0x90, 0x64, 0xb0, 0xbd ]}; |
|---|
| 12 |
|
|---|
| 13 |
interface nsICancelable : nsISupports { |
|---|
| 14 |
|
|---|
| 15 |
static const char[] IID_STR = NS_ICANCELABLE_IID_STR; |
|---|
| 16 |
static const nsIID IID = NS_ICANCELABLE_IID; |
|---|
| 17 |
|
|---|
| 18 |
extern(System): |
|---|
| 19 |
nsresult Cancel(nsresult aReason); |
|---|
| 20 |
} |
|---|