From d884f849d60db44f05a6a6b22f4ffcf520900389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 25 Aug 2013 01:32:42 +0200 Subject: All kinds of incremental improvements Redone the instance action toolbar: * Removed all the dead actions * Change icon and Rename are now morphed into a header * Added button for opening the config folder Implemented support for loose files and folders as legacy jar mods Added texture pack support --- depends/quazip/JlCompress.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'depends/quazip/JlCompress.h') diff --git a/depends/quazip/JlCompress.h b/depends/quazip/JlCompress.h index 9679de7c..3ee8c25a 100644 --- a/depends/quazip/JlCompress.h +++ b/depends/quazip/JlCompress.h @@ -16,6 +16,13 @@ */ class QUAZIP_EXPORT JlCompress { private: + /// Remove some files. + /** + \param listFile The list of files to remove. + \return true if success, false otherwise. + */ + static bool removeFile(QStringList listFile); +public: /// Compress a single file. /** \param zip Opened zip to compress the file to. @@ -34,7 +41,7 @@ private: files. \return true if success, false otherwise. */ - static bool compressSubDir(QuaZip* parentZip, QString dir, QString parentDir, bool recursive = true); + static bool compressSubDir( QuaZip* parentZip, QString dir, QString parentDir, bool recursive, QSet< QString >& added ); /// Extract a single file. /** \param zip The opened zip archive to extract from. @@ -43,14 +50,7 @@ private: \return true if success, false otherwise. */ static bool extractFile(QuaZip* zip, QString fileName, QString fileDest); - /// Remove some files. - /** - \param listFile The list of files to remove. - \return true if success, false otherwise. - */ - static bool removeFile(QStringList listFile); -public: /// copy data from inFile to outFile static bool copyData(QIODevice &inFile, QIODevice &outFile); /// Compress a single file. -- cgit v1.2.3