Dependencies - TDB

- Allowed const access to the internal lists of the TDB object.
This commit is contained in:
Paul Beckingham
2010-07-12 20:22:51 -04:00
parent 27a56d15db
commit 19b803312f
2 changed files with 38 additions and 4 deletions

View File

@@ -56,6 +56,11 @@ public:
int loadPending (std::vector <Task>&, Filter&);
int loadCompleted (std::vector <Task>&, Filter&);
const std::vector <Task>& getAllPending ();
const std::vector <Task>& getAllNew ();
const std::vector <Task>& getAllCompleted ();
const std::vector <Task>& getAllModified ();
void add (const Task&); // Single task add to pending
void update (const Task&); // Single task update to pending
int commit (); // Write out all tasks