summaryrefslogtreecommitdiff
path: root/src/downloadmanager.h
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2021-07-30 21:29:16 -0500
committerJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-21 17:23:34 -0500
commit535623693e63569f485c15984274ea65c4d0c872 (patch)
tree2782a219fd0eec5717f1df81f0969388ded15b35 /src/downloadmanager.h
parent69f953a3fb181eddaf730e83e2ac63ec7f154b14 (diff)
Add menu item to auto-assign categories based on nexus assignments
Diffstat (limited to 'src/downloadmanager.h')
-rw-r--r--src/downloadmanager.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/downloadmanager.h b/src/downloadmanager.h
index 305c10e3..359455d9 100644
--- a/src/downloadmanager.h
+++ b/src/downloadmanager.h
@@ -299,6 +299,14 @@ public:
QString getFileName(int index) const;
/**
+ * @brief retrieve the file index from the filename
+ *
+ * @param filename the filename of the download
+ * @return the index of the file
+ */
+ int getDownloadIndex(QString filename) const;
+
+ /**
* @brief retrieve the file size of the download specified by index
*
* @param index index of the file to look up
@@ -349,6 +357,14 @@ public:
int getModID(int index) const;
/**
+ * @brief retrieve the nexus category id of the download specified by index
+ *
+ * @param index index of the file to look up
+ * @return the nexus category id
+ */
+ int getCategoryID(int index) const;
+
+ /**
* @brief retrieve the displayable game name of the download specified by the index
*
* @param index index of the file to look up