blob: ac3ac4f455cef4d221f4cce8c8494578d3ca08af (
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
|
// 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 Connection;
class MxcReply : public QNetworkReply
{
public:
MxcReply(QNetworkReply* reply, Room* room, const QString &eventId);
MxcReply(QNetworkReply* reply);
MxcReply();
bool isSequential() const override;
public slots:
void abort() override;
protected:
qint64 readData(char *data, qint64 maxSize) override;
private:
class Private;
std::unique_ptr<Private> d;
};
}
|