Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/taskscheduler/nsIWinTaskSchedulerService.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIWinTaskSchedulerService",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void registerTask (in wstring aFolderName, in wstring aTaskName, in wstring aDefinitionXML, [optional] in boolean aUpdateExisting); */
Method {
name: "RegisterTask",
params: &[Param { name: "aFolderName", ty: "*const u16" }, Param { name: "aTaskName", ty: "*const u16" }, Param { name: "aDefinitionXML", ty: "*const u16" }, Param { name: "aUpdateExisting", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* long validateTaskDefinition (in wstring aDefinitionXML); */
Method {
name: "ValidateTaskDefinition",
params: &[Param { name: "aDefinitionXML", ty: "*const u16" }, Param { name: "_retval", ty: "*mut i32" }],
ret: "::nserror::nsresult",
},
/* AString getTaskXML (in wstring aFolderName, in wstring aTaskName); */
Method {
name: "GetTaskXML",
params: &[Param { name: "aFolderName", ty: "*const u16" }, Param { name: "aTaskName", ty: "*const u16" }, Param { name: "_retval", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* AString getCurrentUserSid (); */
Method {
name: "GetCurrentUserSid",
params: &[Param { name: "_retval", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* void deleteTask (in wstring aFolderName, in wstring aTaskName); */
Method {
name: "DeleteTask",
params: &[Param { name: "aFolderName", ty: "*const u16" }, Param { name: "aTaskName", ty: "*const u16" }],
ret: "::nserror::nsresult",
},
/* Array<AString> getFolderTasks (in wstring aFolderName); */
Method {
name: "GetFolderTasks",
params: &[Param { name: "aFolderName", ty: "*const u16" }, Param { name: "_retval", ty: "*mut thin_vec::ThinVec<::nsstring::nsString>" }],
ret: "::nserror::nsresult",
},
/* void createFolder (in wstring aParentFolderName, in wstring aSubFolderName); */
Method {
name: "CreateFolder",
params: &[Param { name: "aParentFolderName", ty: "*const u16" }, Param { name: "aSubFolderName", ty: "*const u16" }],
ret: "::nserror::nsresult",
},
/* void deleteFolder (in wstring aParentFolderName, in wstring aSubFolderName); */
Method {
name: "DeleteFolder",
params: &[Param { name: "aParentFolderName", ty: "*const u16" }, Param { name: "aSubFolderName", ty: "*const u16" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}