GH-1314 add UI for custom minecraft jar addition
Also changes the text of the jar mod addition button. It should be clearer what it does and hopefully will not confuse as many people.
This commit is contained in:
@ -118,6 +118,11 @@ bool FTBProfileStrategy::installJarMods(QStringList filepaths)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool FTBProfileStrategy::installCustomJar(QString filepath)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool FTBProfileStrategy::customizePatch(ProfilePatchPtr patch)
|
||||
{
|
||||
return false;
|
||||
|
@ -9,13 +9,14 @@ class FTBProfileStrategy : public OneSixProfileStrategy
|
||||
public:
|
||||
FTBProfileStrategy(OneSixFTBInstance * instance);
|
||||
virtual ~FTBProfileStrategy() {};
|
||||
virtual void load() override;
|
||||
virtual bool resetOrder() override;
|
||||
virtual bool saveOrder(ProfileUtils::PatchOrder order) override;
|
||||
virtual bool installJarMods(QStringList filepaths) override;
|
||||
virtual bool customizePatch (ProfilePatchPtr patch) override;
|
||||
virtual bool revertPatch (ProfilePatchPtr patch) override;
|
||||
void load() override;
|
||||
bool resetOrder() override;
|
||||
bool saveOrder(ProfileUtils::PatchOrder order) override;
|
||||
bool installJarMods(QStringList filepaths) override;
|
||||
bool installCustomJar(QString filepath) override;
|
||||
bool customizePatch (ProfilePatchPtr patch) override;
|
||||
bool revertPatch (ProfilePatchPtr patch) override;
|
||||
|
||||
protected:
|
||||
virtual void loadDefaultBuiltinPatches() override;
|
||||
void loadDefaultBuiltinPatches() override;
|
||||
};
|
||||
|
Reference in New Issue
Block a user