summaryrefslogtreecommitdiff
path: root/src/modinforegular.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modinforegular.h')
-rw-r--r--src/modinforegular.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modinforegular.h b/src/modinforegular.h
index 3abaded4..2f3eb941 100644
--- a/src/modinforegular.h
+++ b/src/modinforegular.h
@@ -28,6 +28,7 @@ public:
bool isAlternate() { return m_IsAlternate; }
bool isConverted() { return m_Converted; }
+ bool isValidated() { return m_Validated; }
/**
* @brief test if there is a newer version of the mod
@@ -189,6 +190,11 @@ public:
virtual void markConverted(bool converted) override;
/**
+ * @brief updates the mod to flag it as valid in order to ignore the invalid game data flag
+ */
+ virtual void markValidated(bool validated) override;
+
+ /**
* @brief getter for the mod name
*
* @return the mod name
@@ -358,6 +364,7 @@ private:
bool m_MetaInfoChanged;
bool m_IsAlternate;
bool m_Converted;
+ bool m_Validated;
MOBase::VersionInfo m_NewestVersion;
MOBase::VersionInfo m_IgnoredVersion;