Commit Graph

43 Commits

Author SHA1 Message Date
Dmitry Timoshkov 8d7d858d2b mstask: Improve ITask::GetNextRunTime() stub.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:56:13 +02:00
Dmitry Timoshkov c3a30bcfb9 mstask: Add dirty flag management.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:55:40 +02:00
Dmitry Timoshkov 37ae95dfd9 mstask: Forward IPersistFile::AddRef()/Release() to parent object.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:55:35 +02:00
Dmitry Timoshkov 98241dfa5a mstask: Switch to using heap wrappers.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:55:31 +02:00
Dmitry Timoshkov 71c264526f mstask: Return S_OK from ITask::SetFlags().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 10:51:04 +02:00
Dmitry Timoshkov 114f86e74e mstask: Implement IPersistFile::Load().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 10:51:01 +02:00
Dmitry Timoshkov ce0d9956f5 mstask: Implement IPersistFile::GetCurFile().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 10:49:57 +02:00
Dmitry Timoshkov 0ad429aff6 mstask: Implement ITask::GetTrigger().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:42 +02:00
Dmitry Timoshkov 0049deca7a mstask: Implement ITask::DeleteTrigger().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:39 +02:00
Dmitry Timoshkov bcb50e2d12 mstask: Implement ITask::CreateTrigger().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:35 +02:00
Dmitry Timoshkov 90160bd65d mstask: Implement ITask::GetTriggerCount().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:32 +02:00
Dmitry Timoshkov bdb78491cb mstask: Fix saving the triggers.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:28 +02:00
Dmitry Timoshkov f997b16230 mstask: Initialize task file name in the task constructor.
IPersistFile::Save() receives full path name.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:25 +02:00
Dmitry Timoshkov 66d8e7f6a9 mstask: Save a task with at least 1 trigger to follow the .job file spec.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:17 +02:00
Dmitry Timoshkov e4b7334574 mstask: Implement IPersistFile::Save().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:10:25 +02:00
Dmitry Timoshkov be8a21f136 mstask: Implement better stub for ITask::GetMostRecentRunTime().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:09:19 +02:00
Dmitry Timoshkov 23be14b1af mstask: Implement better stub for ITask::GetExitCode().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:09:13 +02:00
Dmitry Timoshkov 2e04dd1c4a mstask: Implement ITask::GetPriority().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:09:05 +02:00
Dmitry Timoshkov d08a101a28 mstask: Implement ITask::GetIdleWait().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:09:01 +02:00
Dmitry Timoshkov 9d113d353b mstask: ITask::GetErrorRetryInterval() is not implemented.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:08:52 +02:00
Dmitry Timoshkov a933e2e040 mstask: ITask::GetErrorRetryCount() is not implemented.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:08:48 +02:00
Dmitry Timoshkov 5907782d59 mstask: Implement ITask::GetStatus().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:08:36 +02:00
Dmitry Timoshkov cbe3300b1e mstask: Implement IPersistFile::GetClassID().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:08:26 +02:00
Dmitry Timoshkov 8f81fa82d5 mstask: Store creator using IRegistrationInfo.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:55 +02:00
Dmitry Timoshkov 6ff9f7e870 mstask: Store comment using IRegistrationInfo.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:55 +02:00
Dmitry Timoshkov 52df130d29 mstask: Implement setting and getting a task comment using IExecAction.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov 04e240b3a7 mstask: Implement setting and getting working directory using IExecAction.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov cad2e5e8e2 mstask: Implement setting and getting parameters using IExecAction.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov b9ebac70a8 mstask: Implement setting and getting an application name using IExecAction.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov a6866be904 mstask: Improve stubs for ITask::GetTaskFlags and ITask::GetFlags.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov 7ef83b2797 mstask: Switch to using ITaskDefinition instead of IRegisteredTask.
Testing under Windows revealed that task definition on disk should be
created only when IPersistFile::Save() is called, and until that ITask
should stay as a task description in memory.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov b4539f7136 mstask: Reimplement ITask constructor using ITaskFolder methods.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-13 22:38:59 +01:00
Dmitry Timoshkov eb408f2dd9 mstask: Make each source file self-contained.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-13 22:38:59 +01:00
Michael Stefaniuc 591b59420d mstask: Use ifaces instead of vtbl pointers in TaskImpl. 2011-01-24 14:43:25 +01:00
Roy Shea 7c5f411e7a mstask: Implemented CreateTrigger. 2008-08-26 12:07:42 +02:00
Roy Shea 2172120fae mstask: Implemented PersistFile_Save stub. 2008-08-25 12:28:10 +02:00
Roy Shea f208025228 mstask: Implemented partial stub for (Set|Get)AccountInformation. 2008-08-22 11:32:08 +02:00
Roy Shea a597d9eaed mstask: Implemented (Set|Get)MaxRunTime. 2008-08-22 11:32:08 +02:00
Roy Shea 37708b1e5c mstask: Implemented (Set|Get)Comment. 2008-08-22 11:32:08 +02:00
Roy Shea 2f95e5123b mstask: Implement (Set|Get)Parameters. 2008-08-22 11:32:08 +02:00
Roy Shea aec0eb87de mstask: Task PersistFile AddRef, QueryInterface, and Release. 2008-08-22 11:32:08 +02:00
Roy Shea ca73655124 mstask: Implemented (Set|Get)ApplicationName. 2008-08-21 13:42:08 +02:00
Roy Shea 777c2f1d46 mstask: Task stub with AddRef, QueryInterface, and Release. 2008-08-05 14:09:37 +02:00