mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
#9 TI-1: Add TransactionFactory
- CmdUndo pops last transaction from array (and applies undo actions - tbd) - TransactionFactory reads contents of undo.data into transaction array - Transaction array is written back to undo.data
This commit is contained in:
parent
d8a4b8ff43
commit
76ee22e7e5
8 changed files with 175 additions and 0 deletions
|
@ -54,6 +54,8 @@ public:
|
|||
void recordConfigAction(const std::string&, const std::string&);
|
||||
void recordIntervalAction(const std::string&, const std::string&);
|
||||
|
||||
Transaction popLastTransaction ();
|
||||
|
||||
std::string dump () const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue