summaryrefslogtreecommitdiff
path: root/src/downloadmanager.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-08-24 22:50:00 +0200
committerTannin <devnull@localhost>2013-08-24 22:50:00 +0200
commite91eebefbea450a447b44a81dcabcc6ac8000a48 (patch)
tree25a6e1674f859249699d8242b7a611ae9d627890 /src/downloadmanager.h
parent87f4e2df260e502bce61783a66e062af1b46e789 (diff)
- download size is now displayed
- multiple esps/mods can now be enabled/disabled at once using space - bugfix: fomod installer didn't compile because of changes to condition checking - bugfix: broken inverse virtual name resolution in case of non-default mod directory
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