Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIPromptService2.d @ 341:942da4b6558a
Ongoing fixup for compile
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Sun, 26 Oct 2008 21:19:51 -0700 |
parents | eec6ddb07873 |
children | 9a4d7706df52 |
comparison
equal
deleted
inserted
replaced
340:3f4a5c7d138f | 341:942da4b6558a |
---|---|
1 module dwt.internal.mozilla.nsIPromptService2; | 1 module dwt.internal.mozilla.nsIPromptService2; |
2 | 2 |
3 import dwt.internal.mozilla.Common; | 3 import dwt.internal.mozilla.Common; |
4 import dwt.internal.mozilla.nsID; | 4 import dwt.internal.mozilla.nsID; |
5 import dwt.internal.mozilla.nsISupports; | 5 import dwt.internal.mozilla.nsISupports; |
6 import dwt.internal.mozilla.nsICancelable; | |
6 import dwt.internal.mozilla.nsIChannel; | 7 import dwt.internal.mozilla.nsIChannel; |
7 import dwt.internal.mozilla.nsIAuthInformation; | 8 import dwt.internal.mozilla.nsIAuthInformation; |
9 import dwt.internal.mozilla.nsIAuthPromptCallback; | |
10 import dwt.internal.mozilla.nsIPromptService; | |
8 | 11 |
9 import dwt.internal.mozilla.nsIDOMWindow; | 12 import dwt.internal.mozilla.nsIDOMWindow; |
10 | 13 |
11 const char[] NS_IPROMPTSERVICE2_IID_STR = "cf86d196-dbee-4482-9dfa-3477aa128319"; | 14 const char[] NS_IPROMPTSERVICE2_IID_STR = "cf86d196-dbee-4482-9dfa-3477aa128319"; |
12 | 15 |
13 const nsIID NS_IPROMPTSERVICE2_IID= | 16 const nsIID NS_IPROMPTSERVICE2_IID= |
14 {0xcf86d196, 0xdbee, 0x4482, | 17 {0xcf86d196, 0xdbee, 0x4482, |
15 [ 0x9d, 0xfa, 0x34, 0x77, 0xaa, 0x12, 0x83, 0x19 ]}; | 18 [ 0x9d, 0xfa, 0x34, 0x77, 0xaa, 0x12, 0x83, 0x19 ]}; |
16 | 19 |
17 extern(System) | 20 //extern(System) |
18 | 21 |
19 interface nsIPromptService2 : nsIPromptService { | 22 interface nsIPromptService2 : nsIPromptService { |
20 | 23 |
21 static const char[] IID_STR = NS_IPROMPTSERVICE2_IID_STR; | 24 static const char[] IID_STR = NS_IPROMPTSERVICE2_IID_STR; |
22 static const nsIID IID = NS_IPROMPTSERVICE2_IID; | 25 static const nsIID IID = NS_IPROMPTSERVICE2_IID; |
23 | 26 |
24 public int PromptAuth(nsIDOMWindow aParent, nsIChannel aChannel, PRUint32 level, nsIAuthInformation authInfo, PRUnichar* checkboxLabel, PRBool* checkValue, PRBool* _retval); | 27 public nsresult PromptAuth(nsIDOMWindow aParent, nsIChannel aChannel, PRUint32 level, nsIAuthInformation authInfo, PRUnichar* checkboxLabel, PRBool* checkValue, PRBool* _retval); |
25 | 28 |
26 public int AsyncPromptAuth(nsIDOMWindow aParent, nsIChannel aChannel, nsIAuthPromptCallback aCallback, nsISupports aContext, PRUint32 level, nsIAuthInformation authInfo, PRUnichar* checkboxLabel, PRBool* checkValue, nsICancelable* _retval); | 29 public nsresult AsyncPromptAuth(nsIDOMWindow aParent, nsIChannel aChannel, nsIAuthPromptCallback aCallback, nsISupports aContext, PRUint32 level, nsIAuthInformation authInfo, PRUnichar* checkboxLabel, PRBool* checkValue, nsICancelable* _retval); |
27 | 30 |
28 } | 31 } |