summaryrefslogtreecommitdiff
path: root/src/modinfo.h
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-25 17:39:41 -0500
committerGitHub <noreply@github.com>2023-09-25 17:39:41 -0500
commit79d457f598bcfa7a8d094a87033a31f370c9c4c1 (patch)
tree3674e6b1223ac104422ce77b06d020c50ad31cc0 /src/modinfo.h
parent70509275405d2a5c5e94743786f03b17ef2051f2 (diff)
parent74668b9363d877d055a5e8b8c7d001ba448dc832 (diff)
Merge pull request #1880 from ModOrganizer2/qt6-category
WIP: Category Revamp
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..d9e87ae0 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -888,6 +888,16 @@ public: // Nexus stuff
*/
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.
// Updates may be delayed.