summaryrefslogtreecommitdiffstats
path: root/depends/quazip/quagzipfile.h
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2015-02-12 22:01:20 +0100
committerJan Dalheimer <jan@dalheimer.de>2015-02-19 21:04:27 +0100
commita53f8d506e212f862f54e5a758fb50666ec7c3ba (patch)
tree6b2cab86af0e34eabaec17a82893284f20323cd7 /depends/quazip/quagzipfile.h
parentf9a17eb9deb559ee01fd7e6c67d80c4f93badf28 (diff)
downloadMultiMC-a53f8d506e212f862f54e5a758fb50666ec7c3ba.tar
MultiMC-a53f8d506e212f862f54e5a758fb50666ec7c3ba.tar.gz
MultiMC-a53f8d506e212f862f54e5a758fb50666ec7c3ba.tar.lz
MultiMC-a53f8d506e212f862f54e5a758fb50666ec7c3ba.tar.xz
MultiMC-a53f8d506e212f862f54e5a758fb50666ec7c3ba.zip
GH-366: Plain and simple modpack export/import/download
Also removed the in-source QuaZIP in favour of upstream version
Diffstat (limited to 'depends/quazip/quagzipfile.h')
-rw-r--r--depends/quazip/quagzipfile.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/depends/quazip/quagzipfile.h b/depends/quazip/quagzipfile.h
deleted file mode 100644
index 211ceadb..00000000
--- a/depends/quazip/quagzipfile.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef QUAZIP_QUAGZIPFILE_H
-#define QUAZIP_QUAGZIPFILE_H
-
-#include <QIODevice>
-#include "quazip_global.h"
-
-#include <zlib.h>
-
-class QuaGzipFilePrivate;
-
-class QUAZIP_EXPORT QuaGzipFile: public QIODevice {
- Q_OBJECT
-public:
- QuaGzipFile();
- QuaGzipFile(QObject *parent);
- QuaGzipFile(const QString &fileName, QObject *parent = NULL);
- virtual ~QuaGzipFile();
- void setFileName(const QString& fileName);
- QString getFileName() const;
- virtual bool isSequential() const;
- virtual bool open(QIODevice::OpenMode mode);
- virtual bool open(int fd, QIODevice::OpenMode mode);
- virtual bool flush();
- virtual void close();
-protected:
- virtual qint64 readData(char *data, qint64 maxSize);
- virtual qint64 writeData(const char *data, qint64 maxSize);
-private:
- // not implemented by design to disable copy
- QuaGzipFile(const QuaGzipFile &that);
- QuaGzipFile& operator=(const QuaGzipFile &that);
- QuaGzipFilePrivate *d;
-};
-
-#endif // QUAZIP_QUAGZIPFILE_H