summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefCloudStorage.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/settings/qPrefCloudStorage.h')
-rw-r--r--core/settings/qPrefCloudStorage.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/settings/qPrefCloudStorage.h b/core/settings/qPrefCloudStorage.h
index 0cb4cc03c..631eaa670 100644
--- a/core/settings/qPrefCloudStorage.h
+++ b/core/settings/qPrefCloudStorage.h
@@ -27,6 +27,15 @@ public:
static void sync() { loadSync(true); }
public:
+ enum cloud_status {
+ CS_UNKNOWN,
+ CS_INCORRECT_USER_PASSWD,
+ CS_NEED_TO_VERIFY,
+ CS_VERIFIED,
+ CS_NOCLOUD
+ };
+ Q_ENUM(cloud_status);
+
static QString cloud_base_url() { return prefs.cloud_base_url; }
static QString cloud_git_url() { return prefs.cloud_git_url; }
static QString cloud_storage_email() { return prefs.cloud_storage_email; }