summaryrefslogtreecommitdiff
path: root/src/downloadmanager.h
diff options
context:
space:
mode:
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