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/modinforegular.h | |
| parent | cfbe399bbaa6c244359682b71a949bf6cf4d3b4e (diff) | |
Add alternative game flag and check
Diffstat (limited to 'src/modinforegular.h')
| -rw-r--r-- | src/modinforegular.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modinforegular.h b/src/modinforegular.h index cf13872c..c47f10c8 100644 --- a/src/modinforegular.h +++ b/src/modinforegular.h @@ -2,7 +2,6 @@ #define MODINFOREGULAR_H #include "modinfowithconflictinfo.h" - #include "nexusinterface.h" /** @@ -27,6 +26,8 @@ public: virtual bool isEmpty() const; + bool isAlternate() { return m_IsAlternate; } + /** * @brief test if there is a newer version of the mod * @@ -329,7 +330,7 @@ private slots: protected: - ModInfoRegular(PluginContainer *pluginContainer, QString gameName, const QDir &path, MOShared::DirectoryEntry **directoryStructure); + ModInfoRegular(PluginContainer *pluginContainer, const MOBase::IPluginGame *game, const QDir &path, MOShared::DirectoryEntry **directoryStructure); private: @@ -349,6 +350,7 @@ private: std::set<std::pair<int, int>> m_InstalledFileIDs; bool m_MetaInfoChanged; + bool m_IsAlternate; MOBase::VersionInfo m_NewestVersion; MOBase::VersionInfo m_IgnoredVersion; |
