Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/places/nsIFaviconService.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIFaviconService",
base: Some("nsISupports"),
sync: false,
methods: Err("jscontext is unsupported"),
},
Interface {
name: "nsIFaviconDataCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void onComplete (in nsIURI aFaviconURI, in unsigned long aDataLen, [array, size_is (aDataLen), const] in octet aData, in AUTF8String aMimeType, in unsigned short aWidth); */
Method {
name: "OnComplete",
params: &[Param { name: "aFaviconURI", ty: "*const nsIURI" }, Param { name: "aDataLen", ty: "u32" }, Param { name: "aData", ty: "*const u8" }, Param { name: "aMimeType", ty: "*const ::nsstring::nsACString" }, Param { name: "aWidth", ty: "u16" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}