19#ifndef LIB_QUENTIER_LOCAL_STORAGE_I_LOCAL_STORAGE_PATCH_H
20#define LIB_QUENTIER_LOCAL_STORAGE_I_LOCAL_STORAGE_PATCH_H
22#include <quentier/utility/Linkage.h>
28QT_FORWARD_DECLARE_CLASS(ErrorString)
29QT_FORWARD_DECLARE_CLASS(LocalStorageDatabaseUpgrader)
118 friend class LocalStorageDatabaseUpgrader;
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition ErrorString.h:44
The ILocalStoragePatch class represents the interface for patches of local storage....
Definition ILocalStoragePatch.h:38
void backupProgress(double progress)
virtual int toVersion() const =0
void restoreBackupProgress(double progress)
virtual bool restoreLocalStorageFromBackup(ErrorString &errorDescription)=0
void progress(double progress)
virtual QString patchShortDescription() const =0
virtual bool removeLocalStorageBackup(ErrorString &errorDescription)=0
virtual bool apply(ErrorString &errorDescription)=0
virtual int fromVersion() const =0
virtual bool backupLocalStorage(ErrorString &errorDescription)=0
virtual QString patchLongDescription() const =0