Enhancement - recurring tasks
- Implemented handleRecurringTasks. - Implemented TDB::nextId.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user