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