From 141e0a02a0a0c4bbc4cc2e900560db5048366104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 4 Feb 2015 21:10:10 +0100 Subject: SCRATCH move things to the right places --- logic/minecraft/JarUtils.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 logic/minecraft/JarUtils.h (limited to 'logic/minecraft/JarUtils.h') diff --git a/logic/minecraft/JarUtils.h b/logic/minecraft/JarUtils.h new file mode 100644 index 00000000..2e8bd2a7 --- /dev/null +++ b/logic/minecraft/JarUtils.h @@ -0,0 +1,18 @@ +#pragma once +#include +#include +#include +#include "Mod.h" +#include + +class QuaZip; +namespace JarUtils +{ + bool noFilter(QString); + bool metaInfFilter(QString key); + + bool mergeZipFiles(QuaZip *into, QFileInfo from, QSet &contained, + std::function filter); + + bool createModdedJar(QString sourceJarPath, QString targetJarPath, const QList& mods); +} -- cgit v1.2.3