diff options
Diffstat (limited to 'api/logic/modplatform/ftb/PackHelpers.h')
-rw-r--r-- | api/logic/modplatform/ftb/PackHelpers.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/api/logic/modplatform/ftb/PackHelpers.h b/api/logic/modplatform/ftb/PackHelpers.h index b184ed33..350a5fa6 100644 --- a/api/logic/modplatform/ftb/PackHelpers.h +++ b/api/logic/modplatform/ftb/PackHelpers.h @@ -3,6 +3,12 @@ #include "qmetatype.h" //Header for structs etc... +enum FtbPackType { + Public, + ThirdParty, + Private +}; + struct FtbModpack { QString name; QString description; @@ -11,15 +17,18 @@ struct FtbModpack { QString currentVersion; QString mcVersion; QString mods; - QString image; + QString logo; //Technical data QString dir; QString file; //<- Url in the xml, but doesn't make much sense - bool bugged = true; - bool broken = true; + bool bugged = false; + bool broken = false; + + FtbPackType type; }; + //We need it for the proxy model Q_DECLARE_METATYPE(FtbModpack) |