mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Exclusion: New syntax
- Removed ::serialize which is unused. - Moved to a two-arg ctor, rather than a 2-step init.
This commit is contained in:
parent
07077ebee4
commit
500fa9784a
2 changed files with 44 additions and 48 deletions
|
@ -35,13 +35,10 @@
|
|||
class Exclusion
|
||||
{
|
||||
public:
|
||||
Exclusion () = default;
|
||||
void initialize (const std::string&);
|
||||
Exclusion (const std::string&, const std::string&);
|
||||
std::vector <std::string> tokens () const;
|
||||
std::vector <Range> ranges (const Range&) const;
|
||||
bool additive () const;
|
||||
|
||||
std::string serialize () const;
|
||||
std::string dump () const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue