// SPDX-FileCopyrightText: Tobias Fella // SPDX-License-Identifier: LGPL-2.1-or-later #pragma once #include #include 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 d; }; }