
Version patches get a lot of new flags that determine which actions are allowed Version page respects the flags Customize, revert and edit for version patches Builting patches can be customized
33 lines
545 B
C++
33 lines
545 B
C++
#pragma once
|
|
|
|
#include "ProfileStrategy.h"
|
|
|
|
class NullProfileStrategy: public ProfileStrategy
|
|
{
|
|
virtual bool installJarMods(QStringList filepaths)
|
|
{
|
|
return false;
|
|
}
|
|
virtual void load() {};
|
|
virtual bool removePatch(ProfilePatchPtr jarMod)
|
|
{
|
|
return false;
|
|
}
|
|
virtual bool customizePatch(ProfilePatchPtr patch)
|
|
{
|
|
return false;
|
|
}
|
|
virtual bool revertPatch(ProfilePatchPtr patch)
|
|
{
|
|
return false;
|
|
}
|
|
virtual bool resetOrder()
|
|
{
|
|
return false;
|
|
}
|
|
virtual bool saveOrder(ProfileUtils::PatchOrder order)
|
|
{
|
|
return false;
|
|
}
|
|
};
|