Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/backgroundtasks/nsIBackgroundTasks.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIBackgroundTasks",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute boolean isBackgroundTaskMode; */
Method {
name: "GetIsBackgroundTaskMode",
params: &[Param { name: "aIsBackgroundTaskMode", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* AString backgroundTaskName (); */
Method {
name: "BackgroundTaskName",
params: &[Param { name: "_retval", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* void overrideBackgroundTaskNameForTesting (in AString taskName); */
Method {
name: "OverrideBackgroundTaskNameForTesting",
params: &[Param { name: "taskName", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}