mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Hooks
- Removed the ability for hooks to add tasks, or modify tasks that are outside the context of the current event. This makes hooks a local mechanism that operates only on local changes. Modifications/additions coming in via sync command are not processed by hooks.
This commit is contained in:
parent
61291e4d1e
commit
1cfdfbae52
9 changed files with 139 additions and 158 deletions
|
@ -44,8 +44,8 @@ public:
|
|||
|
||||
void onLaunch ();
|
||||
void onExit ();
|
||||
void onAdd (std::vector <Task>&);
|
||||
void onModify (const Task&, std::vector <Task>&);
|
||||
void onAdd (Task&);
|
||||
void onModify (const Task&, Task&);
|
||||
|
||||
std::vector <std::string> list ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue