Convert Snapshots into Versions of session

Added auto-snapshot on save to have an Iterative Saving mode, and change terminology of 'snapshots' to 'versions' management.
This commit is contained in:
Bruno Herbelin
2021-11-23 22:47:44 +01:00
parent ed7627af6f
commit 5ac7887360
8 changed files with 99 additions and 78 deletions

View File

@@ -99,8 +99,8 @@ public:
// manipulate, load and save sessions
inline Session *session () const { return session_; }
void clear ();
void save ();
void saveas (const std::string& filename);
void save (bool with_version = false);
void saveas (const std::string& filename, bool with_version = false);
void load (const std::string& filename);
void import (const std::string& filename);
void import (SessionSource *source);