summaryrefslogtreecommitdiff
path: root/src/modinforegular.h
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-01-31 00:36:41 -0600
committerSilarn <jrim@rimpo.org>2019-02-18 21:29:26 -0600
commit6b9e94473addf468224ea2b0521ab724d5842cb5 (patch)
tree1dfbe6a85bcb5096a6fa37293a1b57bf075f0580 /src/modinforegular.h
parent5aed35d2b6a43bae284bea958456bc50b8bfda44 (diff)
Various fixes and updates
* Add second api type for mod info to segment updates from basic desc * Add saved nexus file type and factor it into the update display * Fix some issues with how we were checking for 'latest update' files
Diffstat (limited to 'src/modinforegular.h')
-rw-r--r--src/modinforegular.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/modinforegular.h b/src/modinforegular.h
index 8e3952e8..13ce7e42 100644
--- a/src/modinforegular.h
+++ b/src/modinforegular.h
@@ -285,6 +285,19 @@ public:
*/
virtual QString getDescription() const;
+
+ /**
+ * @return the nexus file status (aka category ID)
+ */
+ virtual int getNexusFileStatus() const;
+
+
+ /**
+ * @brief sets the file status (category ID) from Nexus
+ * @param status the status id of the installed file
+ */
+ virtual void setNexusFileStatus(int status);
+
/**
* @return comments for this mod
*/
@@ -402,6 +415,7 @@ private:
bool m_IsAlternate;
bool m_Converted;
bool m_Validated;
+ bool m_NexusFileStatus;
MOBase::VersionInfo m_NewestVersion;
MOBase::VersionInfo m_IgnoredVersion;