summaryrefslogtreecommitdiff
path: root/src/downloadmanager.h
diff options
context:
space:
mode:
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 4d493085..b4cb2786 100644
--- a/src/downloadmanager.h
+++ b/src/downloadmanager.h
@@ -207,6 +207,14 @@ public:
QString getFileName(int index) const;
/**
+ * @brief retrieve the file size of the download specified by index
+ *
+ * @param index index of the file to look up
+ * @return size of the file (total size during download)
+ */
+ qint64 getFileSize(int index) const;
+
+ /**
* @brief retrieve the current progress of the download specified by index
*
* @param index index of the file to look up