Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2018-05-02 16:40:54 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2020-12-15 12:57:53 +0300
commit87ba4e6b9cde0cbc077de1217072a311733a03c0 (patch)
treebc563048656bde141b13c81e1caf83614717873d /src/gui/folderman.h
parentaa6f5f59c437ed244c949857b2bbb6b961d59d0a (diff)
Config: Add version flags to accounts and folders
Also, if there is too-new configuration, backup the file, show a warning message asking the user whether it's ok to discard the configuration from the future. See #6504
Diffstat (limited to 'src/gui/folderman.h')
-rw-r--r--src/gui/folderman.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/folderman.h b/src/gui/folderman.h
index 8d81ace0d..7264e1f82 100644
--- a/src/gui/folderman.h
+++ b/src/gui/folderman.h
@@ -68,6 +68,12 @@ public:
int setupFolders();
int setupFoldersMigration();
+ /**
+ * Returns a list of keys that can't be read because they are from
+ * future versions.
+ */
+ static QStringList backwardMigrationKeys();
+
OCC::Folder::Map map();
/** Adds a folder for an account, ensures the journal is gone and saves it in the settings.