diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-02-02 14:05:07 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2014-02-02 14:05:07 +0100 |
commit | ece826bdbc5ca525e253cafcfef3d93e492949f5 (patch) | |
tree | 6a248b84ddd8ecbd90bfd62b072b7cd17edd2686 /logic/OneSixLibrary.h | |
parent | 790402bdce96a4ce67b32d228aa251fc4d184f5e (diff) | |
download | MultiMC-ece826bdbc5ca525e253cafcfef3d93e492949f5.tar MultiMC-ece826bdbc5ca525e253cafcfef3d93e492949f5.tar.gz MultiMC-ece826bdbc5ca525e253cafcfef3d93e492949f5.tar.lz MultiMC-ece826bdbc5ca525e253cafcfef3d93e492949f5.tar.xz MultiMC-ece826bdbc5ca525e253cafcfef3d93e492949f5.zip |
Add a MMC-depend field (soft/hard) for version checking
Diffstat (limited to 'logic/OneSixLibrary.h')
-rw-r--r-- | logic/OneSixLibrary.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/logic/OneSixLibrary.h b/logic/OneSixLibrary.h index 5384015a..371ca6f4 100644 --- a/logic/OneSixLibrary.h +++ b/logic/OneSixLibrary.h @@ -60,12 +60,21 @@ private: public: QStringList extract_excludes; + QString minVersion; + + enum DependType + { + Soft, + Hard + }; + DependType dependType; public: /// Constructor - OneSixLibrary(const QString &name) + OneSixLibrary(const QString &name, const DependType type = Soft) { m_name = name; + dependType = type; } /// Returns the raw name field |