summaryrefslogtreecommitdiffstats
path: root/api/logic/modplatform/ftb/PackHelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/modplatform/ftb/PackHelpers.h')
-rw-r--r--api/logic/modplatform/ftb/PackHelpers.h47
1 files changed, 25 insertions, 22 deletions
diff --git a/api/logic/modplatform/ftb/PackHelpers.h b/api/logic/modplatform/ftb/PackHelpers.h
index 39b65927..4306caee 100644
--- a/api/logic/modplatform/ftb/PackHelpers.h
+++ b/api/logic/modplatform/ftb/PackHelpers.h
@@ -6,30 +6,33 @@
#include <QMetaType>
//Header for structs etc...
-enum FtbPackType {
- Public,
- ThirdParty,
- Private
+enum class FtbPackType
+{
+ Public,
+ ThirdParty,
+ Private
};
-struct FtbModpack {
- QString name;
- QString description;
- QString author;
- QStringList oldVersions;
- QString currentVersion;
- QString mcVersion;
- QString mods;
- QString logo;
-
- //Technical data
- QString dir;
- QString file; //<- Url in the xml, but doesn't make much sense
-
- bool bugged = false;
- bool broken = false;
-
- FtbPackType type;
+struct FtbModpack
+{
+ QString name;
+ QString description;
+ QString author;
+ QStringList oldVersions;
+ QString currentVersion;
+ QString mcVersion;
+ QString mods;
+ QString logo;
+
+ //Technical data
+ QString dir;
+ QString file; //<- Url in the xml, but doesn't make much sense
+
+ bool bugged = false;
+ bool broken = false;
+
+ FtbPackType type;
+ QString packCode;
};
//We need it for the proxy model