diff options
| author | Silarn <jrim@rimpo.org> | 2018-04-27 01:57:59 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-04-27 01:57:59 -0500 |
| commit | e02614ee1455f0ae9fb9ec9df3b928381ae98079 (patch) | |
| tree | 8c07023d52b834872af32a8d81244a45f9d079fe /src/modinfo.h | |
| parent | cfbe399bbaa6c244359682b71a949bf6cf4d3b4e (diff) | |
Add alternative game flag and check
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modinfo.h b/src/modinfo.h index 9e9f8971..19be2ca2 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -70,7 +70,8 @@ public: FLAG_CONFLICT_OVERWRITTEN,
FLAG_CONFLICT_MIXED,
FLAG_CONFLICT_REDUNDANT,
- FLAG_PLUGIN_SELECTED
+ FLAG_PLUGIN_SELECTED,
+ FLAG_ALTERNATE_GAME
};
enum EContent {
@@ -191,7 +192,7 @@ public: * @param dir directory to create from
* @return pointer to the info-structure of the newly created/added mod
*/
- static ModInfo::Ptr createFrom(PluginContainer *pluginContainer, QString gameName, const QDir &dir, MOShared::DirectoryEntry **directoryStructure);
+ static ModInfo::Ptr createFrom(PluginContainer *pluginContainer, const MOBase::IPluginGame *game, const QDir &dir, MOShared::DirectoryEntry **directoryStructure);
/**
* @brief create a new "foreign-managed" mod from a tuple of plugin and archives
|
