Enhancement - recurring tasks

- Implemented handleRecurringTasks.
- Implemented TDB::nextId.
This commit is contained in:
Paul Beckingham 2009-06-18 00:02:12 -04:00
parent 840c61cbbf
commit 4d43b77441
4 changed files with 44 additions and 39 deletions

View file

@ -196,6 +196,7 @@ int TDB::loadPending (std::vector <Task>& tasks, Filter& filter)
try
{
mId = 1;
char line[T_LINE_MAX];
foreach (location, mLocations)
{
@ -425,6 +426,12 @@ int TDB::gc ()
return count;
}
////////////////////////////////////////////////////////////////////////////////
int TDB::nextId ()
{
return mId++;
}
////////////////////////////////////////////////////////////////////////////////
FILE* TDB::openAndLock (const std::string& file)
{