| 1 |
module dwt.internal.mozilla.nsIPromptService2; |
|---|
| 2 |
|
|---|
| 3 |
import dwt.internal.mozilla.Common; |
|---|
| 4 |
import dwt.internal.mozilla.nsID; |
|---|
| 5 |
import dwt.internal.mozilla.nsISupports; |
|---|
| 6 |
import dwt.internal.mozilla.nsICancelable; |
|---|
| 7 |
import dwt.internal.mozilla.nsIChannel; |
|---|
| 8 |
import dwt.internal.mozilla.nsIAuthInformation; |
|---|
| 9 |
import dwt.internal.mozilla.nsIAuthPromptCallback; |
|---|
| 10 |
import dwt.internal.mozilla.nsIPromptService; |
|---|
| 11 |
|
|---|
| 12 |
import dwt.internal.mozilla.nsIDOMWindow; |
|---|
| 13 |
|
|---|
| 14 |
const char[] NS_IPROMPTSERVICE2_IID_STR = "cf86d196-dbee-4482-9dfa-3477aa128319"; |
|---|
| 15 |
|
|---|
| 16 |
const nsIID NS_IPROMPTSERVICE2_IID= |
|---|
| 17 |
{0xcf86d196, 0xdbee, 0x4482, |
|---|
| 18 |
[ 0x9d, 0xfa, 0x34, 0x77, 0xaa, 0x12, 0x83, 0x19 ]}; |
|---|
| 19 |
|
|---|
| 20 |
interface nsIPromptService2 : nsIPromptService { |
|---|
| 21 |
|
|---|
| 22 |
static const char[] IID_STR = NS_IPROMPTSERVICE2_IID_STR; |
|---|
| 23 |
static const nsIID IID = NS_IPROMPTSERVICE2_IID; |
|---|
| 24 |
|
|---|
| 25 |
extern(System): |
|---|
| 26 |
public nsresult PromptAuth(nsIDOMWindow aParent, nsIChannel aChannel, PRUint32 level, nsIAuthInformation authInfo, PRUnichar* checkboxLabel, PRBool* checkValue, PRBool* _retval); |
|---|
| 27 |
|
|---|
| 28 |
public nsresult AsyncPromptAuth(nsIDOMWindow aParent, nsIChannel aChannel, nsIAuthPromptCallback aCallback, nsISupports aContext, PRUint32 level, nsIAuthInformation authInfo, PRUnichar* checkboxLabel, PRBool* checkValue, nsICancelable* _retval); |
|---|
| 29 |
|
|---|
| 30 |
} |
|---|