GH-952 Hardcore version page tweakery
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
This commit is contained in:
@ -60,9 +60,6 @@ public:
|
||||
/// DEPRECATED, remove ASAP
|
||||
int getFreeOrderNumber();
|
||||
|
||||
/// Can patch file # be removed?
|
||||
bool canRemove(const int index) const;
|
||||
|
||||
enum MoveDirection { MoveUp, MoveDown };
|
||||
/// move patch file # up or down the list
|
||||
void move(const int index, const MoveDirection direction);
|
||||
@ -73,6 +70,10 @@ public:
|
||||
/// remove patch file by id - including files/records
|
||||
bool remove(const QString id);
|
||||
|
||||
bool customize(int index);
|
||||
|
||||
bool revert(int index);
|
||||
|
||||
void resetOrder();
|
||||
|
||||
/// reload all profile patches from storage, clear the profile and apply the patches
|
||||
|
Reference in New Issue
Block a user