mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +02:00
Enhancements - modifiers
- Now only allows one modifier. - Removed "not", "synth", "next", "first", "last" modifiers. - Modified match logic.
This commit is contained in:
parent
5a0535c9b5
commit
bd0309b4ff
6 changed files with 160 additions and 153 deletions
20
src/Att.h
20
src/Att.h
|
@ -34,12 +34,14 @@
|
|||
class Att
|
||||
{
|
||||
public:
|
||||
Att (); // Default constructor
|
||||
Att (const std::string&, const std::string&); // Simple constructor
|
||||
Att (const std::string&, int); // Simple constructor
|
||||
Att (const Att&); // Copy constructor
|
||||
Att& operator= (const Att&); // Assignment operator
|
||||
~Att (); // Destructor
|
||||
Att ();
|
||||
Att (const std::string&, const std::string&, const std::string&);
|
||||
Att (const std::string&, const std::string&, int);
|
||||
Att (const std::string&, const std::string&);
|
||||
Att (const std::string&, int);
|
||||
Att (const Att&);
|
||||
Att& operator= (const Att&);
|
||||
~Att ();
|
||||
|
||||
bool valid (const std::string&) const;
|
||||
void parse (const std::string&);
|
||||
|
@ -49,8 +51,8 @@ public:
|
|||
|
||||
std::string composeF4 () const;
|
||||
|
||||
void addMod (const std::string&);
|
||||
void mods (std::vector <std::string>&) const;
|
||||
void mod (const std::string&);
|
||||
std::string mod () const;
|
||||
|
||||
std::string name () const;
|
||||
void name (const std::string&);
|
||||
|
@ -70,7 +72,7 @@ private:
|
|||
private:
|
||||
std::string mName;
|
||||
std::string mValue;
|
||||
std::vector <std::string> mMods;
|
||||
std::string mMod;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue