diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-03-31 00:19:43 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-03-31 00:19:43 +0200 |
commit | 29b00eab311064a6ae1512c3c35144c33e7f8ac3 (patch) | |
tree | e4134b1e8c1eeb9b18920097187cbbc7bff207ef /logic/VersionFinal.h | |
parent | a3c95d9bcc581d74e3d8bfa6e1d3db0478b209f9 (diff) | |
download | MultiMC-29b00eab311064a6ae1512c3c35144c33e7f8ac3.tar MultiMC-29b00eab311064a6ae1512c3c35144c33e7f8ac3.tar.gz MultiMC-29b00eab311064a6ae1512c3c35144c33e7f8ac3.tar.lz MultiMC-29b00eab311064a6ae1512c3c35144c33e7f8ac3.tar.xz MultiMC-29b00eab311064a6ae1512c3c35144c33e7f8ac3.zip |
Fix FTB-related issues0.3.1
Diffstat (limited to 'logic/VersionFinal.h')
-rw-r--r-- | logic/VersionFinal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/logic/VersionFinal.h b/logic/VersionFinal.h index 0bf95707..41fd23bd 100644 --- a/logic/VersionFinal.h +++ b/logic/VersionFinal.h @@ -49,6 +49,11 @@ public: bool isCustom(); // remove custom.json bool revertToBase(); + // does this instance have an FTB pack patch file? + bool hasFtbPack(); + // remove FTB pack + bool removeFtbPack(); + enum MoveDirection { MoveUp, MoveDown }; void move(const int index, const MoveDirection direction); @@ -61,6 +66,7 @@ public: public slots: bool remove(const int index); + bool remove(const QString id); public: QList<std::shared_ptr<OneSixLibrary>> getActiveNormalLibs(); |