mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Datafile: Added stubbed ::getAllIntervals[Since] methods
This commit is contained in:
parent
d0da2c9ac6
commit
889ccaaf73
2 changed files with 20 additions and 0 deletions
|
@ -55,6 +55,22 @@ std::string Datafile::name () const
|
|||
Interval Datafile::getLatestInterval ()
|
||||
{
|
||||
return Interval ();
|
||||
// TODO Load data
|
||||
// TODO Return the last element in _lines.
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::vector <Interval> Datafile::getAllIntervalsSince (Datetime)
|
||||
{
|
||||
// TODO Load data
|
||||
return {};
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::vector <Interval> Datafile::getAllIntervals ()
|
||||
{
|
||||
// TODO Load data
|
||||
return {};
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue