Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsIMacFinderProgress.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIMacFinderProgressCanceledCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void canceled (); */
Method {
name: "Canceled",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIMacFinderProgress",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void init (in AString path, in nsIMacFinderProgressCanceledCallback canceledCallback); */
Method {
name: "Init",
params: &[Param { name: "path", ty: "*const ::nsstring::nsAString" }, Param { name: "canceledCallback", ty: "*const nsIMacFinderProgressCanceledCallback" }],
ret: "::nserror::nsresult",
},
/* void updateProgress (in unsigned long long currentProgress, in unsigned long long totalProgress); */
Method {
name: "UpdateProgress",
params: &[Param { name: "currentProgress", ty: "u64" }, Param { name: "totalProgress", ty: "u64" }],
ret: "::nserror::nsresult",
},
/* void end (); */
Method {
name: "End",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
]; D}