summaryrefslogtreecommitdiff
path: root/src/downloadmanager.h
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2018-05-02 12:38:23 -0500
committerSilarn <jrim@rimpo.org>2018-05-02 12:38:23 -0500
commit168da18aa51868ad3ac908affb55a8aabdba1aed (patch)
tree7ebd21b8936f27b620a6eab72a4eeb19789bed20 /src/downloadmanager.h
parentd62ec9c867b448276ab9873ddd3f320487ab5572 (diff)
Fix MO endorsement check and add game to ModInfo s_ModsByModID
Diffstat (limited to 'src/downloadmanager.h')
-rw-r--r--src/downloadmanager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/downloadmanager.h b/src/downloadmanager.h
index 0ff77011..e1925040 100644
--- a/src/downloadmanager.h
+++ b/src/downloadmanager.h
@@ -289,6 +289,14 @@ public:
int getModID(int index) const;
/**
+ * @brief retrieve the game name of the downlaod specified by the index
+ *
+ * @param index index of the file to look up
+ * @return the game name
+ **/
+ QString getGameName(int index) const;
+
+ /**
* @brief determine if the specified file is supposed to be hidden
* @param index index of the file to look up
* @return true if the specified file is supposed to be hidden