blob: efaf01c6265aa66f6e8e128fc407baa150f4e12f (
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
|
// SPDX-FileCopyrightText: Tobias Fella <fella@posteo.de>
// SPDX-License-Identifier: LGPL-2.1-or-later
#pragma once
#include <QtNetwork/QNetworkReply>
#include <memory>
namespace Quotient {
class Room;
class 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;
};
}
|