aboutsummaryrefslogtreecommitdiff
path: root/lib/encryptionmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/encryptionmanager.h')
-rw-r--r--lib/encryptionmanager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/encryptionmanager.h b/lib/encryptionmanager.h
index a41d88e1..02bb882f 100644
--- a/lib/encryptionmanager.h
+++ b/lib/encryptionmanager.h
@@ -5,6 +5,11 @@
#include <functional>
#include <memory>
+namespace QtOlm
+{
+class Account;
+}
+
namespace QMatrixClient
{
class Connection;
@@ -26,6 +31,8 @@ public:
void uploadOneTimeKeys(Connection* connection, bool forceUpdate = false);
QByteArray olmAccountPickle();
+ QtOlm::Account* account() const;
+
private:
class Private;
std::unique_ptr<Private> d;