Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsITaskbarWindowPreview.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsITaskbarWindowPreview",
base: Some("nsITaskbarPreview"),
sync: false,
methods: Ok(&[
/* nsITaskbarPreviewButton getButton (in unsigned long index); */
Method {
name: "GetButton",
params: &[Param { name: "index", ty: "u32" }, Param { name: "_retval", ty: "*mut*const nsITaskbarPreviewButton" }],
ret: "::nserror::nsresult",
},
/* attribute boolean enableCustomDrawing; */
Method {
name: "GetEnableCustomDrawing",
params: &[Param { name: "aEnableCustomDrawing", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetEnableCustomDrawing",
params: &[Param { name: "aEnableCustomDrawing", ty: "bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}