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