diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-05-05 00:10:59 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-09 01:38:29 +0200 |
commit | 4c3bd416c65ec887209fa06b0a5634099b77f322 (patch) | |
tree | f656031d147aba8f8dd621de2bd452ea1bfd86b4 /logic/VersionFilterData.h | |
parent | aade36860c373268857ca821c14a13f38c880b1a (diff) | |
download | MultiMC-4c3bd416c65ec887209fa06b0a5634099b77f322.tar MultiMC-4c3bd416c65ec887209fa06b0a5634099b77f322.tar.gz MultiMC-4c3bd416c65ec887209fa06b0a5634099b77f322.tar.lz MultiMC-4c3bd416c65ec887209fa06b0a5634099b77f322.tar.xz MultiMC-4c3bd416c65ec887209fa06b0a5634099b77f322.zip |
Much change, very jarmod.
Diffstat (limited to 'logic/VersionFilterData.h')
-rw-r--r-- | logic/VersionFilterData.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/logic/VersionFilterData.h b/logic/VersionFilterData.h new file mode 100644 index 00000000..562654a9 --- /dev/null +++ b/logic/VersionFilterData.h @@ -0,0 +1,23 @@ +#pragma once +#include <QMap> +#include <QString> +#include <QSet> + +struct FMLlib +{ + QString filename; + QString checksum; + bool ours; +}; + +struct VersionFilterData +{ + VersionFilterData(); + // mapping between minecraft versions and FML libraries required + 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; +}; +extern VersionFilterData g_VersionFilterData; |