Mercurial > projects > dwt-linux
diff dwt/internal/mozilla/nsIAuthPromptCallback.d @ 298:eec6ddb07873
More xpcom/mozilla port
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Sun, 10 Aug 2008 22:25:43 -0700 |
parents | |
children | 942da4b6558a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/internal/mozilla/nsIAuthPromptCallback.d Sun Aug 10 22:25:43 2008 -0700 @@ -0,0 +1,23 @@ +module dwt.internal.mozilla.nsIAuthPromptCallback; + +import dwt.internal.mozilla.Common; +import dwt.internal.mozilla.nsID; +import dwt.internal.mozilla.nsISupports; +import dwt.internal.mozilla.nsIAuthInformation; + +const char[] NS_IAUTHPROMPTCALLBACK_IID_STR = "bdc387d7-2d29-4cac-92f1-dd75d786631d"; + +const nsIID NS_IAUTHPROMPTCALLBACK_IID= + {0xbdc387d7, 0x2d29, 0x4cac, + [ 0x92, 0xf1, 0xdd, 0x75, 0xd7, 0x86, 0x63, 0x1d ]}; + +extern(System) + +interface nsIAuthPromptCallback : nsISupports { + + static const char[] IID_STR = NS_IAUTHPROMPTCALLBACK_IID_STR; + static const nsIID IID = NS_IAUTHPROMPTCALLBACK_IID; + + nsresult OnAuthAvailable(nsISupports aContext, nsIAuthInformation aAuthInfo); + nsresult OnAuthCancelled(nsISupports aContext, PRBool userCancel); +}