|
|
@@ -19,7 +19,9 @@
|
|
|
#include "creds/abstractcredentials.h"
|
|
|
#include "capabilities.h"
|
|
|
#include "theme.h"
|
|
|
+
|
|
|
#include "common/asserts.h"
|
|
|
+#include "clientsideencryption.h"
|
|
|
|
|
|
#include <QLoggingCategory>
|
|
|
#include <QNetworkReply>
|
|
|
@@ -39,6 +41,7 @@ Q_LOGGING_CATEGORY(lcAccount, "sync.account", QtInfoMsg)
|
|
|
Account::Account(QObject *parent)
|
|
|
: QObject(parent)
|
|
|
, _capabilities(QVariantMap())
|
|
|
+ , _encryption(new ClientSideEncryption(this))
|
|
|
, _davPath(Theme::instance()->webDavPath())
|
|
|
{
|
|
|
qRegisterMetaType<AccountPtr>("AccountPtr");
|
|
|
@@ -482,4 +485,9 @@ void Account::setNonShib(bool nonShib)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ClientSideEncryption *Account::cse() const
|
|
|
+{
|
|
|
+ return _encryption;
|
|
|
+}
|
|
|
+
|
|
|
} // namespace OCC
|