1 module org.eclipse.swt.internal.mozilla.nsIAuthPromptCallback; 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.nsIAuthInformation; 9 10 const char[] NS_IAUTHPROMPTCALLBACK_IID_STR = "bdc387d7-2d29-4cac-92f1-dd75d786631d"; 11 12 const nsIID NS_IAUTHPROMPTCALLBACK_IID= 13 {0xbdc387d7, 0x2d29, 0x4cac, 14 [ 0x92, 0xf1, 0xdd, 0x75, 0xd7, 0x86, 0x63, 0x1d ]}; 15 16 interface nsIAuthPromptCallback : nsISupports { 17 18 static const char[] IID_STR = NS_IAUTHPROMPTCALLBACK_IID_STR; 19 static const nsIID IID = NS_IAUTHPROMPTCALLBACK_IID; 20 21 extern(System): 22 nsresult OnAuthAvailable(nsISupports aContext, nsIAuthInformation aAuthInfo); 23 nsresult OnAuthCancelled(nsISupports aContext, PRBool userCancel); 24 }