Enhancement - undo

- Now creates/opens/closes undo.data file.
- All new tasks are logged in undo.data file.
This commit is contained in:
Paul Beckingham 2009-06-28 12:23:46 -04:00
parent 58d7de8478
commit c29682b91f
4 changed files with 41 additions and 6 deletions

View file

@ -32,6 +32,7 @@ Location::Location ()
: path ("")
, pending (NULL)
, completed (NULL)
, undo (NULL)
{
}
@ -47,6 +48,7 @@ Location::Location (const Location& other)
path = other.path;
pending = other.pending;
completed = other.completed;
undo = other.undo;
}
////////////////////////////////////////////////////////////////////////////////
@ -57,6 +59,7 @@ Location& Location::operator= (const Location& other)
path = other.path;
pending = other.pending;
completed = other.completed;
undo = other.undo;
}
return *this;