1 files changed, 7 insertions, 2 deletions
diff --git a/src/Cache.h b/src/Cache.h
index 99c63550..12465c9d 100644
--- a/src/Cache.h
+++ b/src/Cache.h
@@ -111,10 +111,15 @@ removeRoom(const QString &roomid);
void
setup();
-bool
-isFormatValid();
+//! returns if the format is current, older or newer
+cache::CacheVersion
+formatVersion();
+//! set the format version to the current version
void
setCurrentFormat();
+//! migrates db to the current format
+bool
+runMigrations();
std::map<QString, mtx::responses::Timeline>
roomMessages();
|