From e91eebefbea450a447b44a81dcabcc6ac8000a48 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sat, 24 Aug 2013 22:50:00 +0200 Subject: - 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 --- src/downloadmanager.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/downloadmanager.h') diff --git a/src/downloadmanager.h b/src/downloadmanager.h index 4d493085..b4cb2786 100644 --- a/src/downloadmanager.h +++ b/src/downloadmanager.h @@ -206,6 +206,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 * -- cgit v1.3.1