summaryrefslogtreecommitdiff
path: root/src/modinfo.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/modinfo.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/modinfo.h')
-rw-r--r--src/modinfo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/modinfo.h b/src/modinfo.h
index 9c753752..ae9dd1f3 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -504,6 +504,18 @@ public:
virtual QString getDescription() const = 0;
/**
+ * @return the nexus file status (aka category ID)
+ */
+ virtual int getNexusFileStatus() const = 0;
+
+
+ /**
+ * @brief sets the file status (category ID) from Nexus
+ * @param status the status id of the installed file
+ */
+ virtual void setNexusFileStatus(int status) = 0;
+
+ /**
* @return comments for this mod
*/
virtual QString comments() const = 0;