NOISSUE Refactors and moving of things
This commit is contained in:
24
logic/minecraft/OneSixProfileStrategy.h
Normal file
24
logic/minecraft/OneSixProfileStrategy.h
Normal file
@ -0,0 +1,24 @@
|
||||
#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;
|
||||
|
||||
protected:
|
||||
void loadDefaultBuiltinPatches();
|
||||
void loadUserPatches();
|
||||
void upgradeDeprecatedFiles();
|
||||
|
||||
protected:
|
||||
OneSixInstance *m_instance;
|
||||
};
|
Reference in New Issue
Block a user