diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2017-12-13 13:10:09 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-13 13:10:09 -0600 |
| commit | 062e0cce2de4fd86a9842a88c2bb65936f1ab115 (patch) | |
| tree | b905a4c8280bdce21324b13050af72770dc05680 /src/modinfo.h | |
| parent | 2226a483d1415a315d7b558b0e2dc9919dfa858b (diff) | |
| parent | 027f941bb10b9dde2207d1eaa316bd63b4f8e9d4 (diff) | |
Merge pull request #145 from Silarn/mainline_dev
A number of fixes and improvements
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/modinfo.h b/src/modinfo.h index c62df549..0bdf6e43 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -101,6 +101,13 @@ public: ENDORSED_NEVER
};
+ enum EModType {
+ MOD_DEFAULT,
+ MOD_DLC,
+ MOD_CC
+ };
+
+
public:
/**
@@ -189,7 +196,7 @@ public: * @param bsaNames names of archives
* @return a new mod
*/
- static ModInfo::Ptr createFromPlugin(const QString &modName, const QString &espName, const QStringList &bsaNames, MOShared::DirectoryEntry **directoryStructure);
+ static ModInfo::Ptr createFromPlugin(const QString &modName, const QString &espName, const QStringList &bsaNames, ModInfo::EModType modType, MOShared::DirectoryEntry **directoryStructure);
/**
* @brief retieve a name for one of the CONTENT_ enums
|
