mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 18:27:20 +02:00
Migrated core task modification code to the Task object, leaving wrappers behind for legacy usage.
This commit is contained in:
parent
1072852ca8
commit
55a8b157b1
4 changed files with 233 additions and 220 deletions
|
@ -32,6 +32,7 @@
|
|||
#include <map>
|
||||
#include <string>
|
||||
#include <stdio.h>
|
||||
#include <A3.h>
|
||||
|
||||
class Task : public std::map <std::string, std::string>
|
||||
{
|
||||
|
@ -143,6 +144,9 @@ public:
|
|||
float urgency_c () const;
|
||||
float urgency ();
|
||||
|
||||
void modify (const A3&, std::string&);
|
||||
bool next_mod_group (const A3&, Arg&, unsigned int&);
|
||||
|
||||
private:
|
||||
int determineVersion (const std::string&);
|
||||
void parseJSON (const std::string&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue