Virtual Tag: Undocumented, experimental support for 'LATEST'
This commit is contained in:
@@ -1287,6 +1287,13 @@ int TDB2::next_id ()
|
||||
return _id++;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Latest ID is that of the last pending task.
|
||||
int TDB2::latest_id ()
|
||||
{
|
||||
return _id - 1;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
const std::vector <Task> TDB2::all_tasks ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user