summaryrefslogtreecommitdiff
path: root/src/modinfo.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/modinfo.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/modinfo.h')
-rw-r--r--src/modinfo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modinfo.h b/src/modinfo.h
index 9895d44c..0736aa20 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -887,6 +887,16 @@ public: // Nexus stuff
* @brief Set the last time the mod was updated on Nexus.
*/
virtual void setNexusLastModified(QDateTime time) = 0;
+
+ /**
+ * @return the assigned nexus category ID
+ */
+ virtual int getNexusCategory() const = 0;
+
+ /**
+ * @brief Assigns the given Nexus category ID
+ */
+ virtual void setNexusCategory(int category) = 0;
public: // Conflicts
// retrieve the list of mods (as mod index) that are overwritten by this one.