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: "nsIFavicon",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute nsIURI uri; */
Method {
name: "GetUri",
params: &[Param { name: "aUri", ty: "*mut*const nsIURI" }],
ret: "::nserror::nsresult",
},
/* readonly attribute nsIURI dataURI; */
Method {
name: "GetDataURI",
params: &[Param { name: "aDataURI", ty: "*mut*const nsIURI" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> rawData; */
Method {
name: "GetRawData",
params: &[Param { name: "aRawData", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString mimeType; */
Method {
name: "GetMimeType",
params: &[Param { name: "aMimeType", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute unsigned short width; */
Method {
name: "GetWidth",
params: &[Param { name: "aWidth", ty: "*mut u16" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}