mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Database: Exclusions are back to being strings again
This commit is contained in:
parent
1aa72f99b6
commit
b29f458a7b
3 changed files with 18 additions and 14 deletions
|
@ -29,7 +29,6 @@
|
|||
|
||||
#include <Datafile.h>
|
||||
#include <Interval.h>
|
||||
#include <Exclusion.h>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
|
@ -45,7 +44,7 @@ public:
|
|||
std::vector <Interval> getAllIntervals ();
|
||||
|
||||
void clearExclusions ();
|
||||
void addExclusion (const Exclusion&);
|
||||
void addExclusion (const std::string&);
|
||||
void addInterval (const Interval&);
|
||||
void modifyInterval (const Interval&);
|
||||
|
||||
|
@ -55,9 +54,9 @@ private:
|
|||
std::string currentDataFile () const;
|
||||
|
||||
private:
|
||||
std::string _location {"~/.timewarrior/data"};
|
||||
std::vector <Datafile> _files {};
|
||||
std::vector <Exclusion> _exclusions {};
|
||||
std::string _location {"~/.timewarrior/data"};
|
||||
std::vector <Datafile> _files {};
|
||||
std::vector <std::string> _exclusions {};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue