libquentier
0.5.0
The library for rich desktop clients of Evernote service
|
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/Macros.h>
23 #include <quentier/utility/Linkage.h>
29 QT_FORWARD_DECLARE_CLASS(ErrorString)
30 QT_FORWARD_DECLARE_CLASS(LocalStorageDatabaseUpgrader)
119 friend class LocalStorageDatabaseUpgrader;
147 #endif // LIB_QUENTIER_LOCAL_STORAGE_I_LOCAL_STORAGE_PATCH_H
The ILocalStoragePatch class represents the interface for patches of local storage....
Definition: ILocalStoragePatch.h:39
void backupProgress(double progress)
virtual int toVersion() const =0
void progress(double progress)
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition: ErrorString.h:44
virtual bool restoreLocalStorageFromBackup(ErrorString &errorDescription)=0
virtual bool backupLocalStorage(ErrorString &errorDescription)=0
virtual int fromVersion() const =0
virtual bool apply(ErrorString &errorDescription)=0
void restoreBackupProgress(double progress)
virtual bool removeLocalStorageBackup(ErrorString &errorDescription)=0
virtual QString patchShortDescription() const =0
virtual QString patchLongDescription() const =0