// SPDX-FileCopyrightText: Tobias Fella // SPDX-License-Identifier: LGPL-2.1-or-later #pragma once #include "util.h" #include namespace Quotient { class Room; class QUOTIENT_API MxcReply : public QNetworkReply { Q_OBJECT 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; ImplPtr d; }; }