mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Datafile: Exclusions now provided at a vector
This commit is contained in:
parent
b29f458a7b
commit
a65f4c3fd2
2 changed files with 6 additions and 2 deletions
|
@ -42,7 +42,7 @@ public:
|
|||
Interval getLatestInterval ();
|
||||
std::vector <Interval> getAllIntervals ();
|
||||
|
||||
void addExclusion (const std::string&);
|
||||
void setExclusions (const std::vector <std::string>&);
|
||||
void addInterval (const Interval&);
|
||||
void modifyInterval (const Interval&);
|
||||
|
||||
|
@ -69,6 +69,9 @@ private:
|
|||
std::vector <Interval> _intervals {};
|
||||
bool _intervals_loaded {false};
|
||||
|
||||
// Exclusions fed from Database.
|
||||
std::vector <std::string> _exclusions {};
|
||||
|
||||
Datetime _day1 {0};
|
||||
Datetime _dayN {0};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue