blob: 23049b7db36ffc59595710b3cda14b5009e68011 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// SPDX-FileCopyrightText: Tobias Fella <fella@posteo.de>
// SPDX-License-Identifier: LGPL-2.1-or-later
#pragma once
#include "quotient_export.h"
#include <QtNetwork/QNetworkReply>
#include <memory>
namespace Quotient {
class Room;
class QUOTIENT_API MxcReply : public QNetworkReply
{
public:
explicit MxcReply();
explicit MxcReply(QNetworkReply *reply);
MxcReply(QNetworkReply* reply, Room* room, const QString& eventId);
public Q_SLOTS:
void abort() override;
protected:
qint64 readData(char *data, qint64 maxSize) override;
private:
class Private;
std::unique_ptr<Private> d;
};
}
|