Code Migration

- Migrated taskd JSON parser into task, to provide encode/decode
  capability to Task::composeJSON.
- Migrated taskd utf8 code, replacing old unused code.
- Added unit tests or JSON.
- Migrated Tree updates from taskd.
This commit is contained in:
Paul Beckingham 2011-01-22 23:33:47 -05:00
parent 2f4e0d9e17
commit 57c1983e07
13 changed files with 717 additions and 607 deletions

View file

@ -47,9 +47,11 @@ public:
void replaceBranch (Tree*, Tree*);
int branches ();
void name (const std::string&);
std::string name () const;
void attribute (const std::string&, const std::string&);
void attribute (const std::string&, const int);
void attribute (const std::string&, const double);
std::string attribute (const std::string&);
void removeAttribute (const std::string&);
int attributes () const;