|
Revision 327:b0d7eb5bd76c, 0.7 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.nsIAuthPromptCallback; |
|---|
| 2 |
|
|---|
| 3 |
import dwt.internal.mozilla.Common; |
|---|
| 4 |
import dwt.internal.mozilla.nsID; |
|---|
| 5 |
import dwt.internal.mozilla.nsISupports; |
|---|
| 6 |
import dwt.internal.mozilla.nsIAuthInformation; |
|---|
| 7 |
|
|---|
| 8 |
const char[] NS_IAUTHPROMPTCALLBACK_IID_STR = "bdc387d7-2d29-4cac-92f1-dd75d786631d"; |
|---|
| 9 |
|
|---|
| 10 |
const nsIID NS_IAUTHPROMPTCALLBACK_IID= |
|---|
| 11 |
{0xbdc387d7, 0x2d29, 0x4cac, |
|---|
| 12 |
[ 0x92, 0xf1, 0xdd, 0x75, 0xd7, 0x86, 0x63, 0x1d ]}; |
|---|
| 13 |
|
|---|
| 14 |
interface nsIAuthPromptCallback : nsISupports { |
|---|
| 15 |
|
|---|
| 16 |
static const char[] IID_STR = NS_IAUTHPROMPTCALLBACK_IID_STR; |
|---|
| 17 |
static const nsIID IID = NS_IAUTHPROMPTCALLBACK_IID; |
|---|
| 18 |
|
|---|
| 19 |
extern(System): |
|---|
| 20 |
nsresult OnAuthAvailable(nsISupports aContext, nsIAuthInformation aAuthInfo); |
|---|
| 21 |
nsresult OnAuthCancelled(nsISupports aContext, PRBool userCancel); |
|---|
| 22 |
} |
|---|