summaryrefslogtreecommitdiffstats
path: root/logic/VersionFilterData.h
diff options
context:
space:
mode:
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;