Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/base/nsIAuthPromptCallback.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIAuthPromptCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void onAuthAvailable (in nsISupports aContext, in nsIAuthInformation aAuthInfo); */
Method {
name: "OnAuthAvailable",
params: &[Param { name: "aContext", ty: "*const nsISupports" }, Param { name: "aAuthInfo", ty: "*const nsIAuthInformation" }],
ret: "::nserror::nsresult",
},
/* void onAuthCancelled (in nsISupports aContext, in boolean userCancel); */
Method {
name: "OnAuthCancelled",
params: &[Param { name: "aContext", ty: "*const nsISupports" }, Param { name: "userCancel", ty: "bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}