mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Datafile: Added ::getLatestInterval
This commit is contained in:
parent
fbe6584447
commit
221cf863b2
2 changed files with 8 additions and 0 deletions
|
@ -40,6 +40,12 @@ std::string Datafile::name () const
|
||||||
return _name;
|
return _name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Interval Datafile::getLatestInterval () const
|
||||||
|
{
|
||||||
|
return Interval ();
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Datafile::addExclusion (const std::string& exclusion)
|
void Datafile::addExclusion (const std::string& exclusion)
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,6 +38,8 @@ public:
|
||||||
void initialize (const std::string&);
|
void initialize (const std::string&);
|
||||||
std::string name () const;
|
std::string name () const;
|
||||||
|
|
||||||
|
Interval getLatestInterval () const;
|
||||||
|
|
||||||
void addExclusion (const std::string&);
|
void addExclusion (const std::string&);
|
||||||
void addInterval (const Interval&);
|
void addInterval (const Interval&);
|
||||||
void modifyInterval (const Interval&);
|
void modifyInterval (const Interval&);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue