Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsIPrinter.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIPrinterInfo",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute Array<nsIPaper> paperList; */
Method {
name: "GetPaperList",
params: &[Param { name: "aPaperList", ty: "*mut thin_vec::ThinVec<Option<RefPtr<nsIPaper>>>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute nsIPrintSettings defaultSettings; */
Method {
name: "GetDefaultSettings",
params: &[Param { name: "aDefaultSettings", ty: "*mut *const nsIPrintSettings" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIPrinter",
base: Some("nsISupports"),
sync: false,
methods: Err("special type promise unsupported"),
},
]; D}