diff options
| author | Silarn <jrim@rimpo.org> | 2018-05-03 16:17:40 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-05-03 16:17:40 -0500 |
| commit | 9872c1e462d100221ca38aeb1f8ab35eda7fc8c2 (patch) | |
| tree | 19fb68855960311b9504ef291f9aba3a8eb55ba9 /src/modinforegular.h | |
| parent | e3989fe8f93a37d18f7c92785469a9ab87949041 (diff) | |
Allow for primary game sources and marking mods as converted/working
Diffstat (limited to 'src/modinforegular.h')
| -rw-r--r-- | src/modinforegular.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modinforegular.h b/src/modinforegular.h index c47f10c8..3abaded4 100644 --- a/src/modinforegular.h +++ b/src/modinforegular.h @@ -27,6 +27,7 @@ public: virtual bool isEmpty() const; bool isAlternate() { return m_IsAlternate; } + bool isConverted() { return m_Converted; } /** * @brief test if there is a newer version of the mod @@ -183,6 +184,11 @@ public: virtual void endorse(bool doEndorse); /** + * @brief updates the mod to flag it as converted in order to ignore the alternate game warning + */ + virtual void markConverted(bool converted) override; + + /** * @brief getter for the mod name * * @return the mod name @@ -351,6 +357,7 @@ private: bool m_MetaInfoChanged; bool m_IsAlternate; + bool m_Converted; MOBase::VersionInfo m_NewestVersion; MOBase::VersionInfo m_IgnoredVersion; |
