summaryrefslogtreecommitdiff
path: root/src/modinforegular.h
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-19 02:37:24 -0500
committerJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-21 17:35:08 -0500
commitc50ad588432a27612fe5be39b1520e2962d5eef7 (patch)
tree676dd52d7022d9167eccc267ae9811367d8de666 /src/modinforegular.h
parentf6bb73deb21228acf0e7f74500f50421143aa739 (diff)
Add nexus category ID to mod info
- We will check the mod info first then fall back to the download file - Add category field in the info dialog nexus tab
Diffstat (limited to 'src/modinforegular.h')
-rw-r--r--src/modinforegular.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/modinforegular.h b/src/modinforegular.h
index 6c85d66c..a408d966 100644
--- a/src/modinforegular.h
+++ b/src/modinforegular.h
@@ -379,6 +379,16 @@ public:
*/
virtual void setNexusLastModified(QDateTime time) override;
+ /**
+ * @return the assigned nexus category ID
+ */
+ virtual int getNexusCategory() const override;
+
+ /**
+ * @brief Assigns the given Nexus category ID
+ */
+ virtual void setNexusCategory(int category) override;
+
virtual QStringList archives(bool checkOnDisk = false) override;
virtual void setColor(QColor color) override;
@@ -457,6 +467,7 @@ private:
QDateTime m_LastNexusQuery;
QDateTime m_LastNexusUpdate;
QDateTime m_NexusLastModified;
+ int m_NexusCategory;
QColor m_Color;