summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/InstanceVersion.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-06-08 21:26:48 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-09 01:38:31 +0200
commitbe73eb3322b6bb5ab1144f9942ef9bd188c704a1 (patch)
tree8df6bfa84a62fc17d9842d30134c6a71fd4cb3f1 /logic/minecraft/InstanceVersion.h
parentbf7b07050873770bd0b2ed5d73965b5a88d7a351 (diff)
downloadMultiMC-be73eb3322b6bb5ab1144f9942ef9bd188c704a1.tar
MultiMC-be73eb3322b6bb5ab1144f9942ef9bd188c704a1.tar.gz
MultiMC-be73eb3322b6bb5ab1144f9942ef9bd188c704a1.tar.lz
MultiMC-be73eb3322b6bb5ab1144f9942ef9bd188c704a1.tar.xz
MultiMC-be73eb3322b6bb5ab1144f9942ef9bd188c704a1.zip
Version revert logic improvements, colorful icons for mod lists and resource pack list.
Icons are from Oxygen.
Diffstat (limited to 'logic/minecraft/InstanceVersion.h')
-rw-r--r--logic/minecraft/InstanceVersion.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/logic/minecraft/InstanceVersion.h b/logic/minecraft/InstanceVersion.h
index 60df59df..6b69ab47 100644
--- a/logic/minecraft/InstanceVersion.h
+++ b/logic/minecraft/InstanceVersion.h
@@ -51,6 +51,11 @@ public:
// remove any customizations on top of vanilla
bool revertToVanilla();
+ // does this version consist of obsolete files?
+ bool hasDeprecatedVersionFiles();
+ // remove obsolete files
+ bool removeDeprecatedVersionFiles();
+
// does this version have an FTB pack patch file?
bool hasFtbPack();
// remove FTB pack
@@ -61,9 +66,6 @@ public:
void installJarMods(QStringList selectedFiles);
void installJarModByFilename(QString filepath);
- // does this version still use a legacy custom.json file?
- bool usesLegacyCustomJson();
-
enum MoveDirection { MoveUp, MoveDown };
void move(const int index, const MoveDirection direction);
void resetOrder();