mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
22 lines
409 B
C++
22 lines
409 B
C++
#ifndef ZIPNETWORKREPLY_H
|
|
#define ZIPNETWORKREPLY_H
|
|
|
|
#include <QNetworkReply>
|
|
|
|
class OdfContainer;
|
|
|
|
class ZipNetworkReply : public QNetworkReply
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ZipNetworkReply(QObject* parent, const QNetworkRequest &req, const QNetworkAccessManager::Operation op);
|
|
|
|
void abort();
|
|
protected:
|
|
qint64 readData(char *data, qint64 maxSize) ;
|
|
private:
|
|
OdfContainer *zipFile;
|
|
};
|
|
|
|
#endif // ODF_H
|