summaryrefslogtreecommitdiffstats
path: root/logic/LegacyUpdate.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-24 03:09:46 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-24 03:09:46 +0200
commite3b55067eb51ee82e72b41a1919406d768e00b89 (patch)
treea22158bc63242191463d450d1a3f37eeb37bba5b /logic/LegacyUpdate.h
parentb78123166627139777fbd206866ee0d1c8bcd040 (diff)
downloadMultiMC-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 'logic/LegacyUpdate.h')
-rw-r--r--logic/LegacyUpdate.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/logic/LegacyUpdate.h b/logic/LegacyUpdate.h
index 342d1eab..a68d67bb 100644
--- a/logic/LegacyUpdate.h
+++ b/logic/LegacyUpdate.h
@@ -25,6 +25,8 @@
class MinecraftVersion;
class BaseInstance;
+class QuaZip;
+class Mod;
class LegacyUpdate : public BaseUpdate
{
@@ -46,6 +48,8 @@ private slots:
void ModTheJar();
private:
+ bool MergeZipFiles(QuaZip *into, QFileInfo from, QSet<QString>& contained);
+private:
QSharedPointer<QNetworkReply> m_reply;
@@ -59,9 +63,6 @@ private:
private:
JobListPtr legacyDownloadJob;
JobListQueue download_queue;
-
- // target version, determined during this task
- QSharedPointer<MinecraftVersion> targetVersion;
};