aboutsummaryrefslogtreecommitdiff
path: root/lib/encryptionmanager.h
diff options
context:
space:
mode:
authorAlexey Andreyev <aa13q@ya.ru>2019-07-14 03:54:19 +0300
committerAlexey Andreyev <aa13q@ya.ru>2019-07-27 13:33:27 +0300
commit2737dc00334ad3a56c1b311435dbe84453ee389e (patch)
treea2c53b90279728fa69cf5726ce8a1b39999a5b01 /lib/encryptionmanager.h
parentf1546e894b2a7550bce3e8d84067968bf5cf7087 (diff)
downloadlibquotient-2737dc00334ad3a56c1b311435dbe84453ee389e.tar.gz
libquotient-2737dc00334ad3a56c1b311435dbe84453ee389e.zip
E2EE: introduce EncryptedEvent
Diffstat (limited to 'lib/encryptionmanager.h')
-rw-r--r--lib/encryptionmanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/encryptionmanager.h b/lib/encryptionmanager.h
index 40fe7383..0225969d 100644
--- a/lib/encryptionmanager.h
+++ b/lib/encryptionmanager.h
@@ -4,6 +4,10 @@
#include <memory>
#include <QtCore/QObject>
+namespace QtOlm {
+ class Account;
+}
+
namespace QMatrixClient
{
class Connection;
@@ -23,6 +27,8 @@ namespace QMatrixClient
void uploadOneTimeKeys(Connection* connection, bool forceUpdate = false);
QByteArray olmAccountPickle();
+ QtOlm::Account* account() const;
+
private:
class Private;
std::unique_ptr<Private> d;