NOISSUE move version file reading and writing to dedicated namespaces

This commit is contained in:
Petr Mrázek 2016-02-27 22:02:56 +01:00
parent 17ad1e64f8
commit a0b47aee5b
16 changed files with 328 additions and 308 deletions

View file

@ -39,9 +39,6 @@ class MULTIMC_LOGIC_EXPORT MinecraftProfile : public QAbstractListModel
public:
explicit MinecraftProfile(ProfileStrategy *strategy);
/// construct a MinecraftProfile from a single file
static std::shared_ptr<MinecraftProfile> fromJson(const QJsonObject &obj);
void setStrategy(ProfileStrategy * strategy);
ProfileStrategy *strategy();
@ -152,11 +149,6 @@ public: /* data */
QString minecraftArguments;
/// Same as above, but only for vanilla
QString vanillaMinecraftArguments;
/**
* the minimum launcher version required by this version ... current is 4 (at point of
* writing)
*/
int minimumLauncherVersion = 0xDEADBEEF;
/**
* A list of all tweaker classes
*/