diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-07-31 17:33:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-31 17:33:31 +0900 |
commit | f5083ee71e6fad9f28c4b835899f3ad574b426f1 (patch) | |
tree | 32039492751db53d89188a403f112e6c3e068af4 /lib/encryptionmanager.h | |
parent | 0df1cdcf40fd639f039f0c0e7165c8c40f6efd79 (diff) | |
parent | 2737dc00334ad3a56c1b311435dbe84453ee389e (diff) | |
download | libquotient-f5083ee71e6fad9f28c4b835899f3ad574b426f1.tar.gz libquotient-f5083ee71e6fad9f28c4b835899f3ad574b426f1.zip |
Merge pull request #335 from quotient-im/aa13q-e2ee-encrypted-msg
E2EE: introduce EncryptedEvent
Diffstat (limited to 'lib/encryptionmanager.h')
-rw-r--r-- | lib/encryptionmanager.h | 6 |
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; |