score::CommandBackupFile Class Referencefinal

Abstraction over the backup of commands. More...

Inheritance diagram for score::CommandBackupFile:

Detailed Description

Abstraction over the backup of commands.

Synchronizes the commands of a document to an on-disk file, by maintaining serialized stacks of commands at each new command.

This way, if there is a crash, the document can be restored from the last successful command and only the latest user action is lost.

Public Member Functions

 CommandBackupFile (const score::CommandStack &stack, QObject *parent)
 
 CommandBackupFile (const score::CommandStack &stack, const QByteArray &restored, QObject *parent)
 
QString fileName () const
 

The documentation for this class was generated from the following files: