Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsIMacWebAppUtils.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsITrashAppCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void trashAppFinished (in nsresult rv); */
Method {
name: "TrashAppFinished",
params: &[Param { name: "rv", ty: "nserror::nsresult" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIMacWebAppUtils",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* AString pathForAppWithIdentifier (in AString bundleIdentifier); */
Method {
name: "PathForAppWithIdentifier",
params: &[Param { name: "bundleIdentifier", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* void launchAppWithIdentifier (in AString bundleIdentifier); */
Method {
name: "LaunchAppWithIdentifier",
params: &[Param { name: "bundleIdentifier", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* void trashApp (in AString path, in nsITrashAppCallback callback); */
Method {
name: "TrashApp",
params: &[Param { name: "path", ty: "*const ::nsstring::nsAString" }, Param { name: "callback", ty: "*const nsITrashAppCallback" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}