libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
qolmmessage.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2021 Alexey Andreyev <aa13q@ya.ru>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#pragma once
6
7#include <Quotient/quotient_export.h>
8
9#include <QtCore/QByteArray>
10#include <qobjectdefs.h>
11#include <olm/olm.h>
12
13namespace Quotient {
14
15/*! \brief A wrapper around an olm encrypted message
16 *
17 * This class encapsulates a Matrix olm encrypted message,
18 * passed in either of 2 forms: a general message or a pre-key message.
19 *
20 * The class provides functions to get a type and the ciphertext.
21 */
24public:
25 enum Type {
28 };
30
32
34
37
38private:
40};
41
42} //namespace Quotient
A wrapper around an olm encrypted message.
Definition qolmmessage.h:22
#define QUOTIENT_API