mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Datafile: Added data injection methods
This commit is contained in:
parent
634e6bad75
commit
b3e315e08b
2 changed files with 21 additions and 0 deletions
|
@ -40,6 +40,21 @@ std::string Datafile::name () const
|
|||
return _name;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Datafile::addExclusion (const std::string& exclusion)
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Datafile::addInterval (const Interval& interval)
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Datafile::modifyInterval (const Interval& interval)
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string Datafile::dump () const
|
||||
{
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#ifndef INCLUDED_DATAFILE
|
||||
#define INCLUDED_DATAFILE
|
||||
|
||||
#include <Interval.h>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
|
@ -36,6 +37,11 @@ public:
|
|||
Datafile () = default;
|
||||
void initialize (const std::string&);
|
||||
std::string name () const;
|
||||
|
||||
void addExclusion (const std::string&);
|
||||
void addInterval (const Interval&);
|
||||
void modifyInterval (const Interval&);
|
||||
|
||||
std::string dump () const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue