summaryrefslogtreecommitdiffstats
path: root/logic/VersionFilterData.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-05-11 12:37:21 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-09 01:38:30 +0200
commit69c3e7111f93290d1278d6116e9fd50079b4fe79 (patch)
treecbaed3022e8705f1da29777afea0fca16c1abe60 /logic/VersionFilterData.h
parent92abe4c603e1f4931cd02ae6b752cb7054d8e30d (diff)
downloadMultiMC-69c3e7111f93290d1278d6116e9fd50079b4fe79.tar
MultiMC-69c3e7111f93290d1278d6116e9fd50079b4fe79.tar.gz
MultiMC-69c3e7111f93290d1278d6116e9fd50079b4fe79.tar.lz
MultiMC-69c3e7111f93290d1278d6116e9fd50079b4fe79.tar.xz
MultiMC-69c3e7111f93290d1278d6116e9fd50079b4fe79.zip
Make 1.6+ work with new instance format.
Diffstat (limited to 'logic/VersionFilterData.h')
-rw-r--r--logic/VersionFilterData.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/logic/VersionFilterData.h b/logic/VersionFilterData.h
index 562654a9..e010adc7 100644
--- a/logic/VersionFilterData.h
+++ b/logic/VersionFilterData.h
@@ -2,6 +2,7 @@
#include <QMap>
#include <QString>
#include <QSet>
+#include <QDateTime>
struct FMLlib
{
@@ -17,7 +18,9 @@ struct VersionFilterData
QMap<QString, QList<FMLlib>> fmlLibsMapping;
// set of minecraft versions for which using forge installers is blacklisted
QSet<QString> forgeInstallerBlacklist;
- // set of 'legacy' versions (ones that use the legacy launch)
- QSet<QString> legacyLaunchWhitelist;
+ // set of 'legacy' versions that will not show up in the version lists.
+ QSet<QString> legacyBlacklist;
+ // no new versions below this date will be accepted from Mojang servers
+ QDateTime legacyCutoffDate;
};
extern VersionFilterData g_VersionFilterData;