summaryrefslogtreecommitdiff
path: root/src/modinforegular.h
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-09-29 15:07:24 +0200
committerAl12rs <gabriel.cortesi@outlook.com>2018-09-29 15:07:24 +0200
commit15ab8d5c5e9b5a06ad61247aa81f4673a42595e6 (patch)
tree756b59e6d6075ad7c3153455d87c024068d0fbe8 /src/modinforegular.h
parent192f14b001201d2d76fbbd12465dbe01623cf3fb (diff)
Changed "ignore missing game data" to not create an empty Texture folder and instead save the choice in meta.ini
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;