2015-01-28 03:01:07 +05:30
|
|
|
#pragma once
|
|
|
|
#include "ProfileStrategy.h"
|
|
|
|
|
|
|
|
class OneSixInstance;
|
|
|
|
|
|
|
|
class OneSixProfileStrategy : public ProfileStrategy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
OneSixProfileStrategy(OneSixInstance * instance);
|
|
|
|
virtual ~OneSixProfileStrategy() {};
|
|
|
|
virtual void load() override;
|
|
|
|
virtual bool resetOrder() override;
|
|
|
|
virtual bool saveOrder(ProfileUtils::PatchOrder order) override;
|
|
|
|
virtual bool installJarMods(QStringList filepaths) override;
|
|
|
|
virtual bool removePatch(ProfilePatchPtr patch) override;
|
2015-05-18 03:08:28 +05:30
|
|
|
virtual bool customizePatch(ProfilePatchPtr patch) override;
|
|
|
|
virtual bool revertPatch(ProfilePatchPtr patch) override;
|
2015-01-28 03:01:07 +05:30
|
|
|
|
|
|
|
protected:
|
2016-02-21 10:21:36 +05:30
|
|
|
virtual void loadDefaultBuiltinPatches();
|
|
|
|
virtual void loadUserPatches();
|
2015-01-28 03:01:07 +05:30
|
|
|
void upgradeDeprecatedFiles();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
OneSixInstance *m_instance;
|
2015-05-18 03:08:28 +05:30
|
|
|
};
|