Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsIPrintDialogService.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIPrintDialogService",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void init (); */
Method {
name: "Init",
params: &[],
ret: "::nserror::nsresult",
},
/* void showPrintDialog (in mozIDOMWindowProxy aParent, in boolean aHaveSelection, in nsIPrintSettings aPrintSettings); */
Method {
name: "ShowPrintDialog",
params: &[Param { name: "aParent", ty: "*const mozIDOMWindowProxy" }, Param { name: "aHaveSelection", ty: "bool" }, Param { name: "aPrintSettings", ty: "*const nsIPrintSettings" }],
ret: "::nserror::nsresult",
},
/* void showPageSetupDialog (in mozIDOMWindowProxy aParent, in nsIPrintSettings aPrintSettings); */
Method {
name: "ShowPageSetupDialog",
params: &[Param { name: "aParent", ty: "*const mozIDOMWindowProxy" }, Param { name: "aPrintSettings", ty: "*const nsIPrintSettings" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}