mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
#9 TI-1: Make undo work with interval actions
- Add creator method to create interval from JSON string - Add getters for UndoAction fields - Make Database::modifyInterval work with empty intervals (i.e. ignore them at the respective command)
This commit is contained in:
parent
86258cdb93
commit
29e305033b
6 changed files with 82 additions and 2 deletions
|
@ -34,6 +34,10 @@ class UndoAction
|
|||
public:
|
||||
UndoAction(const std::string&, const std::string&, const std::string&);
|
||||
|
||||
std::string getType();
|
||||
std::string getBefore();
|
||||
std::string getAfter();
|
||||
|
||||
std::string toString ();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue