diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-24 03:09:46 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-24 03:09:46 +0200 |
commit | e3b55067eb51ee82e72b41a1919406d768e00b89 (patch) | |
tree | a22158bc63242191463d450d1a3f37eeb37bba5b /depends/quazip | |
parent | b78123166627139777fbd206866ee0d1c8bcd040 (diff) | |
download | MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.gz MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.lz MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.xz MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.zip |
Legacy jar reassembly, base of proper custom jar support
Diffstat (limited to 'depends/quazip')
-rw-r--r-- | depends/quazip/JlCompress.cpp | 2 | ||||
-rw-r--r-- | depends/quazip/JlCompress.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/depends/quazip/JlCompress.cpp b/depends/quazip/JlCompress.cpp index 69832140..19bf6246 100644 --- a/depends/quazip/JlCompress.cpp +++ b/depends/quazip/JlCompress.cpp @@ -1,7 +1,7 @@ #include "JlCompress.h" #include <QDebug> -static bool copyData(QIODevice &inFile, QIODevice &outFile) +bool JlCompress::copyData(QIODevice &inFile, QIODevice &outFile) { while (!inFile.atEnd()) { char buf[4096]; diff --git a/depends/quazip/JlCompress.h b/depends/quazip/JlCompress.h index 29d6191f..9679de7c 100644 --- a/depends/quazip/JlCompress.h +++ b/depends/quazip/JlCompress.h @@ -51,6 +51,8 @@ private: static bool removeFile(QStringList listFile); public: + /// copy data from inFile to outFile + static bool copyData(QIODevice &inFile, QIODevice &outFile); /// Compress a single file. /** \param fileCompressed The name of the archive. |