Mercurial > projects > dwt-linux
diff 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 |
line wrap: on
line diff
--- a/dwt/internal/mozilla/nsIPromptService2.d Sun Oct 26 08:09:00 2008 -0700 +++ b/dwt/internal/mozilla/nsIPromptService2.d Sun Oct 26 21:19:51 2008 -0700 @@ -3,8 +3,11 @@ import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsISupports; +import dwt.internal.mozilla.nsICancelable; import dwt.internal.mozilla.nsIChannel; import dwt.internal.mozilla.nsIAuthInformation; +import dwt.internal.mozilla.nsIAuthPromptCallback; +import dwt.internal.mozilla.nsIPromptService; import dwt.internal.mozilla.nsIDOMWindow; @@ -14,15 +17,15 @@ {0xcf86d196, 0xdbee, 0x4482, [ 0x9d, 0xfa, 0x34, 0x77, 0xaa, 0x12, 0x83, 0x19 ]}; -extern(System) +//extern(System) interface nsIPromptService2 : nsIPromptService { static const char[] IID_STR = NS_IPROMPTSERVICE2_IID_STR; static const nsIID IID = NS_IPROMPTSERVICE2_IID; - public int PromptAuth(nsIDOMWindow aParent, nsIChannel aChannel, PRUint32 level, nsIAuthInformation authInfo, PRUnichar* checkboxLabel, PRBool* checkValue, PRBool* _retval); + public nsresult PromptAuth(nsIDOMWindow aParent, nsIChannel aChannel, PRUint32 level, nsIAuthInformation authInfo, PRUnichar* checkboxLabel, PRBool* checkValue, PRBool* _retval); - public int AsyncPromptAuth(nsIDOMWindow aParent, nsIChannel aChannel, nsIAuthPromptCallback aCallback, nsISupports aContext, PRUint32 level, nsIAuthInformation authInfo, PRUnichar* checkboxLabel, PRBool* checkValue, nsICancelable* _retval); + public nsresult AsyncPromptAuth(nsIDOMWindow aParent, nsIChannel aChannel, nsIAuthPromptCallback aCallback, nsISupports aContext, PRUint32 level, nsIAuthInformation authInfo, PRUnichar* checkboxLabel, PRBool* checkValue, nsICancelable* _retval); }