Migrated core task modification code to the Task object, leaving wrappers behind for legacy usage.

This commit is contained in:
Thomas 2013-06-10 14:25:53 -04:00 committed by Paul Beckingham
parent 1072852ca8
commit 55a8b157b1
4 changed files with 233 additions and 220 deletions

View file

@ -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&);